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>
C++Microsoft Applications.NET Programming

Avatar of undefined
Last Comment

8/22/2022 - Mon
Jacques Bourgeois (James Burger)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

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.
Your help has saved me hundreds of hours of internet surfing.

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 ?
Jacques Bourgeois (James Burger)

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?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

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.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.