Running a .net 4.0 application under a 2.0 site in IIS -


i have iis "site" set app pool uses .net 2.0. have added .net "application" site requires .net 4.0.

i set app pool specific site use .net 4.0 when 500 error error code: 0x800700c1

can this? or trying impossible?

notes: wanted refrain changing app pool of whole iis site use .net 4.0 because there lot of code tested if do. can't add separate site entirely because run cross origin issues.

update: if set both app pool under .net 4 same error. have use same app pool both site , sub-app. feel should not requirement.

i changed enable 32-bit applications true application pool .net 4 sub-app , worked while keeping parent site app pool of .net 2.

haven't tested it, far works.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -