Error while publishing the web application

4

I am a fresher in vs 2010 and developed a web project. When I hosted directly the project its working fine. When I am trying to publish it not working and giving an error 403

Error   1   Web deployment task failed.
(The metabase path 'http://localhost/webapp/login.aspx' is not supported. 
Paths must be of the format '/lm/w3svc/<siteid>/ROOT/...'.)

The metabase path 'http://localhost/webapp/login.aspx' is not supported. 
Paths must be of the format '/lm/w3svc/<siteid>/ROOT/...'.
The metabase key '/lm/w3svc/1964704031' could not be found.
The system cannot find the path specified. (Exception from HRESULT: 0x80070003)     0   0   WebApplication1

I referred many sites and didn't get any solution for this problem Please anyone help me to solve this issue. My OS is windows server 2003 iis 6.

I have given the Publish method:WebDeploy service url:http://localhost/webapp Site/application:http://localhost/webapp/login.aspx Please help me .Thanks in advance.

asp.net
asked on Stack Overflow Apr 2, 2012 by mahith • edited Apr 2, 2012 by huMpty duMpty

1 Answer

5

Site/application must be your SiteName/YourAppFolder for example like Default Web Site/webapp

answered on Stack Overflow Apr 2, 2012 by Helikaon

User contributions licensed under CC BY-SA 3.0