473,383 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

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 2397
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.googlegro ups.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\Microsoft.NET\Framework\v1.1.4322>aspne t_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.googlegr oups.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\Microsoft.NET\Framework\V1.1.4322 and run
"aspnet_regiis -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.googlegr oups.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_regiis -lk" and "aspnet_regiis -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.CurrentDomain.GetData("APP_CONFIG_FILE") .ToString

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

<configuration>
<startup>
<supportedRuntime version="v1.1.4322" />
<requiredRuntime version="v1.1.4322"/>
</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
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...
2
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...
2
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...
1
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...
1
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...
2
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...
1
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...
2
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...
3
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.