I am trying to configure two mvc applications in iisexpress, the sites of the applicationhost.config file are shown like this:
<sites>
<site name="WebSite1" id="1" serverAutoStart="true">
<application path="/">
<virtualDirectory path="/Site1" physicalPath="%IIS_SITES_HOME%\WebSite1" />
</application>
<bindings>
<binding protocol="http" bindingInformation=":8080:localhost" />
</bindings>
</site>
<site name="Test1" id="6">
<application path="/site1" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\TheRooster\Desktop\Sitios\Test1\Test1\Test1" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:8000:localhost" />
</bindings>
</site>
<site name="Test2" id="7">
<application path="/site2" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\TheRooster\Desktop\Sitios\Test2\Test2\Test2" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:8000:localhost" />
</bindings>
</site>
<siteDefaults>
<logFile logFormat="W3C" directory="%IIS_USER_HOME%\Logs" />
<traceFailedRequestsLogging directory="%IIS_USER_HOME%\TraceLogFiles" enabled="true" maxLogFileSizeKB="1024" />
</siteDefaults>
<applicationDefaults applicationPool="Clr4IntegratedAppPool" />
<virtualDirectoryDefaults allowSubDirConfig="true" />
</sites>
The problem is that when I load either of the two applications I receive the following error in firefox :
Detailed error information:
IIS Web Core Module
Unknown notification
Controller Not determined yet
Error code 0x80070002
Configuration error Configuration path not recognized 'MACHINE/WEBROOT/ APPHOST/TEST1'
Configuration file
URL requested http://localhost:8000/site2/
Physical path
Login method Not yet determined
Login user Not determined yet
Request tracking directory C:\Users\TheRooster\Documents\IISExpress\TraceLogFiles\
or
Configuration error Configuration path not recognized 'MACHINE/WEBROOT/ APPHOST/TEST2'
The command I use to load everything is:
iisexpress.exe /apppool:Clr4IntegratedAppPool
How do I solve this problem?
User contributions licensed under CC BY-SA 3.0