Paul Gielens:ThoughtsService

another Endpoint to my thoughts

News

Syndication

Ads


Favorites

Projects

Microsoft.SharePoint.Administration.SPDuplicateObjectException

This (Microsoft.SharePoint.Administration.SPDuplicateObjectException) error sometimes occurs when deploying a Web Part to your ShrarePoint 2007 environment. To solve this error:

  1. Close your solution
  2. Browse to the YourWebPart/bin/Debug/ directory
  3. Run the setup.bat /uninstall /url:http://yourhost

You can then choose to deploy your Web Part using the setup.bat with the /install switch or by opening Visual Studio.NET and right click on your solution and hit deploy.

Comments

No Comments