Friday, February 24, 2012 4:57 AM
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 5:02 AM
Simply copy the solution package which is in the debug/bin or release/bin folder of your project and copy it to the SharePoint server.
There you can deploy the wsp(solution package) using powershell.
If my post solves your problem could you mark the post as Answered or Vote As Helpful if my post has been helpful for you.
Friday, February 24, 2012 7:18 AM
In your case, you can gor for SandBox solutions. You can create your event handler inside a sandbox soln in visual studio. This also produces WSP inside your bin folder. This can be deployed by a site collection admin from a remote machine.
Following link will help you in developing, deploying sandbox solutions,
Monday, February 27, 2012 7:56 AM
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:
TechNet Community Support
- Marked As Answer by Shimin Huang Friday, March 02, 2012 1:54 AM