« Previous Next »

Thread: 'Requested registry access is not allowed' running WPI

Last post 07-23-2009 11:23 PM by richma. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 07-23-2009, 5:00 PM

    'Requested registry access is not allowed' running WPI

    Hi,

    I am using Vista Business x64 SP2.

    Every time i try to run the web platform installer i get the error message "Requested registry access is not allowed"  I checked the logs and here is what I see:

     --------------------------------------------------------

     DownloadManager Information: 0 : Loading product xml from 'https://go.microsoft.com/fwlink/?LinkId=156093'
    DownloadManager Error: 0 : Error loading downloaded product file: 'System.Security.SecurityException: Requested registry access is not allowed.
       at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
       at Microsoft.Web.PlatformInstaller.DiscoveryHintRegistry.IsInstalled()
       at Microsoft.Web.PlatformInstaller.DiscoveryHintLogicalOr.IsInstalled()
       at Microsoft.Web.PlatformInstaller.ProductManager.GetGroupItems(Grouping grouping)
       at Microsoft.Web.PlatformInstaller.GroupTab.ResolveproductIds()
       at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXmlInternal(LineInfoDocument xmlDoc)
       at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile)
       at Microsoft.Web.PlatformInstaller.ProductManager.LoadProductsFromServer(Uri productFileUrl, String cacheName)
    The Zone of the assembly that failed was:
    MyComputer'
    DownloadManager Error: 0 : Error loading product file: System.Security.SecurityException: Requested registry access is not allowed.
       at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
       at Microsoft.Web.PlatformInstaller.DiscoveryHintRegistry.IsInstalled()
       at Microsoft.Web.PlatformInstaller.DiscoveryHintLogicalOr.IsInstalled()
       at Microsoft.Web.PlatformInstaller.ProductManager.GetGroupItems(Grouping grouping)
       at Microsoft.Web.PlatformInstaller.GroupTab.ResolveproductIds()
       at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXmlInternal(LineInfoDocument xmlDoc)
       at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile)
       at Microsoft.Web.PlatformInstaller.ProductManager.LoadProductsFromServer(Uri productFileUrl, String cacheName)
       at Microsoft.Web.PlatformInstaller.ProductService.LoadProducts()
    The Zone of the assembly that failed was:
    MyComputer

    --------------------------------------------------------------------------

     I have searched and  can't even find anyone with the same problem.

     Can anyone help?

     Thanks

  • 07-23-2009, 11:23 PM In reply to

    • richma
    • Top 25 Contributor
    • Joined on 04-06-2009, 12:10 PM
    • Posts 371

    Re: 'Requested registry access is not allowed' running WPI

    Hi Treylok23

    You are being denied access to the registry which I suspect is either due to missing rights or perhaps UAC in Vista.

    The following provides steps to disable UAC which we do not recommend as a full time resolution but for testing you can try this.

     http://blogs.msdn.com/tims/archive/2006/09/20/763275.aspx

    For permissions issues run  ProcessMonitor while testing the installation.  This has built in registry auditing and will help you identify any access denieds..  If you are not familair with this tool it logs alot of data quickly so you will want to start it , test your installation and stop the logging as soon as possible. CTRL-E can be used to toggle the tracing. Then use EDIT>>FIND and search for DENIED.

    Process Monitor : http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

     

     

Page 1 of 1 (2 items)
Microsoft Communities