Microsoft Knowledge Base Email Alertz

KBAlertz.com: (821309) - Describes a problem that occurs when you open a solution in Visual Studio .NET 2002. You may receive the Duplicate declaration of member 'Location' error message.

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **


Community Site



We Send hundreds of thousands of emails using ASP.NET Email


ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 821309 - Last Review: May 23, 2007 - Revision: 2.2

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

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'

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://kbalertz.com/Feedback.aspx?kbNumber=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 "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

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.

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://kbalertz.com/Feedback.aspx?kbNumber=824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

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
Keywords: 
kbvs2002sp1fix kbvs2002sp1sweep kbbug kbfix kbqfe kbhotfixserver KB821309
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please