mbravome
asked on
.NET version conflict?
Hello there,
I have a website developed in ASP .NET 2 running off the root of the default website (IIS 6). I am trying to run an ASP .NET 1.4 inside the same website but when I run it, I get the error:
"Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized attribute 'xmlns'.
Source Error:
Line 8: \Windows\Microsoft.Net\Fra mework\v2. x\Config
Line 9: -->
Line 10: <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 11: <appSettings/>
Line 12:
Source File: c:\inetpub\wwwroot\web.con fig Line: 10"
This is the web.config file that resides on the root of the default website and belongs to the default website. Why my application reads this file instead of its own. The app resides in a folder off of the default website root.
I'd like to know if having the 1.4 app inside a 2.0 website will not work in IIS 6 will not work.
Thanks so much!
Mao
I have a website developed in ASP .NET 2 running off the root of the default website (IIS 6). I am trying to run an ASP .NET 1.4 inside the same website but when I run it, I get the error:
"Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized attribute 'xmlns'.
Source Error:
Line 8: \Windows\Microsoft.Net\Fra
Line 9: -->
Line 10: <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 11: <appSettings/>
Line 12:
Source File: c:\inetpub\wwwroot\web.con
This is the web.config file that resides on the root of the default website and belongs to the default website. Why my application reads this file instead of its own. The app resides in a folder off of the default website root.
I'd like to know if having the 1.4 app inside a 2.0 website will not work in IIS 6 will not work.
Thanks so much!
Mao
You should be able to run both. Trying changing the ASP.NET version to the older version. In the Web application properties window you'll see an ASP.NET tab, and if you have multiple versions of the runtime installed you can choose which version to use for which Web application.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I am fine with the split, but think my first comment is more releavant than the second one which is only a link.
There is 1.1 and 2.0
Regardless, you CANNOT run them on the same application pool. You need separate application pools to run different versions of .NET