Visual Studio 2010 crashes after install WDK 7.1

Today my Visual Studio 2010 started behaving oddly. After I launched it and opened a project, it would display an error message when I tried to edit something:

Visual Studio has encountered an exception. This may be caused by an extension.

The error message dialog also suggests launching VS2010 with “/Log” option and check ActivilityLog.xml in user’s roaming profile folder. I didn’t bother trying that and started Google search immediately. The answer is in the first page of result: http://connect.microsoft.com/VisualStudio/feedback/details/546369/

It looks like WDK 7.1 was to be blamed. I did install WDK 7.1 yesterday and the first attempt did fail and it rolled back, I though it was due to I had document helper opened at the time, I tried install it the second time and it succeeded. Apparently WDK 7.1 installer emptied default value of following registry location:

On 32-Bit Windows: [HKEY_CLASSES_ROOT\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32]
On 64-Bit Windows: [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32]

The fix was to put its correct value back in:

On 32-Bit Windows: “C:\Program Files\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll”
On 64-Bit Windows: “C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll”

Or re-register TextMgrP.dll using regsrv32.exe.

Advertisements

Posted on January 15, 2013, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: