PDA

View Full Version : Help with authorization


highimpacta
05-13-2010, 09:55 PM
Hi all,
I apologize if this has been asked before. It has been awhile since I have deployed using IIS. I am trying to deploy an MVC2 app. I have my ASP.NET version set to 4.0 I have a user with read/write access to root. I have the same user granted Microsoft IIS Manager access. I followed the tutorial on http://www.dasptv.com/avc-view.aspx?videoid=24&categoryid=0. When I publish I get the following message:

Error 1 Web deployment task failed.(Remote agent (URL https://web708.discountasp.net:8172/MsDeploy.axd?site=http:) could not be contacted. Make sure the remote agent service is installed and started on the target computer.)
Make sure the site name, user name, and password are correct. If the issue is not resolved, please contact your local or server administrator.
Error details:
Remote agent (URL https://web708.discountasp.net:8172/MsDeploy.axd?site=http:) could not be contacted. Make sure the remote agent service is installed and started on the target computer.
An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected.
The remote server returned an error: (401) Unauthorized. 0 0 Bombay

I am not sure what to do. Am I missing setting up a permission somewhere? Any help is greatly appreciated.

Ramses
05-14-2010, 06:03 AM
What are you putting in the Site/Application field?

We also have a KB shown here:

http://support.discountasp.net/KB/a792/how-do-i-deploy-visual-studio-2010-web-application.aspx

highimpacta
05-15-2010, 02:01 PM
Currently I do not have a pointer to the real site that the app will be on so I am putting:

http://highimpacta.web708.discountasp.net/Bombay

which is the Discountasp.net Alternative URL. I am adding the Bombay part instead of app1 in the example.

This is what I am putting into the Site/Application field. Is this incorrect?

Thanks

Ramses
05-20-2010, 06:26 AM
Even if you're using the alternate URL for testing, you'll need to point the hosting accounts domain name on it. This is just for deploying, and once you've uploaded it you can continue to use the alternate URL.