Last post Mar 26, 2013 01:16 PM by HostingASPNet
Mar 26, 2013 01:06 PM|Jason20Ming|LINK
I created a web site, using AppPool "default" with ASP.NET 2.0 runtime.
Now I created a virutal directory, using AppPool "MVC4" with ASP.NET 4.0 runtime.
When I deploy the application to the viruatl directory, an exception was thrown telling me the something like "the attribtue compileVersion is 4.0 ........."
Is it any problem that using different CLR verion in virtual directory even using different AppPool ?
Mar 26, 2013 01:16 PM|HostingASPNet|LINK
Yes, because you have nested web.config files. It will be much better to use subdomain than virtual folder.