Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

when i try to deploy the project from VS 2010 i get this below error....

Error occurred in deployment step 'Recycle IIS Application Pool': The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm

share|improve this question
    
You should try to run Visual Studio as Administrator. –  Alex Lee Mar 3 at 7:25

2 Answers 2

up vote 1 down vote accepted

I actually got this error today. I was using the CKSDEV plug-in for Visual Studio and trying to deploy my dll to the GAC. The project was developed on my machine and I was working on integrating it with a developer's code on another machine.

In this situation, the "Site" property for the project did not reference a site on this particular server. I set the site property to the proper location and the project deployed without issue.

Project Properties Window

share|improve this answer
    
Hi Rich, could you give me the step by step, i am new to this SP –  Abu Hamzah Aug 30 '11 at 13:21
    
@Abu - sure this is easy once you see it, but tricky the first time. In the Solution Explorer, highlight your project by just clicking on it once. From the View menu, select the Properties Window. In the Properties Window, there is a property for Site URL. Make sure this points to a site that exists on this machine. I'll add a picture to the answer above. –  Rich Ross Aug 30 '11 at 14:09
    
I am following all above step but i get the following error: > An object in the SharePoint administrative framework, > "SPSolutionLanguagePack Name=0 ", depends on other objects which do > not exist. Ensure that all of the objects dependencies are created > and retry this operation –  user10979 Sep 26 '12 at 19:07

Make sure that the user you are running the Visual Studio with is part of the db_owner group on the sharepoint_admin and sharepoint_config databases in SQL Server.

Check this for more details:

http://www.sharemuch.com/2010/03/19/resolving-vs-2010-solution-deployment-issues-for-sharepoint-2010-projects/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.