473,799 Members | 2,741 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error while Upgrade to 2003

Ken
I have a project which is running error free in VB.Net
2002 in a live environment. Now I need to upgrade it to
2003. While building the project it is showing the below
error. This is happening only for some forms. The
others are working fine.

Quote :

C:\Transactions \BL_SFE.resx Resource transformation for
file 'BL_SFE.resx' failed. Possible Version mismatch.
Type System.Globaliz ation.DateTimeF ormatInfo has 38
members, number of members deserialized is 35.

:Unquote

Any help?

Rgds
Ken.
Nov 20 '05 #1
4 1542
Ken
-----Original Message-----
I have a project which is running error free in VB.Net
2002 in a live environment. Now I need to upgrade it to
2003. While building the project it is showing the below
error. This is happening only for some forms. The
others are working fine.

Quote :

C:\Transaction s\BL_SFE.resx Resource transformation for
file 'BL_SFE.resx' failed. Possible Version mismatch.
Type System.Globaliz ation.DateTimeF ormatInfo has 38
members, number of members deserialized is 35.

:Unquote

Any help?

Rgds
Ken.
.

Nov 20 '05 #2
Ken
-----Original Message-----
I have a project which is running error free in VB.Net
2002 in a live environment. Now I need to upgrade it to
2003. While building the project it is showing the below
error. This is happening only for some forms. The
others are working fine.

Quote :

C:\Transaction s\BL_SFE.resx Resource transformation for
file 'BL_SFE.resx' failed. Possible Version mismatch.
Type System.Globaliz ation.DateTimeF ormatInfo has 38
members, number of members deserialized is 35.

:Unquote

Any help?

Rgds
Ken.
.

Nov 20 '05 #3
Ken,

if you write serializing procedures, it is recommended that you use only
members in a class to serialize, that represent the actual data (and only
them). What happend here is that Microsoft added some members in the class
DateTimeFormatI nfo from the previous to the current version of the
framework. It's highly likely that you don't really need those additional
infos for the data your application's actually dealing with. But since every
member of an object is serialized, the old version of the program only
exported 35 members where the new version wants to deserialize 38 members of
the class - and the deserialize procedure can't find the missing three.

So what can you do? The best thing would be to reconsider the
structure of the data of the class that has to be serialized. Only include
the data, you really need. Having done that, you could provide a converting
tool, that should be based on the old framework version. With that tool you
can, since it's based on the old framework version, read the old files and
write in your new fileformat, you'll come up with. Make sure you include in
the new "to-be-serialized-class" only data types, whose properties are not
likely to be changed in future versions (the best thing is to concentrate on
primitive types only).

Hope that helps,

Klaus

"Ken" <an*******@disc ussions.microso ft.com> schrieb im Newsbeitrag
news:18******** *************** ******@phx.gbl. ..
I have a project which is running error free in VB.Net
2002 in a live environment. Now I need to upgrade it to
2003. While building the project it is showing the below
error. This is happening only for some forms. The
others are working fine.

Quote :

C:\Transactions \BL_SFE.resx Resource transformation for
file 'BL_SFE.resx' failed. Possible Version mismatch.
Type System.Globaliz ation.DateTimeF ormatInfo has 38
members, number of members deserialized is 35.

:Unquote

Any help?

Rgds
Ken.


Nov 20 '05 #4
Ken,

if you write serializing procedures, it is recommended that you use only
members in a class to serialize, that represent the actual data (and only
them). What happend here is that Microsoft added some members in the class
DateTimeFormatI nfo from the previous to the current version of the
framework. It's highly likely that you don't really need those additional
infos for the data your application's actually dealing with. But since every
member of an object is serialized, the old version of the program only
exported 35 members where the new version wants to deserialize 38 members of
the class - and the deserialize procedure can't find the missing three.

So what can you do? The best thing would be to reconsider the
structure of the data of the class that has to be serialized. Only include
the data, you really need. Having done that, you could provide a converting
tool, that should be based on the old framework version. With that tool you
can, since it's based on the old framework version, read the old files and
write in your new fileformat, you'll come up with. Make sure you include in
the new "to-be-serialized-class" only data types, whose properties are not
likely to be changed in future versions (the best thing is to concentrate on
primitive types only).

Hope that helps,

Klaus

