Link to home
Create AccountLog in
Avatar of Peter Chan
Peter ChanFlag for Hong Kong

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
Avatar of Gautham Janardhan
Gautham Janardhan

what is the port vs2012 is running in try this instead

Service url: http://machinname:portvs2012runningon
Site/application: vs2012/Start
Avatar of Peter Chan

ASKER

Gauthampj,
I have such 'Site bindings' (in the attached) for VS2012
t416.png
ASKER CERTIFIED SOLUTION
Avatar of Gautham Janardhan
Gautham Janardhan

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
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
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
Thanks