विजुअल स्टूडियो 2012, TFS 2010, IIS7msdeploy त्रुटि ERROR_USER_UNAUTHORIZED: वेब परिनियोजन कार्य विफल रहा। IIS7, TFS2010, VS2012 का उपयोग कर
का उपयोग करते हुए निम्न त्रुटियों हो रही है जब मैं निर्माण/तैनात करने के लिए प्रयास करें:
Any CPU | Test
1 error(s), 1 warning(s)
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets
(4253): Web deployment task failed. (Connected to the remote computer ("server1") using
the Web Management Service, but could not authorize. Make sure that you are using the
correct user name and password, that the site you are connecting to exists, and that
the credentials represent a user who has permissions to access the site. Learn more
at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.)
*snip warning*
Other Errors and Warnings
2 error(s), 0 warning(s)
Building the projects in this solution one at a time. To enable parallel build, please
add the "/m" switch.
TF270015: 'MSBuild.exe' returned an unexpected exit code. Expected '0'; actual '1'.
- मैं सत्यापित साइट आईआईएस में मौजूद है
- मैं सत्यापित मैं उपयोगकर्ता नाम और पासवर्ड सही (मैं सर्वर पर लॉग इन करने में सक्षम हूँ)
- उपयोगकर्ता TFS सर्वर पर एक व्यवस्थापक है
मैं अपने TFS सर्वर पर VS2012 की जरूरत नहीं है, लेकिन जब कोई आपको अपनी सी की नकल की: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ TFS सर्वर एक समय पहले एक और निर्माण मुद्दे को ठीक करने के लिए v11.0 फ़ोल्डर। मैंने उसी फ़ोल्डर को "server1" में कॉपी किया, त्रुटि संदेश नहीं बदला।
यह अभी भी निर्माण बनाता है, बस की तैनाती नहीं है।
मैं सुझाव दूंगा कि आप एक रिलीज पाइपलाइन बनाने और सीधे निर्माण से तैनात करने की दिशा में आगे बढ़ें। यह अधिक सुरक्षित और दृश्य स्टूडियो के लिए 2013 –