Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TypeLoadException on DateTimeFormat (Read 3137 times)
vaughandata
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Sep 14th, 2010
TypeLoadException on DateTimeFormat
Sep 14th, 2010 at 4:04pm
Print Post  
Hi Guys,

I have just upgraded my Planner .NET (Trial Version) to the full version and when i come to run my project i get

An unhandled exception of type 'System.TypeLoadException' occurred in mscorlib.dll

Additional information: Could not load a type.  Failed to partial bind to "MindFusion.Scheduling.Style, Calendar, Version=4.1.0.19866, Culture=neutral, PublicKeyToken=9bbcdceda2685d38".

Didnt notice this on the trial version. Was wondering if anyone else has seen it and knows of a resolution

many thanks

Ian
  
Back to top
 
IP Logged
 
vaughandata
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Sep 14th, 2010
Re: TypeLoadException on DateTimeFormat
Reply #1 - Sep 14th, 2010 at 4:09pm
Print Post  
sorry the line of code it fails on is......

Me.Calendar1.DateTimeFormat = CType(resources.GetObject("Calendar1.DateTimeFormat"), System.Globalization.DateTimeFormatInfo)
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: TypeLoadException on DateTimeFormat
Reply #2 - Sep 15th, 2010 at 6:27am
Print Post  
If you aren't using any custom DateTimeFormat values, simply remove that line of code (it will be regenerated the next time you open the containing form in the designer) and try to rebuild your application. If you are using custom values, remove the line of code causing the errors and reenter the values through the designer once you have replaced the control references.

Let me know if this works.

Regards,
Meppy
  
Back to top
 
IP Logged
 
vaughandata
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Sep 14th, 2010
Re: TypeLoadException on DateTimeFormat
Reply #3 - Sep 15th, 2010 at 8:56am
Print Post  
Thank you so much Meppy, that has sorted the problem
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint