473,750 Members | 2,668 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Framework 2.0 interfering with 1.1 apps after upgrade

Hi

I've searched quite a bit and haven't been able to find an answer to
this one:

We're in the process of installing .Net 2.0 on our production servers
(all Windows 2000 servers). None of the applications on the servers
use .Net 2.0 yet: all are on 1.1.

As soon as we install .Net 2.0, we start getting problems with our
applications, even though they're not running on the 2.0 framework. It
seems as if the ASP.Net process is picking up the machine.config for
2.0 or something and not the one we use for 1.1 as our applications
start refusing and dropping connections coming in or going out.

As far as I am aware, installing the 2.0 framework should have no
effect on existing applications: they should continue as before,
running on 1.1.

As soon as we take the servers offline, uninstall 2.0 and bring the
servers up again, the problem disappears.

If anyone has seen this or has any idea why/how this happens, I'd
appreciate some suggestions.

Thanks

DD

Jun 1 '07 #1
9 2410
go to IIS, select your asp.net 1.1 web app,

right click --properties -- asp.net tab. make sure its configured to use
asp.net 1.1 and not 2.0.
If your .NET 1.x app is configured to use .NET 2.0 under IIS, it will fail.


<di***********@ gmail.comwrote in message
news:11******** **************@ g4g2000hsf.goog legroups.com...
Hi

I've searched quite a bit and haven't been able to find an answer to
this one:

We're in the process of installing .Net 2.0 on our production servers
(all Windows 2000 servers). None of the applications on the servers
use .Net 2.0 yet: all are on 1.1.

As soon as we install .Net 2.0, we start getting problems with our
applications, even though they're not running on the 2.0 framework. It
seems as if the ASP.Net process is picking up the machine.config for
2.0 or something and not the one we use for 1.1 as our applications
start refusing and dropping connections coming in or going out.

As far as I am aware, installing the 2.0 framework should have no
effect on existing applications: they should continue as before,
running on 1.1.

As soon as we take the servers offline, uninstall 2.0 and bring the
servers up again, the problem disappears.

If anyone has seen this or has any idea why/how this happens, I'd
appreciate some suggestions.

Thanks

DD

Jun 1 '07 #2
dd
Thanks, Mike.
I think the problem might be a bit more complicated than this.
If you read my post, you would have seen that the applications are not
failing, merely dropping ingoing and outgoing connections.
This means that they are running (which they wouldn't do if the .Net
version was wrong), but that after a .Net 2.0 install the ASP.Net
worker process cannot consistently and efficiently open outgoing
connections.
The amount of available outgoing connections and threads is normally
configured in the Machine.config file. I think, due to the fact that
after a .Net 2.0 install the *default* Machine.config is used by
ASP.Net, something is going wrong.
We work in a very high volume environment with multiple load balanced
servers, which means that we fine tune the servers as well as the
Machine.config to be able to handle the load.

Thanks once again

Dirk

Jun 4 '07 #3
On Jun 4, 8:59 am, dd <dirk.dirck...@ gmail.comwrote:
Thanks, Mike.
I think the problem might be a bit more complicated than this.
If you read my post, you would have seen that the applications are not
failing, merely dropping ingoing and outgoing connections.
This means that they are running (which they wouldn't do if the .Net
version was wrong), but that after a .Net 2.0 install the ASP.Net
worker process cannot consistently and efficiently open outgoing
connections.
The amount of available outgoing connections and threads is normally
configured in the Machine.config file. I think, due to the fact that
after a .Net 2.0 install the *default* Machine.config is used by
ASP.Net, something is going wrong.
We work in a very high volume environment with multiple load balanced
servers, which means that we fine tune the servers as well as the
Machine.config to be able to handle the load.

Thanks once again

Dirk

Dirk,

I think Mike is right and you should check the version of the ASP.NET,
once .NET2 is installed. I had an experience that ASP.NET Tab in IIS
could give you a wrong value, so, I would recommend to use
aspnet_regiis -lk

C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322> aspnet_regiis -lk

it returns all apps and .net versions

W3SVC/ 1.1.4322.2032
W3SVC/7/ROOT/ 2.0.50727.0
....

after that you can try to uninstall and install ASP.NET 1.1 again

aspnet_regiis -u
aspnet_regiis -i

Jun 4 '07 #4
dd
Thanks, Alexey.

I appreciate your comments, but, like I said previously, if the .Net
version was wrong, the applications would be failing completely, not
just acting strangely.
If my problem were only as simple as checking the version, I'd be
smiling ;)

So just to be clear: The applications are definitely running on .Net
1.1. The websites are definitely set up to run under 1.1. The sites
are not failing, they're just acting abnormally after a .Net 2.0
install, specifically when doing web requests to external providers.

I'm not sure what it is, but it just seems as if the ASP.Net process
is picking up the Machine.config from .Net 2.0 due to the fact that
there seems to be a difference in terms of how ASP.Net is handling
incoming and outgoing connections.

Thanks

Dirk

Jun 4 '07 #5
On Jun 4, 11:38 am, dd <dirk.dirck...@ gmail.comwrote:
if the .Net
version was wrong, the applications would be failing completely, not
just acting strangely.
Why do you think it would failed? ASP.NET 1.1 app should work on the
2.0 framework because ASP.NET 2.0 is almost backwards compatible with
ASP.NET 1.1.

Jun 4 '07 #6
"dd" <di***********@ gmail.comwrote in message
news:11******** **************@ k79g2000hse.goo glegroups.com.. .
Thanks, Alexey.

I appreciate your comments, but, like I said previously, if the .Net
version was wrong, the applications would be failing completely, not
just acting strangely.
This is not the case. Your ASP.NET 1.1 applications should work entirely, or
mostly, under .NET 2.0. In fact, this is much more likely to be a
configuration issue than a version-incompatibility issue.

This happened to me in the switch between .NET 1.0 and 1.1. I did not
understand that installing the new version would adjust the IIS script maps
to point to the new version.

You should "cd" to C:\WINDOWS\Micr osoft.NET\Frame work\V1.1.4322 and run
"aspnet_reg iis -i". Note that it's important that you run the version of
aspnet_regiis from the correct framework version.
--
John Saunders [MVP]
Jun 4 '07 #7
Is your root application 1.1 or 2.0 ?

I was very much surprised when I found that web.config conflicts occur
in other applications no matter which .Net Framework is in the root.

I wouldn't be too surprised if there were some machine.config conflicts, too.

In the case of the web.config conflicts, the only thing which worked
was binding a website to a different IP or to a different port, i.e.,
*totally* isolating the .Net Framework versions from each other.

You might want to look into a similar workaround.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"dd" <di***********@ gmail.comwrote in message
news:11******** **************@ k79g2000hse.goo glegroups.com.. .
Thanks, Alexey.

I appreciate your comments, but, like I said previously, if the .Net
version was wrong, the applications would be failing completely, not
just acting strangely.
If my problem were only as simple as checking the version, I'd be
smiling ;)

So just to be clear: The applications are definitely running on .Net
1.1. The websites are definitely set up to run under 1.1. The sites
are not failing, they're just acting abnormally after a .Net 2.0
install, specifically when doing web requests to external providers.

I'm not sure what it is, but it just seems as if the ASP.Net process
is picking up the Machine.config from .Net 2.0 due to the fact that
there seems to be a difference in terms of how ASP.Net is handling
incoming and outgoing connections.

Thanks

Dirk

Jun 4 '07 #8
dd
Hi Juan

The root aplication is set up as 1.1. All we're currently doing is
installing the 2.0 Framework in preparation for an upgrade. After the
install, we obviously have to do regression and load testing on our
1.1 apps, and this is when we start picking up problems.

I have checked in IIS Admin that the sites are running 1.1, as well as
making our web admins run "aspnet_reg iis -lk" and "aspnet_reg iis -i"
from the framework\v1.1 directory. There are no 2.0 sites or
applications on the servers at all.

Does this basically mean that unless we upgrade everything to 2.0
we're going to continue having problems with our 1.1 applications? Or
that we won't have a stable environment with both frameworks running
side by side?

Changing the IPs of our servers or creating new sites would,
unfortunately, not be possible, as we have public facing sites being
called by clients which cannot be changed (or rather, let me say: with
great difficulty and weeks of red tape).

I thought about application pools, but we're running IIS 5 on our
Win2000 servers, making that impossible.

