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

Problems upgrading application from .NET 1.0 to 1.1


I've upgraded an ASP .Net web application from .NET 1.0 to .NET 1.1,
and it works fine on my development machine, but when I move it to a
server and try to run it, I keep getting "Invalid PInvoke Metadata
Format" every time I try to connect to a SQL Server 2000 database.

Some background:

My development machine is running Win XP with both the 1.0 and 1.1
Frameworks installed, and the server is a Win 2K server with both the
1.0 and 1.1 Frameworks installed. I fully installed VS .Net 2003 on
my development machine. I don't reference any outside dlls and I am
NOT using anything like ByteFX, NUnit, or Oracle.

I don't see that much out there on this subject unless someone is
having trouble with NUnit, ByteFX, or Oracle, so here are the steps
I've taken:

1. Although, I don't have to do this on development machine, I
followed the suggestion of the "Side-by-Side Execution of the .Net
Framework" article on MSDN and on the ISAPI Filter tabe in IIS on the
server, I added the aspnet_filter.dll from the
\Microsoft.Net\Frameworks\v.1.1.4322 directory.

2. I made sure to make minor modifications to all the forms in my
project, so Visual Studio would update the underlying .resx file for
each form and make sure that all the "type" data for both the "data"
and the "resheader" sections were updated to show
"...version=1.0.5000.0..." and the "resheader" version is updated to
1.3.

3. Checked all the properties of my references, and all of the
non-Crystal ones say 1.0.5000.0 with a runtime version of v1.1.4322.
I removed and re-added all of the Crystal references, and checked them
and they all said the same thing: runtime version v1.0.3705 and
version 9.1.5000.0. I was concerned about the "runtime version"
property showing the old framework, but the one Crystal report I have
that doesn't take any data from the SQL server database works just
fine when deployed on the server.
I addition, there's another issue I'm having that I can't find a
soloution to anywhere. When I put my project it into release mode and
then build the setup project, it no longer adds the InstMsiA.Exe and
the InstMsiW.Exe bootstrappers to the Release directory like it used
to with VS .Net 2002. I thought getting the Visual Studio .Net 2003
Bootstrapper Plugin would help, but all it does now is add the
dotnetfx redistributable and not instmsia or instmisw. I even tried
removing and rebuilding the setup project from scratch. Was the
ability to create those 2 files taken out of Visual Studio .Net 2003?

Thanks in advance.
Nov 18 '05 #1
0 657

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

Similar topics

0
by: steven virnig | last post by:
This past weekend I upgraded a server from SQL 7.0 to SQL 2000. This is an NT server. Service Pack 3a was also installed as well the cumulative security patch. SQL Server is in mixed mode (as it...
0
by: Flynn the User | last post by:
I've upgraded an ASP .Net web application from .NET 1.0 to .NET 1.1, and it works fine on my development machine, but when I move it to a server and try to run it, I keep getting "Invalid PInvoke...
14
by: Jim Hubbard | last post by:
Are you up to speed on the difficulties in using the 1.1 .Net framework? Not if you are unaware of the 1,596 issues listed at KBAlertz (http://www.kbalertz.com/technology_3.aspx). If you are...
5
by: Mike Owen | last post by:
Hi, I have just used the import Wizard to import a VS 2003 app to VS 2005. I have a lot of work to do to enable it to compile successfully with all the errors and warnings it gave me, but as a...
5
by: Scott | last post by:
I have a customer that had developed an Access97 application to track their business information. The application grew significantly and they used the Upsizing Wizard to move the tables to SQL...
9
by: dotnettester | last post by:
Hi, Can any one point me to a good resource on what to expect for .NET Applications when upgrading from IIS 5.0 to IIS 6.0 We are thinking to move to IIS 6.0 but fear...... Thanks,
1
by: Rich | last post by:
I'm having problems upgrading to 2005 Trial from 2000 Standard Edition. Despite the ms docs saying this was a valid upgrade path and running the upgrade advisor which did not highlight a...
3
by: doriengard | last post by:
Dear VB gurus, A long question, thanks for your patience in advance :-) Part 1) I have a VB windows application that contains a start-up form: frmMain
6
by: JimLad | last post by:
Hi, We have a major ASP app that we are in the process of upgrading to ASP.NET 1.1 and probably on to ASP.NET 2.0 in the middle of next year. (We will also be upgrading to SQL2K5 at the same...
0
by: Steve | last post by:
Hi guys, I've just done an upgrade on TFS 2005 to 2008. The upgrade didn't mention any problems, but I've since discovered one! The TFS Server is now not responding. For instance, if I go here...
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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...

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.