473,396 Members | 2,023 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,396 software developers and data experts.

Help with framework hell

I have a customer with my winform app that was written .net 1.1. It has
worked fine till now. He has just installed .net framework 2.0 and all
of a sudden the application is having all kinds of problems.

I thought that if the application is written in vs2003, it will by
default use .net 1.1 framework. Is this not the case?

What else should I be looking at?

Thanks.
May 25 '06 #1
5 974
Hi,
I am not sure how but there is a way to specify what version of the
framework the program must use.
Look into that direction.
"Frank Rizzo" <no**@none.com> a écrit dans le message de news:
OX**************@TK2MSFTNGP05.phx.gbl...
I have a customer with my winform app that was written .net 1.1. It has
worked fine till now. He has just installed .net framework 2.0 and all of
a sudden the application is having all kinds of problems.

I thought that if the application is written in vs2003, it will by default
use .net 1.1 framework. Is this not the case?

What else should I be looking at?

Thanks.

May 25 '06 #2
Frank,
Sounds to me like they may have uninstalled .NET 1.1. That's the first place
I'd look.
--Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Frank Rizzo" wrote:
I have a customer with my winform app that was written .net 1.1. It has
worked fine till now. He has just installed .net framework 2.0 and all
of a sudden the application is having all kinds of problems.

I thought that if the application is written in vs2003, it will by
default use .net 1.1 framework. Is this not the case?

What else should I be looking at?

Thanks.

May 25 '06 #3
Peter Bromberg [C# MVP] wrote:
Frank,
Sounds to me like they may have uninstalled .NET 1.1. That's the first place
I'd look.
--Peter

That is the first place I looked at, but it was not meant to be an easy
problem to deal with.

I did the standard filemon/regmon/fuslogvw thing and the winapp does go
against 1.1 assemblies. However, it also goes against mscoree.dll,
which is the .NET execution engine. There is only one copy of
mscoree.dll (in windows/system32) and the 2.0 overwrote the 1.1 version.
So it's not really side by side on this DLL. Could this be an issue?
May 25 '06 #4
To force an application to use a specific version of the framework, add this
to the app.config:

<configuration>
<startup>
<requiredRuntime version="v1.0.3705" safemode="true"/>
</startup>
</configuration>

Obviously, change the version to whatever you're targeting.

"Frank Rizzo" <no**@none.com> wrote in message
news:OX**************@TK2MSFTNGP05.phx.gbl...
I have a customer with my winform app that was written .net 1.1. It has
worked fine till now. He has just installed .net framework 2.0 and all of
a sudden the application is having all kinds of problems.

I thought that if the application is written in vs2003, it will by default
use .net 1.1 framework. Is this not the case?

What else should I be looking at?

Thanks.

May 25 '06 #5
This has changed in 2.0 from the way it worked in 1.x ... see
http://blogs.msdn.com/junfeng/archiv...16/114108.aspx

Cheers,

Greg Young
MVP - C#
"Frank Rizzo" <no**@none.com> wrote in message
news:up**************@TK2MSFTNGP05.phx.gbl...
Peter Bromberg [C# MVP] wrote:
Frank,
Sounds to me like they may have uninstalled .NET 1.1. That's the first
place I'd look.
--Peter

That is the first place I looked at, but it was not meant to be an easy
problem to deal with.

I did the standard filemon/regmon/fuslogvw thing and the winapp does go
against 1.1 assemblies. However, it also goes against mscoree.dll, which
is the .NET execution engine. There is only one copy of mscoree.dll (in
windows/system32) and the 2.0 overwrote the 1.1 version. So it's not
really side by side on this DLL. Could this be an issue?

May 26 '06 #6

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

Similar topics

5
by: Barry Anderberg | last post by:
I'm using a tool by Sci-Tech called the .NET Memory Profiler. We have a massive .NET/C# application here and it has been exhibiting memory leak behavior for some time. Attempting to remedy the...
1
by: NancyASAP | last post by:
I'm confused about versioning with ASP.NET 2.0. When ASP.NET 2.0 is installed, will the whole .NET framework change to version 2.0, or just the ASP.NET part of it? Will I be creating Windows...
23
by: Nak | last post by:
Hi there, Has anyone any ideas if the next Framework will be an update to version 1.1 or another completely new install so that people have 3 Frameworks on their system? And can VS.NET 2003 be...
4
by: Clark Stevens | last post by:
Hi group, I will be getting VB.NET 2003 Standard which uses V1.1 of the .NET framework. When another version of .NET is released, can I use it with VB.NET 2003 with out upgrading VB.NET? For...
122
by: seberino | last post by:
I'm interested in knowing which Python web framework is most like Ruby on Rails. I've heard of Subway and Django. Are there other Rails clones in Python land I don't know about? Which one...
12
by: What the Hell? | last post by:
I have a question for people out there, I need the Combobox to change a label caption when the user picks a certain thing from the list. How do I code this. I've tried an If Then statement, but it...
8
by: Iouri | last post by:
Is it possible to run VS2005 under .Net Framework 3.0? If yes how to assign the .Net Fremowork 2 or 3 to the VS 2005.
4
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, Regarding Visual Studio .Net 2005 can you still build applications that don't require the .Net Framework (I guess this would be called Unmanaged Code?). I'm asking because I'd like to...
3
by: Robert Kochem | last post by:
Hi, I have some problems locating .NET Framework Configuration Tool for configuring an snk as fully trusted. On the PC I want to do this only the frameworks up to 3.5 were installed therefore I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
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,...
0
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...
0
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,...
0
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...
0
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,...

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.