K
kmsuzuki
I have a Windows Server 2003 + IIS6 with both .Net 1.1 and 2.0
installed. In the past, I've had no problems using the ASP.NET tab in
the IIS Manager to specify which framework version a given application
should use.
I created a .Net 1.1 VB.NET web service in Visual Studio.NET 2003. I
built it and then copied it to the web server described above,
specifying in IIS Manager that it should use the 1.1. framework. When
I try to run the app, however, I get the exception below. As you can
see, it is using the 2.0 framework, which makes the exception an
expected one given the changes to System.Configuration in 2.0.
The IIS Manager GUI lets me switch between 1.1 and 2.0 frameworks for
this application all day long, but the settings are not truly applied;
no matter what's specified, IIS always uses 2.0. I've tried various
IIS restart permutations with no success.
I've even gone into the application configuration settings to specify a
specific 1.1 AppPool, but this too had no effect.
I'd appreciate any insight into this.
----------------------
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: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.
installed. In the past, I've had no problems using the ASP.NET tab in
the IIS Manager to specify which framework version a given application
should use.
I created a .Net 1.1 VB.NET web service in Visual Studio.NET 2003. I
built it and then copied it to the web server described above,
specifying in IIS Manager that it should use the 1.1. framework. When
I try to run the app, however, I get the exception below. As you can
see, it is using the 2.0 framework, which makes the exception an
expected one given the changes to System.Configuration in 2.0.
The IIS Manager GUI lets me switch between 1.1 and 2.0 frameworks for
this application all day long, but the settings are not truly applied;
no matter what's specified, IIS always uses 2.0. I've tried various
IIS restart permutations with no success.
I've even gone into the application configuration settings to specify a
specific 1.1 AppPool, but this too had no effect.
I'd appreciate any insight into this.
----------------------
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: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.