473,385 Members | 1,848 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,385 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 22 '05 #1
2 1722
Regarding the missing instmsia.exe and instmsiw.exe files, perhaps the
following might help you:

1) Read the help topic "Build, Configuration Properties, Deployment
Project Properties Dialog Box"

2) http://www.csharp-station.com/ShowPost.aspx?PostID=1700
Flynn the User <fl***@tron.net> wrote in message news:<k5********************************@4ax.com>. ..
[snip]
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 22 '05 #2
Regarding the missing instmsia.exe and instmsiw.exe files, perhaps the
following might help you:

1) Read the help topic "Build, Configuration Properties, Deployment
Project Properties Dialog Box"

2) http://www.csharp-station.com/ShowPost.aspx?PostID=1700
Flynn the User <fl***@tron.net> wrote in message news:<k5********************************@4ax.com>. ..
[snip]
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 22 '05 #3

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

Similar topics

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...
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...
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...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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: 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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.