Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: "0xC0000005" error when you open a Visual Studio solution in a localized version of Visual Studio 2010 SP1


View products that this article applies to.

Not sure if this is the right fix? We've added this issue to our memory dump diagnostic which can confirm.

↑ Back to the top


This update supersedes the update to Visual Studio 2010 SP1 that was included in Microsoft Knowledge Base article 2547352. It addresses an error that was introduced by KB2547352 where users receive the following error message when building an assembly: 

Unable to copy file "[filepath].exe" to "[filepath].exe". The process cannot access the file '[filepath].exe' because it is being used by another process.


↑ Back to the top


Symptoms

When you open a Microsoft Visual Studio solution in a localized version of Microsoft Visual Studio 2010 Service Pack 1 (SP1), Visual Studio might crash. Additionally, a Dr.Watson error (0xC0000005) that has the following Blamed Symbol value is generated if Visual Studio crashes:
MICROSOFT.VISUALSTUDIO.DESIGN.NI.DLL!Microsoft.VisualStudio.Design.VSTypeResolutionService.get_References.

↑ Back to the top


Cause

This issue occurs because of a synchronization error in the design surface of Visual Studio 2010 SP1.

↑ Back to the top


Resolution

Update information

The update that resolves this issue is available from the following Microsoft Download Center website:
Download Download the package now.
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
 

Prerequisites

To apply this update, you must have Visual Studio 2010 SP1 installed.
 

Restart requirement

You have to restart the computer after you apply this update if Visual Studio is running.
 

File information

The global version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File name File version File size Date Time Platform
Microsoft.visualstudio.design.dll 10.0.40219.333 722,296 16-Jul-2011 00:22 x86

↑ Back to the top


Workaround

To work around this issue, delete the Visual Studio Solution User Options file for the solution.

To do this, follow these steps:
  1. In Microsoft Windows Explorer, locate the folder that contains the solution files.
  2. Delete the MySolution.suo file.

    Notes
    • MySolution is a placeholder for the name of the solution.
    • The Visual Studio Solution User Options file has the .suo file name extension.
    • The MySolution.suo file is a hidden file.

    Important When you delete the MySolution.suo file, the following information for the solution is deleted:
    • Breakpoints
    • Bookmarks
    • Other user settings
  3. Reopen the solution in Visual Studio 2010 SP1.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: kb, kbmdd, kbqfe, kbfix, atdownload, kbexpertiseadvanced, kbsurveynew, kberrmsg

↑ Back to the top

Article Info
Article ID : 2635973
Revision : 4
Created on : 11/7/2018
Published on : 11/7/2018
Exists online : False
Views : 353