Thanks a lot for your (and everybody else's) response, though. At
least I know I'm not going crazy :)

Dirk

Jun 4 '07 #9
dd
Hi

Just posting the resolution, should someone else have the same
problem.

The sites were running .Net 1.1.
They, however, were calling external DLLs which did not form part of
the original site.
These DLLs were picking up the 2.0 framework components.
To fix this:
Determined where the DLL is picking it's config up, i.e
AppDomain.Curre ntDomain.GetDat a("APP_CONFIG_F ILE").ToString

And force the DLL to use the required framework by updating the
relevant config file as follows:

<configuratio n>
<startup>
<supportedRunti me version="v1.1.4 322" />
<requiredRuntim e version="v1.1.4 322"/>
</startup>
</configuration>

Here's another link to an MSDN article about this:

http://msdn2.microsoft.com/en-us/library/9w519wzk.aspx

and a forum discussion with the resolution at the end:

http://forums.microsoft.com/MSDN/Sho...32380&SiteID=1

So, it was an version problem :), thanks to all who answered, hope
this helps someone in the future.

Jun 6 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2521
by: Asad Khan | last post by:
Hi, I have Visual Studio 2002 Enterprise Architecture Edition. I was wondering if anyone has any information on how I can develop applications for .Net Compact Framework using this IDE. I've heard Visual Studio 2003 ships with the functionality for .Net Compact Framework development. But right now I have Visual Studio 2002. Is there anything I can do? (Other than the obvious upgrade to 2003). I've heard some beta version of .Net Compact...
2
7109
by: fripper | last post by:
I have installed Visual Studio .Net 2003 on top of an earlier version. Now, when I open a new project I get a message that says Visual Studio .NET has detected that the web server is running ASP.NET version 1.0 ... it goes on to say that I can create the project to be compliant with version 1.0 but that the application will not be able to use the newer features of ASP .NET 1.1. Now, having installed VS .Net 2003 I understand that I have...
2
1780
by: Tomas Vera | last post by:
Hello All, I'm running into a problem that I don't know how to solve (properly, at least). Our web servers are running Win2K and have Framework v1.0.3705 running on them. We have a DLL that we use to verify product registration information from our clients.
1
1621
by: Jeremy | last post by:
Hi there, We recently upgraded to the 1.1 framework, and of course, all of our 1.0 asp.net apps starting using the 1.1 framework, which we didn't want to happen. I found an MS article saying if you modify the ISAPI filter setting in IIS for the site to point to the 1.0 aspnet_filter.dll, your app will then use the 1.0 framework.
1
2003
by: JC | last post by:
I have several applications that use forms authentication and they are currently setup to use a single login page. Everything works fine under v1.0 of the framework and everything works fine if I have all applications running under v1.1. However, I need the login page and a few apps to be running under using v1.0 with other applications running under v1.1. Now my authentication cookie is no longer being accepted anywhere other than by...
2
1523
by: Dotnet Guy | last post by:
Hi, I have different asp.net applications as sub applications within an application and was using Framework 1.0. And I use forms authentication across the applications. In the web.config file of outer application I have <authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="Default.aspx" path="/" timeout="20"/> </authentication> While in the web.config of the Sub applications I have
1
1149
by: S?bastien Ch?nier | last post by:
Hi ! I upgraded one of my project from Framework 1.0 to Framework 1.1 by adding this to my APP.CONFIG files: <startup> <supportedRuntime version="v1.1.4322"/> <requiredRuntime version="v1.1.4322" safemode="true"/> </startup> And now i have the following error when i save my dataset twice (the first time that i save, everything is fine)
2
3233
by: g | last post by:
we are evaluating CRM packages and are looking for information on the differences/simliarities, pros and cons of these architectures used by various CRM Vendors. We have been searching for more information online and have not really found any comparisons. Client Server ..NET ASP
3
3594
by: Ted Ngo | last post by:
Hi All, My company want to buy the new Microsoft Visual Studio 2005 for their employees to develop our web application. After we develop the web application using the new Microsoft Visual Studio 2005 we will deloy it to the server, and right now on our server we only have .NET FrameWork 1.1. I just wonder do we have to upgrade our server to .NET Framework 2.0 or we can it leave at FramWork 1.1. Does Microsoft Visual Studio 2005 and...
0
9583
Oralloy
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...
1
9342
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
tracyyun
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...
0
8263
agi2029
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...
0
6081
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();...
0
4716
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4888
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2226
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.