I have my main app at c:\\inetpub\\wwwroot\\
. I've created a separate application, and put it at c:\\inetpub\\subapp
. I'd like to set it up so that if I visit http://www.mysite.com/subapp , it will run my subapp application.
I went into IIS, right-clicked on Default Web Site, and clicked Add Application. I set the physical path to my subapp, and tested it, but I got an error saying "Invalid application path"
Am I doing something wrong here, am I not adding the application correctly?
Put it in c:\\inetpub\\wwwroot\\subapp\\
.
In IIS Management Console, right click the Default Web Site node and choose Refresh. You should see your site in a folder beneath there.
You can then right click on it and choose Convert to Application
.
Select "Connect as..." and select user that is part of "IIS_IUSRS" group.
Then "Test Settings..." again - that should work.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.