Click here to Skip to main content
15,886,639 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I tried to deploy an asp.net project but not successful this time. My procedure is below:
1) Build the project in VS 2010 and the click Publish Web Site.
2) In the Publish Web Site, the Target path is: http://localhost/GISPages. The Allow this ... is checked as default. Then I click the OK button.
3) Open II6 Manager. Right-click the project published and then click Convert to Application to open the Add Application wizard. In this wizard, the Pyysical Path: C:\inetpub\wwwroot\GISPages (actually its south is at L:\...\GISPages\, but it's grayed out)
When I click the Test settings..., I receive Error:
There awa an error while performing this operation. Details: Invalid application path.
I searched but found no effective solution. Hopefully, you can provide me the idea how to fix it. Thanks in advance.
Posted

1 solution

While Publishing, select Publish method as File System.
Then select the Folder, where you want to Publish the changes.

Now in IIS, do as you are doing, but select the Published Folder while selecting the Physical path of application.

For more - How to: Deploy a Web Application Project Using One-Click Publish Without Web Deploy[^]
 
Share this answer
 
v2
Comments
[no name] 14-Feb-14 13:44pm    
Tadit: In VS 2010 my project, there is only Publish Web Site... but there is not other publish option. In IIS6, I choose Add Application. In the Physical Path, I changed it to L:\GIS\...\myPages, but still got the same error: Invalid application path.
The approach in http://msdn.microsoft.com/en-us/library/dd434211%28v=vs.100%29.aspx does not work for me since the Solution Properties page displays differently from the one as shown in the website. Any hint? Thanks.
Besides, Using the same procedure, I deployed 1 page before successfully.
Did you check Project Properties, not the Solution Properties?
Some guys are suggesting to ignore this error. Does you application run if you ignore this.
[no name] 14-Feb-14 14:28pm    
Did check the project Properties, which is different from other normal applications. I plan to make a new one. Thanks.
Okay. Good. :)
[no name] 14-Feb-14 14:05pm    
I guess I have to re-create a new application project overcome the problems I have. Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900