E_ACCESSDENIED when loading HTML file into Blend
Locked
-
Monday, April 09, 2012 9:53 PMWhat do you do if the Blend designer has an error and will not display any html.
- Edited by Rob CaplanMicrosoft Employee, Moderator Tuesday, April 10, 2012 12:56 AM updated title. original: "Blend Designer has access error"
All Replies
-
Thursday, April 05, 2012 7:37 PM
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,
- Moved by Rob CaplanMicrosoft Employee, Moderator Thursday, April 05, 2012 10:15 PM (From:Building Metro style apps with HTML5/JavaScript)
- Merged by Rob CaplanMicrosoft Employee, Moderator Tuesday, April 10, 2012 12:54 AM duplicate
-
Friday, April 06, 2012 1:23 AM
Hi,
Can you please try the suggested work-around:
-Navit Saxena
-
Friday, April 06, 2012 11:44 PM
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.
- Moved by Jeff SandersMicrosoft Employee, Moderator Monday, April 09, 2012 6:40 PM (From:UI Design for Metro style apps)
- Merged by Rob CaplanMicrosoft Employee, Moderator Tuesday, April 10, 2012 12:53 AM duplicate
-
Monday, April 09, 2012 9:51 PMThe problem is with Blend Html not xaml.
-
Monday, April 09, 2012 10:01 PM
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?
-
Monday, April 09, 2012 11:38 PM
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) -
Tuesday, April 10, 2012 7:58 PMModerator
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
-
Tuesday, April 10, 2012 10:06 PMChecked the two directories and All application packages show up. Windows 7 is on the box .
-
Wednesday, April 11, 2012 8:30 PMModerator
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
-
Tuesday, April 17, 2012 6:35 PMAny solution. I am having the same problem. The designer in Visual studio is showing the unauthorized exception.
-
Thursday, April 19, 2012 12:51 AMModerator
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


