I am trying to publish /deploy a website application(MVC4 Intranet) using Visual studio 2012 pro, .NET Framework 4.0(IIS 6.0 on remote server) to remote Windows 2003 server.
However two issues, please see the publish settings before reading my issues:
Publish settings: (unable to attach the image hence this..one..)
Publish method: web deploy
service URL: http://cvc0ap06d4/msdeployagentservice
Please always describe what happens exactly rather than just telling it doesn't work. Do you have any kind of client side error message ? Have you checked what is written to the Windows event log ? It's easier to start from an actual issue rather than to guess
about the zillion things that could have gone wrong.
Error:'the URL doesnt work'- I get a page cannot be displayed and no other error messages in specific, currently i am running into few other issues and i cant login to the server and check for event logs.
When i get something i will update my question.
Update as of 12-11-2013:
I will not get access to the development server as an Admin, hence will not be able to publish to see what kind of errors i will get.
I will need to have this implement as a work-around and see how my publish does:
Member
18 Points
44 Posts
Visual studio 2012: Web-deploy doesnt work without admin previleges on remote Server
Dec 10, 2013 09:34 AM|cmynampati|LINK
Hi,
I am trying to publish /deploy a website application(MVC4 Intranet) using Visual studio 2012 pro, .NET Framework 4.0(IIS 6.0 on remote server) to remote Windows 2003 server.
However two issues, please see the publish settings before reading my issues:
Publish settings: (unable to attach the image hence this..one..)
Publish method: web deploy
service URL: http://cvc0ap06d4/msdeployagentservice
site\application: Dev4/AppName
username: network username
password:network password
Destination URL: http://cvc0ap06d4.companyname.com/AppName
----------
Please note that server name (win 2003 remote) : cvc0ap06
My Work bench:d4
----------
Issues---
1. Publish isnt success unless i am an ADMIN on DEV4 (work -bench) on the windows2003 (Development)Server.
Question: Is there a work-around to avoid being an ADMIN or what kind of priveleges should i have to successfully deploy the website.
2. After publish is successful as an admin on the Development server, the URL doesnt work.
Any suggestions on what can be wrong.
Please suggest!
Thank you so much in advance.
-T.M
(New-bee to VS 2012 and .NET 4.0/MVC4)
All-Star
48280 Points
17983 Posts
Re: Visual studio 2012: Web-deploy doesnt work without admin previleges on remote Server
Dec 10, 2013 09:50 AM|PatriceSc|LINK
Hi,
Try http://blogs.iis.net/krolson/archive/2009/11/04/using-iis-manager-accounts-for-web-deployment-tool-msdeploy-delegation.aspx
Please always describe what happens exactly rather than just telling it doesn't work. Do you have any kind of client side error message ? Have you checked what is written to the Windows event log ? It's easier to start from an actual issue rather than to guess about the zillion things that could have gone wrong.Member
18 Points
44 Posts
Re: Visual studio 2012: Web-deploy doesnt work without admin previleges on remote Server
Dec 10, 2013 10:05 AM|cmynampati|LINK
Understood, Agreed!
Error:'the URL doesnt work'- I get a page cannot be displayed and no other error messages in specific, currently i am running into few other issues and i cant login to the server and check for event logs.
When i get something i will update my question.
Update as of 12-11-2013:
I will not get access to the development server as an Admin, hence will not be able to publish to see what kind of errors i will get.
I will need to have this implement as a work-around and see how my publish does:
http://blogs.iis.net/krolson/archive/2009/11/04/using-iis-manager-accounts-for-web-deployment-tool-msdeploy-delegation.aspx
Thanks
TM
=======
Update on this request- I understand this is closed thread.
On the remote server where i am tryng to publish my MVC4 Intranet web application using VS 2012 i do need one of these to be able to publish:
- Need admin previleges on the remote server
-Or
-Need IIS7.0 or above to fix the issue as stated in the link: http://blogs.iis.net/krolson/archive/2009/11/04/using-iis-manager-accounts-for-web-deployment-tool-msdeploy-delegation.aspx