473,397 Members | 2,084 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,397 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 1726
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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.