deploying web part to sharepoint server
-
Freitag, 15. Juni 2012 12:09
Hello,
I just created my first web part and success to deploy it to my sharepoint in localhost, however once I tried to deploy it to the production server, I got error:
Cannot connect to the Sharepoint site: http://xxx Make sure that the Site URL is valid, that 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.
But I can browse the sharepoint website for productio in my browser. Anyone can help me to fix this error? Thanks
Alle Antworten
-
Freitag, 15. Juni 2012 13:19
How do you deploy? Maybe there is a Problem with your Site url. stsadm or Powershell?
-
Freitag, 15. Juni 2012 15:49
Hi Francesco,
I deployed it from microsoft visual studio. Is it possible deploy to production server from localhost using visual studio?
-
Samstag, 16. Juni 2012 08:44
Am einfachsten ist es, eine wsp zu erstellen (einfach übersetzen, die wsp steht dann neben der ddl im Ausgabeverzeichnis, z.B. bin). Die wsp wird dann über die Powershell auf dem Prod-Server installiert, z.B. mit add-spsolution.--
Viele Gruesse
Peter- Als Antwort vorgeschlagen Peter FleischerMVP Samstag, 16. Juni 2012 08:51
- Bearbeitet Robert BreitenhoferMicrosoft Contingent Staff, Moderator Mittwoch, 20. Juni 2012 13:44 Formatierung
- Als Antwort markiert Robert BreitenhoferMicrosoft Contingent Staff, Moderator Freitag, 20. Juli 2012 10:24
-
Freitag, 20. Juli 2012 10:24Besitzer
Hallo wapt49,
Ich gehe davon aus, dass die Antwort Dir weitergeholfen hat.
Solltest Du noch "Rückfragen" dazu haben, so gib uns bitte Bescheid.Grüße,
RobertRobert Breitenhofer, MICROSOFT

Bitte haben Sie Verständnis dafür, dass im Rahmen dieses Forums, welches auf dem Community-Prinzip „Entwickler helfen Entwickler“ beruht, kein technischer Support geleistet werden kann oder sonst welche garantierten Maßnahmen seitens Microsoft zugesichert werden können. -
Freitag, 20. Juli 2012 10:51
Es ist nicht möglich von einer Entwicklungsmaschine zu einem produktiven System per Visual Studio zu deployen. Das geht nur auf dem eigenen Rechner (localhost)- Als Antwort vorgeschlagen munchie 'S' Freitag, 20. Juli 2012 10:51
- Als Antwort markiert Robert BreitenhoferMicrosoft Contingent Staff, Moderator Freitag, 20. Juli 2012 11:06

