Answered connect remote Sharepoint with VS 2010

  • viernes, 13 de abril de 2012 12:23
     
     

    Hi,

    i have test sharepoint test environment and also installed VS Studio 2010 ultimate. VS connect to test environment site. 

    my production sharepoint environment is on other domain. when i want to connect my production sharepoint site using test environment  VS studio it fails to connect. 

    Cannot connect to the Sharepoint Site from Visual Studio 2010 ...

    Please how do i connect to remote /production environment sharepoint site from test environment VS Studio 2010 ultimate .

    thx 


    iffi

Todas las respuestas

  • viernes, 13 de abril de 2012 16:33
     
     Respondida
    You can't.  The SharePoint projects in Visual Studio are only designed to deploy on the local server using Visual Studio.  There is no way to deploy them to a remote server.  However, the .WSP solutions created by Visual Studio can be copied to a remote server and deployed using either STSADM or PowerShell. (or by uploading in the case of a sandbox solution).  But the deployment menu only works on the local server.

    Paul Stork SharePoint Server
    MVP Chief SharePoint Architect: Sharesquared
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • viernes, 13 de abril de 2012 18:02
     
     Respondida

    Paul stork is right. I think you are doing little mistake to understanding remote debugging. You can debug your solution which is hosted on IIS OR SP on your local IIS (developing machine) you can attach w3wp worker process for farm solution and spucworker process for sandbox solution to your visual studio to debug.

    you can ask for wsp solution to your production site administrator. 


    http://www.abdulazizfarooqi.wordpress.com BizTalk Developer UBL Transformation

  • lunes, 16 de abril de 2012 10:52
     
     

    Hi,

    i develop solution to update list value after adding item. it working fine on test environment. when i copy .wsp file and add solution to live server site it does not work. solution deploy and activated successfully but no effect when adding item in list. no error.

    difference in test and live site is just site name/ URL difference of site. nothing else. pls tell what could be an issue and how can i deploy this.

    thx.


    iffi

  • lunes, 16 de abril de 2012 11:27
     
     Respondida

    Adding and activating a WSP solution manually won't activate the Site or Web level feature inside the solution like it does when deployed directly from Visual Studio.  Check the scope of your features and make sure you activate them in either the Site Collection or Site Features list under Site Actions > Site Settings.  I'm pretty sure that's why you aren't seeing an effect in your list.


    Paul Stork SharePoint Server
    MVP Chief SharePoint Architect: Sharesquared
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • lunes, 16 de abril de 2012 12:13
     
     

    Hi Paul,

    thx. it worked.


    iffi