"Ken" <an*******@disc ussions.microso ft.com> schrieb im Newsbeitrag
news:18******** *************** ******@phx.gbl. ..
I have a project which is running error free in VB.Net
2002 in a live environment. Now I need to upgrade it to
2003. While building the project it is showing the below
error. This is happening only for some forms. The
others are working fine.

Quote :

C:\Transactions \BL_SFE.resx Resource transformation for
file 'BL_SFE.resx' failed. Possible Version mismatch.
Type System.Globaliz ation.DateTimeF ormatInfo has 38
members, number of members deserialized is 35.

:Unquote

Any help?

Rgds
Ken.


Nov 20 '05 #5

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

Similar topics

4
1994
by: Dave Harney | last post by:
Hi Newsgroup, I'm currently using VS Ver 7.0.9466 with an OS of Server 2000 (domain controller) Ver 5.0.2195 (Build 2195) SP4. I have MSDN Universal and would like to upgrade my development environment ot Server 2003 and VS 2003 Do I need to start from scratch, or will can I use Server 2003 as a simple upgrade to my existing OS?
7
6668
by: Abdul-Wahid Paterson | last post by:
Hi, I have had a site working for the last 2 years and have had no problems until at the weekend I replace my database server with a newer one. The database migration went like a dream and I had the whole db changed over in 1 hour. Since the upgrade I have been getting the following error message sporadically.
0
2668
by: Dirk Försterling | last post by:
Hi all, a few days ago, I upgraded from PostgreSQL 7.2.1 to 7.4, following the instructions in the INSTALL file, including dump and restore. All this worked fine without any error (message). Since then, I found lots of the following in the postmaster output: 2003-11-29 15:19:54 ERROR: large object 4838779 does not exist 2003-11-29 15:20:11 ERROR: large object 4838779 does not exist
0
1390
by: Pierre | last post by:
Hi all, win xp, msaccess 2003 recently upgrade, msoffice 2000 recently upgrade. Since i upgrade office i have the above message each time.(a system error...) I click ok, office close, then i restart it, .... and i have a new message box saying do you want to start access in safe mode i say yes, then it start
47
4548
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small company and this is a big decision for us(!) It's not just the money it's committing to an new version of Access!
1
4541
by: gerr | last post by:
Visual studio 2003 "HTTP/1.1 500 Internal Server Error" when trying to create a new Asp.net site with Visual Studio 2003 on localServer/IIS 5.1. Anyone have any new solutions or urls to point me to for this problem short of reinstalling the local developer XP OS/IIS 5.1 ? I have tried everything else listed in various threads. I think my mistake was thinking the installation for v/st 2003 was going to upgrade my V/Studio.net 2001, ( I...
1
2867
by: gerr | last post by:
Visual studio 2003 "HTTP/1.1 500 Internal Server Error" when trying to create a new Asp.net site with Visual Studio 2003 on localServer XP Pro/IIS 5.1. Everything worked fine prior to installing V/Studio 2003. Was running V/Studio classic 6/Asp parallel with V/Studio 2002/aspx. Anyone have any new solutions or urls' to point me to for this problem short of reinstalling the local developer setup consisting of Win XP OS/IIS 5.1 along with FP...
2
3039
by: Herfried K. Wagner [MVP] | last post by:
Hello, There are often questions in this newsgroup posted by VS.NET 2002 users. VS.NET 2002 is "out of date", its successor is VS.NET 2003. There is a special ("cheap") upgrade offer available for $29 US. This offer is open only until September 30, 2003. You will get more information about this offer here: Visual Studio .NET 2003 Upgrade Offer
4
1961
by: MadCrazyNewbie | last post by:
Hey Group, I have a VB6 Project im trying to use with VB.Net, It lets me open it and the Upgrade Wizard Launches I click next Select EXE and Click Next Again, the it errors with: "Upgrade Failed: Exception Error Occurred: Invalid System Configuration (Unable to Locate Micorosoft.VisualBasic.UpgradeExtensions.dll. Please re-run Setup and try again."
10
2169
by: deathtospam | last post by:
My employer is starting to take the first steps towards migrating its Classic ASP codebase to ASP.NET v2.0. We have a copy of our existing website on the new Windows Server 2003 R2 test server, and everything is running fine. However, when I create a simple "HelloWorld.aspx" file, then browse to the page from VS.NET 2005 on the same machine, I get the following error message: ================================================ Server...
0
9688
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10238
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10030
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9077
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5589
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4145
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.