locked
Visual Studio 2010: Cannot Add SharePoint Connection RRS feed

  • Question

  • Hi, Visual Studio 2010 is installed in my local computer. We have WSS 3.0 installed on a hosted server. I cannot add a SharePoint connection. I get this message: "To interact with SharePoint projects in Visual Studio, your system user account must have administrator privileges." Please advise. Thanks!
    Anton Dy SharePoint & Web Services
    Wednesday, January 5, 2011 2:57 PM

Answers

  • The Visual Studio 2010 projects only work when VS 2010 is installed directly on the physical server.  You can still use VS2010 to create SharePoint code on a remote machine, but the built in projects with debugging only work in a local environment.

    Take a look at the following link that details the requirements:

    http://msdn.microsoft.com/en-us/library/ee231582.aspx


    Paul Stork SharePoint Server MVP

    • Proposed as answer by shyjumohan Thursday, January 6, 2011 4:25 AM
    • Marked as answer by Anton Dy Thursday, January 6, 2011 3:40 PM
    Wednesday, January 5, 2011 3:23 PM
  • >  Besides, you'd better not use the Visual Studio 2010 to develop project for SharePoint2007.

    While VS 2010 is of the same generation as the SP 2010 products, unlike SPD 2010 which works only with SP 2010, VS 2010 does work with SP 2007 products like WSS 3.0.

    So whereas I personally would prefer to use VS 2008 with SP 2007 products because everything matches, there is nothing inherently wrong in the poster using VS 2010 with WSS 3.0, provided he is aware that some of the functionality in VS 2010 will not work with WSS 3.0.

    > It seems that the Visual Studio 2010 works well with SharePoint2010, instead of SharePoint 2007. 

    I don't think it is very helpful to answer a post in a pre-2010 forum about a pre-2010 product with in effect a suggestion to use SP 2010.

     

    Later Note to people wondering about the quotes above. The poster later deleted his post.


    SP 2010 "FAQ" (mainly useful links): http://wssv4faq.mindsharp.com/default.aspx
    WSS3/MOSS FAQ (FAQ and Links) http://wssv3faq.mindsharp.com/default.aspx
    Both also have links to extensive book lists and to (free) on-line chapters
    • Marked as answer by Anton Dy Thursday, January 6, 2011 3:41 PM
    • Edited by Mike Walsh FIN Thursday, January 6, 2011 5:06 PM Later Note added.
    Thursday, January 6, 2011 7:32 AM

All replies

  • The Visual Studio 2010 projects only work when VS 2010 is installed directly on the physical server.  You can still use VS2010 to create SharePoint code on a remote machine, but the built in projects with debugging only work in a local environment.

    Take a look at the following link that details the requirements:

    http://msdn.microsoft.com/en-us/library/ee231582.aspx


    Paul Stork SharePoint Server MVP

    • Proposed as answer by shyjumohan Thursday, January 6, 2011 4:25 AM
    • Marked as answer by Anton Dy Thursday, January 6, 2011 3:40 PM
    Wednesday, January 5, 2011 3:23 PM
  • >  Besides, you'd better not use the Visual Studio 2010 to develop project for SharePoint2007.

    While VS 2010 is of the same generation as the SP 2010 products, unlike SPD 2010 which works only with SP 2010, VS 2010 does work with SP 2007 products like WSS 3.0.

    So whereas I personally would prefer to use VS 2008 with SP 2007 products because everything matches, there is nothing inherently wrong in the poster using VS 2010 with WSS 3.0, provided he is aware that some of the functionality in VS 2010 will not work with WSS 3.0.

    > It seems that the Visual Studio 2010 works well with SharePoint2010, instead of SharePoint 2007. 

    I don't think it is very helpful to answer a post in a pre-2010 forum about a pre-2010 product with in effect a suggestion to use SP 2010.

     

    Later Note to people wondering about the quotes above. The poster later deleted his post.


    SP 2010 "FAQ" (mainly useful links): http://wssv4faq.mindsharp.com/default.aspx
    WSS3/MOSS FAQ (FAQ and Links) http://wssv3faq.mindsharp.com/default.aspx
    Both also have links to extensive book lists and to (free) on-line chapters
    • Marked as answer by Anton Dy Thursday, January 6, 2011 3:41 PM
    • Edited by Mike Walsh FIN Thursday, January 6, 2011 5:06 PM Later Note added.
    Thursday, January 6, 2011 7:32 AM