473,325 Members | 2,442 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,325 software developers and data experts.

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.Globalization.DateTimeFormatInfo has 38
members, number of members deserialized is 35.

:Unquote

Any help?

Rgds
Ken.
Nov 20 '05 #1
4 1521
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:\Transactions\BL_SFE.resx Resource transformation for
file 'BL_SFE.resx' failed. Possible Version mismatch.
Type System.Globalization.DateTimeFormatInfo 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:\Transactions\BL_SFE.resx Resource transformation for
file 'BL_SFE.resx' failed. Possible Version mismatch.
Type System.Globalization.DateTimeFormatInfo 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
DateTimeFormatInfo 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*******@discussions.microsoft.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.Globalization.DateTimeFormatInfo 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
DateTimeFormatInfo 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*******@discussions.microsoft.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.Globalization.DateTimeFormatInfo 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
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...
7
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...
0
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). ...
0
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...
47
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...
1
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...
1
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...
2
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...
4
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...
10
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,...
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...
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...
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...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.