Peter Chan
asked on
Problem to publish the project
Hi,
I created one more site below (see attached file) like for deploying VS 2012 projects
and then deploy the project using these
Service url: http://vs2012
Site/application: vs2012/Start
but I then get this error. Why?
Error 1 Web deployment task failed. (Could not connect to the remote computer ("vs2012"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Deployment Agent Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.) 0 0 Start
t409.png
I created one more site below (see attached file) like for deploying VS 2012 projects
and then deploy the project using these
Service url: http://vs2012
Site/application: vs2012/Start
but I then get this error. Why?
Error 1 Web deployment task failed. (Could not connect to the remote computer ("vs2012"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Deployment Agent Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.) 0 0 Start
t409.png
hi
bellow url given some idea config on inetmgr
http://stackoverflow.com/questions/4428562/msdeploy-web-deploy-failing-with-401-auth-issues
bellow url given some idea config on inetmgr
http://stackoverflow.com/questions/4428562/msdeploy-web-deploy-failing-with-401-auth-issues
ASKER
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Here I've just retried to publish it (see attached)
but I still get this
Error 1 Web deployment task failed. (The application pool that you are trying to use has the 'managedRuntimeVersion' property set to 'v2.0'. This application requires 'v4.0'. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_APPPOOL_VERSION_MISMATCH.) 0 0 Start
t420.png
but I still get this
Error 1 Web deployment task failed. (The application pool that you are trying to use has the 'managedRuntimeVersion' property set to 'v2.0'. This application requires 'v4.0'. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_APPPOOL_VERSION_MISMATCH.) 0 0 Start
t420.png
this means the original error is fixed and the connection is going thru but the application pool of the new website you created need to use .net version 4.0, by default this will be 2.0
ASKER
Thanks
Service url: http://machinname:portvs2012runningon
Site/application: vs2012/Start