473,327 Members | 1,896 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,327 software developers and data experts.

legacy app .net 1.1 using .net 2.0 component. is it possibile?

Hi,

we have a asp.net project which is was built with .net 1.1 and would like to
keep it that way. however we would like to see if we can use new class
libraries built with .net v2.0 by referencing the v2.0 libraries from the
v1.1 project.

is this possible? from what i've seen so far it seems not possible.. just
wanted to see if there is a way to do this (apart from exposing the .net
v2.0 library as COM).
Jun 27 '08 #1
2 1031
Not without updating the main exe to load 2.0, not 1.1; in fact, even
COM would fail if "in process" (dll), since it would still end up
calling back into the same process, and that is the issue. You'd have to
*at the minimum* go out-of-process (serviced components or SOA) - and it
probably isn't worth it.

..NET 2 (and the CLR2) introduces IL instructions that are not understood
in .NET 1.1, so .NET 2.0 code *cannot* run in 1.1.

Personally I'd try to move to 2.0 (or later), but I appreciate that this
is not always possible for various reasons.

Marc
Jun 27 '08 #2
thanks.

will try porting the component to v1.1 as upgrading the main app is
impossible unfortunately :(

"Marc Gravell" <ma**********@gmail.comwrote in message
news:ux**************@TK2MSFTNGP05.phx.gbl...
Not without updating the main exe to load 2.0, not 1.1; in fact, even COM
would fail if "in process" (dll), since it would still end up calling back
into the same process, and that is the issue. You'd have to *at the
minimum* go out-of-process (serviced components or SOA) - and it probably
isn't worth it.

.NET 2 (and the CLR2) introduces IL instructions that are not understood
in .NET 1.1, so .NET 2.0 code *cannot* run in 1.1.

Personally I'd try to move to 2.0 (or later), but I appreciate that this
is not always possible for various reasons.

Marc

Jun 27 '08 #3

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

Similar topics

1
by: Jim Douglas | last post by:
I have (3) legacy ASP applications where I have been tasked with implementing a SpellChecker in, the catch is that the SpellChecker has to be done in .NET. I have some ideas about how to do it but...
0
by: inetmug | last post by:
Hello: I am using ASP.NET as our front end. I also have to interface to some legacy systems that use a callback mechanism. The legacy systems use callbacks (via CORBA) to communicate back to...
3
by: Sai Kit Tong | last post by:
Hi, I am developing a new application running on Windows platform that needs to interface with existing legacy code - written in basic C / C++. I am trying to evaluate Java vs C#...
3
by: Sai Kit Tong | last post by:
I posted for help on legacy code interface 2 days ago. Probably I didn't make it clear in my original mail. I got a couple of answers but none of them address my issues directly (See attached...
0
by: Leigh Webber | last post by:
I have an ActiveX dll written in VB6. It exposes a class called CustomerDisplays, with a Public Function NewEnum (procedure ID -4, hide this member), and a Public Function Item (default) and a...
1
by: omantawy | last post by:
Hi, I have some legacy ASP web applications that use an unmanaged COM component to connect to a third party application. The third part application has moved to the managed code in the current...
1
by: Subodh | last post by:
Hi, We have legacy code in C/C++, I am writing a wrapper component in C++/ CLI that will allow using this legacy code functionality in C#, I have linked all my static libraries to this C++/CLI...
3
by: Ben | last post by:
I have a C# application that I would like to modify to communicate with a legacy RPC server to get some data. I have the IDL for that server. Is there an IDL compiler that will give me C# code? ...
2
by: Scott | last post by:
We created several COM objects with ATL and VC++ 5.0. They have run for a couple of years under our old Win2k IIS 5.0. Should they be expected to work without revision in the newer asp.net? ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.