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

Article ID: 2635973 - View products that this article applies to.
Notice
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.


Expand all | Collapse all

On This Page

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.

CAUSE

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

RESOLUTION

Update information

The update that resolves this issue is available from the following Microsoft Download Center website:
Collapse this imageExpand this image
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.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Microsoft.visualstudio.design.dll10.0.40219.333722,29616-Jul-201100:22x86

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.

STATUS

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

Properties

Article ID: 2635973 - Last Review: January 27, 2012 - Revision: 2.0
APPLIES TO
  • Microsoft Visual Studio 2010 Service Pack 1, when used with:
    • Microsoft Visual Studio 2010 Premium
    • Microsoft Visual Studio 2010 Professional
    • Microsoft Visual Studio 2010 Remote Debugger
    • Microsoft Visual Studio 2010 Shell (Integrated)
    • Microsoft Visual Studio 2010 Shell (Isolated)
    • Microsoft Visual Studio 2010 Software Development Kit
    • Microsoft Visual Studio 2010 Ultimate
Keywords: 
kbqfe kbfix atdownload kbexpertiseadvanced kbsurveynew kberrmsg KB2635973

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com