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

:Unquote

Any help?

Rgds
Ken.
Nov 20 '05 #1
4 1527
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
1956
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
6636
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
2615
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
1376
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
4482
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
4521
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
2831
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
3007
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
1941
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
2134
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
7207
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
7095
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
7294
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
7361
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
7470
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
5602
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,...
0
3183
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...
0
1523
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 ...
0
403
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.