Deploy sharepoint 2010 event receiver using visual studio 2010 to another server


  • Hi,

    I am trying to deploy a list event receiver that I have written for a sharepoint list to another server and it fails giving the following error:

    Error    3    Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://noucsapp62/. Make sure that this is a valid URL and the SharePoint site is running on the local computer. If you moved this project to a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project.
            0    0    CalendarJob

    My question is how can I deploy to another server if I have visual studio installed on one machine and sharepoint on the other. I do not want to package and deploy as I do not have administrator permissions on the sharepoint server but I am a site collection administrator.

    Is there any way to do this?

    Friday, February 24, 2012 4:57 AM


  • Hi Graham,

    Thanks for your post!

    Deploy a Sharepoint solution directly from Visual Studio is just be used for development and debug purpose and Visual Studio can just deploy the solution to a local Sharepoint.

    To deploy a solution in a another server, you should use wsp file.

    For a farm level solution, this requires farm administrator permission, for more information, please refer to:

    For a sandboxed solution, this require site administrator permission, for more information, please refer to:


    Simon Huang

    TechNet Community Support

    • Marked as answer by Shimin Huang Friday, March 02, 2012 1:54 AM
    Monday, February 27, 2012 7:56 AM

All replies