after running appcmd set app "mywebsite/" /applicationPool:"Clr4ClassicAppPool" i attempted to re-run the web app only to find that IISExpress for the mywebsite app would no longer load in IISExpress.
I was able to fix the issue by locating the applicaitonhost.config file in C:\Users\myusername\Documents\IISExpress\config and updating the application pool and setting it to Clr4IntegratedAppPool.
Hope this helps someone out there that runs into the same issue.
<sites>
<site name="WebSite1" id="1" serverAutoStart="true">
<application path="/">
<virtualDirectory path="/" physicalPath="%IIS_SITES_HOME%\WebSite1" />
</application>
<bindings>
<binding protocol="http" bindingInformation=":8080:localhost" />
</bindings>
</site>
<site name="mywebsite" id="2">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Projects\mywebsite" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:56103: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>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With