locked
E_ACCESSDENIED when loading HTML file into Blend

Toate mesajele

  • This is the error I get in the designer. UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    Have reinstalled twice and still won't work.  Anybody know how to solve this?

    Thanks,

    5 aprilie 2012 19:37
  • Is there a trick to get the designer in Blend for Visual Studio 11 to work.  It shows no project stuff or any html designs when imported from Visual Studio.  Have reinstalled several times.

    6 aprilie 2012 23:44
  • The problem is with Blend Html not xaml.
    9 aprilie 2012 21:51
  • Maybe more information would help.

    How are you launching Blend?  From within Visual Studio or stand alone?

    Are you using the Express version of Visual Studio and the Blend that was installed with it or the Beta versions of the full Visual Studio and Blend 5?

    What error message are you seeing and when do you see it?

    9 aprilie 2012 22:01
  • Launching from Visual Studio Express Version.

    UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

       at Microsoft.Expression.WebPlatform.Interop.WebHostProxy.Create(WwaClientHost wwaClientHost, IAppActivator appActivator, String baseUrl, String domMutationEventName, String runtimeErrorsEventName)
       at Microsoft.Expression.WebPlatform.InstanceBuilders.HtmlInstanceManager.EnsureWebHostProxy(Boolean shouldRestartProxy)

    9 aprilie 2012 23:38
  • Hello,

    could you check the following folders - C:\Program Files (x86)\Windows Kits and C:\Program Files (x86)\Reference Assemblies, right click on each folder, select properties, go to the security tab, is the local user ALL APPLICATION PACKAGES part of the list for each folder?

    we might want to run procmon http://technet.microsoft.com/en-us/sysinternals/bb896645 to see if it is a file or registry resource where we are getting access denied.  Run process monitor and repro the UnauthorizedAccessException, go back process monitor and select File | capture events to turn off capturing events, then search for access denied in the events that it captured.

    Is this an upgrade scenario where Windows 7 was on the box at one point before you installed windows 8?

    much appreciated,

    mike

    10 aprilie 2012 19:58
  • Checked the two directories and  All application packages show up.  Windows 7 is on the box .
    10 aprilie 2012 22:06
  • Did you get a chance to get a procmon log as described above?  If you did get the log, could, you send it to mikewong at microsoft.com.

    much appreciated

    mike

    11 aprilie 2012 20:30
  • Any solution. I am having the same problem. The designer in Visual studio is showing the unauthorized exception.
    17 aprilie 2012 18:35
  • Hi Leoly,

    Could you run procmon http://technet.microsoft.com/en-us/sysinternals/bb896645 to see if it is a file or registry resource where we are getting access denied.  Run process monitor and repro the UnauthorizedAccessException, go back process monitor and select File | capture events to turn off capturing events, then search for access denied in the events that it captured.  If you need help interpreting the log, you can save it and send the log out to mikewong at microsoft.com.

    thanks!

    mike

    19 aprilie 2012 00:51