dbTalk Databases Forums  

Could not load type 'System.DateTimeOffset' from assembly 'mscorlib,Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss Could not load type 'System.DateTimeOffset' from assembly 'mscorlib,Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ilaya raj
 
Posts: n/a

Default Could not load type 'System.DateTimeOffset' from assembly 'mscorlib,Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. - 05-11-2011 , 07:47 AM






hi
I am using vs2.0 sp1 and back-end server db2 9.7(fixpack1).I am
getting the following error if am installing db2 9.7 (fixpack4).

Could not load type 'System.DateTimeOffset' from assembly 'mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Above error is coming only when am using db2provider.if am using oledb
provider above error is not coming.
But My application is working fine with fixpack1 for both the
providers(db2,oledb)
can any one give a solution to resolve this issue?

Reply With Quote
  #2  
Old   
The Boss
 
Posts: n/a

Default Re: Could not load type 'System.DateTimeOffset' from assembly'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. - 05-11-2011 , 05:10 PM






On 11 mei, 14:47, ilaya raj <rajxi.... (AT) gmail (DOT) com> wrote:
Quote:
hi
I am using vs2.0 sp1 and back-end server db2 9.7(fixpack1).I am
getting the following error if am installing db2 9.7 (fixpack4).

Could not load type 'System.DateTimeOffset' from assembly 'mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Above error is coming only when am using db2provider.if am using oledb
provider above error is not coming.
But My application is working fine with fixpack1 for both the
providers(db2,oledb)
can any one give a solution to resolve this issue?
I don't think this is DB2 related in any way.
You probably need to reinstall your VisualStudio as suggested in this
similar discussion for another product using VS:
http://community.codesmithtools.com/...px?PageIndex=1
Also the following link for troubleshooting could be useful:
http://www.ironspeed.com/Designer/6....ass embly.htm

HTH

--
Jeroen

Reply With Quote
  #3  
Old   
The Boss
 
Posts: n/a

Default Re: Could not load type 'System.DateTimeOffset' from assembly'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. - 05-11-2011 , 05:17 PM



On 12 mei, 00:10, The Boss <nlt... (AT) baasbovenbaas (DOT) demon.nl> wrote:
Quote:
On 11 mei, 14:47, ilaya raj <rajxi.... (AT) gmail (DOT) com> wrote:

hi
I am using vs2.0 sp1 and back-end server db2 9.7(fixpack1).I am
getting the following error if am installing db2 9.7 (fixpack4).

Could not load type 'System.DateTimeOffset' from assembly 'mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Above error is coming only when am using db2provider.if am using oledb
provider above error is not coming.
But My application is working fine with fixpack1 for both the
providers(db2,oledb)
can any one give a solution to resolve this issue?

I don't think this is DB2 related in any way.
You probably need to reinstall your VisualStudio as suggested in this
similar discussion for another product using VS:http://community.codesmithtools.com/...6.aspx?PageInd...
Also the following link for troubleshooting could be useful:http://www.ironspeed.com/Designer/6....Could_not_load...

It also could be you need to reinstall/repair your .net Framework as
hinted at on this link:
http://answers.microsoft.com/en-us/w...7-b19418fe65fc

--
Jeroen

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.