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.Configur ation 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 ='MachineToAppl ication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42;
ASP.NET Version:2.0.507 27.42 2 1446
App Pool for 1.1? Chck
Put the site in the App pool for 1.1? ??????
Run aspnet_regiss /s on the directory in question? ??????
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com
*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
<km******@gmail .comwrote in message
news:11******** **************@ i42g2000cwa.goo glegroups.com.. .
>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.Configur ation 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 ='MachineToAppl ication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42;
ASP.NET Version:2.0.507 27.42
Running aspnet_regiis /s (the 1.1 version) on the specific application
worked, and now that application runs under 1.1.
It did have some side effects: All of the 2.0 applications on that
server broke, even those that lived in different websites. The error
that I got was:
"It is not possible to run two different versions of ASP.NET in the
same IIS process. Please use the IIS Administration Tool to reconfigure
your server to run the application in a separate process."
When I checked the the ASP.NET tab on my 2.0 apps, they all still
reported that they were configured to use .Net 2.0 in the default app
pool. I modified these apps to explicitly use the 2.0 app pool, and
they came back online. So at this point, all of my 1.1 and 2.0 apps
appear to be co-existing peacefully.
Thanks.
Cowboy (Gregory A. Beamer) wrote:
App Pool for 1.1? Chck
Put the site in the App pool for 1.1? ??????
Run aspnet_regiss /s on the directory in question? ??????
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com
*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
<km******@gmail .comwrote in message
news:11******** **************@ i42g2000cwa.goo glegroups.com.. .
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.Configur ation 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 ='MachineToAppl ication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42;
ASP.NET Version:2.0.507 27.42
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ritz, Bruno |
last post by:
hi
in java i found that when a method has a throws clause in the definition,
callers must either handle the exceptions thrown by the method they are
calling or "forward" the exception to the caller by specifying a throws
clause as well.
is there a similar machanism in c++? i want to force a developer to write
handlers for all possible exceptions a method of my class library can throw.
|
by: Harshal |
last post by:
Hello,
I have a html page with 3 frames. If i specify the source for any
of frames as http://www.gmail.com or http://www.hotmail.com, all frames
go away and the site utilizes the full window. I want these sites to
open in the frames only. Other sites like http://www.google.com opens
in the specified frame (displaying other frames unaffected).
Here is a sample html page.
<html>
<frameset rows="200,*,200" border="1">
|
by: Les Juby |
last post by:
Hi
A clint has insisted we load a babbling brook sound clip to his home
page but it needs to load last to avoid delays in loading images and
other elements.
Simply declaring it at page bottom doesn't help much. Tried a few
code snips found here and there but with lirrle success.
Pretty bog standard coding, and the requirement is for IE-6
|
by: Tabrez |
last post by:
Hi,
I'm doing an online examination page. After the alloted time of the exam the page should be posted back. I've used System.Timers namespace for timekeeping. Please help me post back the form in 'Elapsed event' of the timer object. I m using a combi. of ASP.net with VB.net
|
by: SheldonMopes |
last post by:
Is there a way to force Access to pause execution for a specified
period of time ? I would like a command button on a form to run it's
code when clicked and then pause for 2 seconds before allowing any
other user input. Thank you for any help.
| |
by: Nikola Skoric |
last post by:
Is there a way to tell the interpreter to display exceptions, even those
which were captured with except?
--
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"
|
by: dupuis.michael |
last post by:
I'm taking over a large database that has multiple versions of the
front end on the end users machines. What I'd like to do is be able
to run code from the back end when they log in that forces them to
update to the current front end so that I can keep them updated from
then on via the front end.
What I need is some way to make the back end execute code when they
log in.
Is that even possible?
|
by: Irfan12 |
last post by:
i dont know php & i want a script that when a user click on a mp3 hyperlink, the mp3 file start downloading instead of start playing in media player.
i got a sxript from internet search.
i am using the following code
<?php
$filename = "path/to/file/filname.ext";
if(!file_exists($filename)) {
die("File does not exist!");
}
header("Pragma: public");
|
by: evenlater |
last post by:
I have an Access application on a terminal server. Sometimes my users
need to export reports to pdf, rtf or xls files and save them to their
own client device hard drives.
They can do that right now the way I have this set up, but it's
confusing and slow. When they browse for a place to save the reports,
they see all of the drives on the terminal server as well as their own
client drives. So they're likely to want to choose "My...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |