Link to home
Start Free TrialLog in
Avatar of LuckyLucks

asked on

crash in visual studio


I have a  crash in visual studio that I am able to capture via devenv.exe to a logfile. What does the error seem to indicate and how can i fix it?

Please see the logfile below.

    <time>2015/06/27 20:41:29.619</time>
    <source>Microsoft Visual Studio</source>
    <description>Loading UI library</description>
    <path>C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\*\msenvui.dll</path>
    <time>2015/06/27 20:41:29.643</time>
    <source>Microsoft Visual Studio</source>
    <description>Error checking App Path</description>
    <hr>80070005 - E_ACCESSDENIED</hr>
Avatar of Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger)
Flag of Canada image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of phoffric

Never saw your problem, so I can only make a WAG about this. My guess is that you do not have access to the file:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\*\msenvui.dll

Try running VS as administrator to see if the E_ACCESSDENIED error goes away.
Looks like after I added zones, and then tried to research your problem, Jacques Bourgeois (James Burger) came to help.
>>C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\*\msenvui.dll

Just another point.  A '*' in a path is not a valid symbol - have you entered this path somewhere yourself.
Avatar of LuckyLucks


I have not entered the * in the path myself. But while i was scouring the web, i looked over other people's crash logs and they seemed to have a * in their paths as well, sometimes to dll other than msenvui.dll

So i suspect that the addition of a * might be a microsoft thing.
Also, on my actual filesystem , I found the msenvui.dll in
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\1033

Also, in

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\1033  (visual studio 2013)
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\1033  (visual studio 2012)

and so on.
So this msenvui.dll seems to be used in other visual studio versions ?
You are right. It also does in 2015.

When I go to look directly in the directory, there it is. But for some reason it does not appear on a search on my C drive, which prompted my first comment.

This being said, did you solve your problem?
When searching for the crash logs - did you find any solutions to the problem?
Also consider running the 'repair' option of the Visual Studio installation.  

ps.  I assume other projects/solutions compile & build without problem.
It seems running as administrator gets rid of the error. But I am surprised that it take Admin powers to get rid of the error in the first place. Generally, people would be running VS as regular users, not admins.