crash in visual studio

LuckyLucks
LuckyLucks used Ask the Experts™
on
Hi

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.

<entry>
    <record>9</record>
    <time>2015/06/27 20:41:29.619</time>
    <type>Information</type>
    <source>Microsoft Visual Studio</source>
    <description>Loading UI library</description>
    <guid>{DA9GH541-C724-11D0-AE1F-00A0C90FFGC3}</guid>
    <path>C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\*\msenvui.dll</path>
  </entry>
  <entry>
    <record>10</record>
    <time>2015/06/27 20:41:29.643</time>
    <type>Error</type>
    <source>Microsoft Visual Studio</source>
    <description>Error checking App Path</description>
    <hr>80070005 - E_ACCESSDENIED</hr>
  </entry>
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015
Commented:
E_ACCESSDENIED indicates that the system is trying to access a directory that is not accessible for the current user, probably one of the sub directories under C:\Program Files (x86)\Microsoft Visual Studio 9.0.

You might try running Visual Studio as an administrator.

Or check the security configuration of the directories and files under C:\Program Files (x86)\Microsoft Visual Studio 9.0, since from the first part of the log, it seems to be where the thing is looking.

Unfortunately, I do not have VS9 anymore, and newer versions do not use this dll, so I cannot tell you exactly in which directory it is located.
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.
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

AndyAinscowFreelance programmer / Consultant

Commented:
>>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.

Author

Commented:
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.

Author

Commented:
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 ?
Top Expert 2015

Commented:
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?
AndyAinscowFreelance programmer / Consultant

Commented:
When searching for the crash logs - did you find any solutions to the problem?
AndyAinscowFreelance programmer / Consultant

Commented:
Also consider running the 'repair' option of the Visual Studio installation.  

ps.  I assume other projects/solutions compile & build without problem.

Author

Commented:
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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial