Help and Support
 

powered byLive Search

FIX: You receive the "Duplicate declaration of member 'location'" error message in Visual Studio .NET 2002

Article ID:821309
Last Review:May 23, 2007
Revision:2.2
On This Page

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'

Back to the top

RESOLUTION

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 (http://support.microsoft.com/kb/837234/) List of bugs that are fixed in Visual Studio .NET 2002 Service Pack 1

Back to the top

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

Back to the top

WORKAROUND

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

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

The placeholder MySolution is the name of your solution.
3.Reopen the solution in Visual Studio .NET 2002.
Note The MySolution.suo file is a hidden file. If you delete this file, the following are lost:
Breakpoints
Bookmarks
Other user settings

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. This problem was first corrected in Visual Studio .NET 2002 Service Pack 1.

Back to the top

REFERENCES

For additional information about file types and file name extensions in Visual Studio .NET, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/xhkhh4zs(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/xhkhh4zs(vs.71).aspx)
For more information about the terminology that is used to describe Microsoft product updates, click the following article number to view the article in the Microsoft Knowledge Base:
824684 (http://support.microsoft.com/kb/824684/) Description of the standard terminology that is used to describe Microsoft software updates

Back to the top


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

Back to the top

Keywords: 
kbvs2002sp1fix kbvs2002sp1sweep kbbug kbfix kbqfe kbhotfixserver KB821309

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.