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

Different execution behavior between .Net1.1 and .Net2.0

I have a library that reads PDF file and manipilates its content. And I use
SharpZip library to decompress the streams included in PDF file. All well
and good. I have 3 lines of my test code that takes a PDF file and spits out
the required content from the file. It all works fine in .Net.1.
environment.

Now I wrote the same 3 lines of code in .Net2.0 console test application and
use the assemblies for PDF library and SharpZip compiled with .Net.1.1. The
application will throw exceptions in the deflate algorithm "Index out of
bound". Then I tried to replace the SharpZip decompression code with
DelateStream class in .Net2.0 framework, recompiled pdf library and sharpzip
assemblies with .Net2.0. But still no luck.

Is there something I am missing in this whole equation of using my 1.1
libraries with .Net2.0 application?

Thanks
Mar 21 '06 #1
1 1664
Only one CLR can run at one time for an application. If you run 1.1 code in
the 2.0 envirionment, there are about 400 breaking changes between the two
Frameworks. I'm betting you've run into at least one of the 400.

1.0 --> 1.1 was back-ward compatible.

1.1 --> 2.0 is not.

Good luck!
--
Mike McAllister
"Winista" wrote:
I have a library that reads PDF file and manipilates its content. And I use
SharpZip library to decompress the streams included in PDF file. All well
and good. I have 3 lines of my test code that takes a PDF file and spits out
the required content from the file. It all works fine in .Net.1.
environment.

Now I wrote the same 3 lines of code in .Net2.0 console test application and
use the assemblies for PDF library and SharpZip compiled with .Net.1.1. The
application will throw exceptions in the deflate algorithm "Index out of
bound". Then I tried to replace the SharpZip decompression code with
DelateStream class in .Net2.0 framework, recompiled pdf library and sharpzip
assemblies with .Net2.0. But still no luck.

Is there something I am missing in this whole equation of using my 1.1
libraries with .Net2.0 application?

Thanks

May 12 '06 #2

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

Similar topics

4
by: David Thielen | last post by:
Hi; The ASP .NET book I have only talks about putting everything in a single aspx and aspx.cs file. However, it seems to me you want to redirect to a different page/class for each logical page....
2
by: bb | last post by:
i use the losformatter to serialise a hashtable and the store in the database. (i save some urls so they can be reconstructed) we have moved the project from asp.net1 to asp.net2 now whenever...
17
by: romixnews | last post by:
Hi, I'm facing the problem of analyzing a memory allocation dynamic and object creation dynamics of a very big C++ application with a goal of optimizing its performance and eventually also...
4
by: hvj | last post by:
I need to run a .NET1.1 program in a .NET2.0 CLR. The .NET1.1 exe starts correctly in .NET2.0. Now I want to debug in Visual Studio 2005. But when I try to open the .NET1.1 project, Visual Studio...
4
by: dreamamit2001 | last post by:
Hi, I would like to know the ASP.NET2.0's(Controls, Menubar, Validations, Object Data Souce Controls, Treeview Control) compatibility with IE5.0 browser on Mac OS. If I don't use Client side...
3
by: Marcus | last post by:
Hi, I converted my .Net1.1 application (written in VS2003) to a .Net2.0 application. I let VS2005 do the job as it suggested when trying to load my VS2003 project in VS2005. I then included the...
1
by: prathiba.p | last post by:
We are having a ASP.NET2.0 web application which has been migrated from .NET 1.0 . This web application refers .net 1.0 interop dll . Is there any way to debug the .net 1.0 interop dll from...
14
by: Jack | last post by:
Hi, I meet a question with it , I did not get clear the different betteen them, for example: #include <iostream>
2
by: shashidcs2007 | last post by:
Hi, I have two web applicaitons developed in asp.net 1.1 and asp.net2.0, the user will login to the application developed in asp.net 1.1 and will go to application developed in asp.net 2.0 (this...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
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
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
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...
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.