Microsoft KB Archive/821309

= FIX: You receive the &quot;Duplicate declaration of member 'location'&quot; error message in Visual Studio .NET 2002 =

Article ID: 821309

Article Last Modified on 5/23/2007

-

APPLIES TO


 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Academic Edition

-



SYMPTOMS
When you open a solution in Microsoft Visual Studio .NET 2002, you may receive the following error message:

An error occurred while loading the document. Fix the error, and then try loading the document again. The error message follows:

Duplicate declaration of member 'Location'



Service pack information
To resolve this problem, obtain the latest service pack for Microsoft Visual Studio .NET. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

837234 List of bugs that are fixed in Visual Studio .NET 2002 Service Pack 1

Hotfix information
Note The supported hotfix is for the Japanese (JPN) version only. If you require a version other than the JPN version, contact Microsoft Product Support Services



WORKAROUND
To work around this problem, delete the Visual Studio Solution User Options file. To do this, follow these steps.

Note The &quot;Visual Studio Solution User Options&quot; file has an .suo file name extension.
 * 1) In Microsoft Windows Explorer, locate the folder that contains the solution files.
 * 2) Delete the  .suo file.

The placeholder  is the name of your solution.
 * 1) Reopen the solution in Visual Studio .NET 2002.

Note The .suo file is a hidden file. If you delete this file, the following are lost:
 * Breakpoints
 * Bookmarks
 * Other user settings



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Visual Studio .NET 2002 Service Pack 1.

