Sorry about the long title, I used this title on purpose so people searching for it, can find the article easier.

So what is causing this and how do we fix it ?

 

Cause:

Cause seems to be related to lack of a user profile association with user account, which causes a null pointer exception in .NET Runtime. This crashes the current running .net app with this event log in event viewer

Event_Viewer

Not much info provided is it ?

For more information about what causes this issue take a look at http://support.microsoft.com/kb/913384 

 

Solution

So what can you do about this. Well after hours of searching around you have 2 options

Option number 1:

If you running windows xp,2003 and above (not including vista ) and are using visual studio 2005 only and really don’t want to install .net 3.0 or .net 305 then you need to download and apply this hotfix by Microsoft

KB913384 Access violation error for a .NET Framework 2.0 application

Option Number 2:

However if you are getting the exact error above with .net runtime version ending in 2.0.50727.3053 or higher, then most likely you are  running .net 3.0 or higher.

The above hotfix doesn’t work with .net 3.0 or higher, since I believe Microsoft has included this fixed this in their 3.0 and above releases.

Well you might ask if they have fixed this why am I getting this error.

The problem seems to be related  Microsoft .NET Framework 2.0 sp1. Go to Control panel -> Programs and Features and look to see if you have Microsoft .NET Framework 2.0 sp1 listed , if you do, uninstall it, 3.5 installation includes .net sp2 upgrade so there is no need for sp1

This should fix your problem, it worked on my machine smile_wink

Hopefully this will be of some help to people out there who are having the same issue and are going crazy like me, Please leave comments and let me know if this has worked for you or not

 

Cheers guys,

Amir

Leave a Reply