Quick Nav:  Online Store   |   Login | Register

Getting Cast from string "" to type 'Date' is not valid.

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Philip Casey
<20 Posts
Posts:6


03/29/2004 5:16 PM  
A critical error has occurred.
Cast from string "" to type 'Date' is not valid.

When Users Goto Login

Using CSS Skins 2Ώ].2.3 for DNN2.0 - SnapsisDNNSkins2.2.3.zip

John Mitchell
<500Posts
Posts:355


03/30/2004 12:25 PM  
Please post the complete error trace, this may have something to do with the conversion of an old skin.  What skin are you using?
Philip Casey
<20 Posts
Posts:6


03/30/2004 3:21 PM  
AquaBlue (But I get this error when I use any but the 3 that come with dnn 2.0)

Line Number: 0
Column Number: 0
Method: Microsoft.VisualBasic.CompilerServices.DateType.FromString
Portal ID: 0
User ID: -1
Tab Name: Home
Database Version: 2.0.3
Windows Identity Name: NT AUTHORITY\NETWORK SERVICE
Stack Trace: at Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value, CultureInfo culture) at Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value) at Snapsis.DNN.Skins.Signin.Login() at Snapsis.DNN.Skins.Signin.txtPassword_OnTextChanged(Object sender, EventArgs e) at System.Web.UI.WebControls.TextBox.OnTextChanged(EventArgs e) at System.Web.UI.WebControls.TextBox.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() at System.Web.UI.Page.RaiseChangedEvents() at System.Web.UI.Page.ProcessRequestMain()
Additional Info:
John Mitchell
<500Posts
Posts:355


03/30/2004 3:57 PM  

Hmm, looks like it might be an issue with CultureInfo.

I'm guessing you are running this in some other culture than en-US? 

Not that using something other than en-US should be a problem, thanks for alerting me to it, I'll get it fixed as soon as I can.

Philip Casey
<20 Posts
Posts:6


03/30/2004 7:16 PM  
I don't think I changed it where is it set so I can go check it?
John Mitchell
<500Posts
Posts:355


03/30/2004 10:13 PM  
It's a windows setting.  I thought maybe you were in another country.
Philip Casey
<20 Posts
Posts:6


03/30/2004 11:02 PM  
No then I'm useing U.S. english
Do you think your be abble to find out whats going on and fix it? and if so about how long?
it's the only thing keeping me from loading my 2.0.3 site right now.
John Mitchell
<500Posts
Posts:355


03/31/2004 11:32 PM  
I can't reproduce this one.  If you are using the AquaBlue skin that was delivered in the package it should work.  If you can send the skin to me I might be able to figure out what is going on.  Or you could zip up your whole portal if you like.
Philip Casey
<20 Posts
Posts:6


04/01/2004 6:14 AM  
Ok do you need the Data Base as well? E-Mail Me at Philcasey@bellsouth.net and let me know where to send it.
John Mitchell
<500Posts
Posts:355


04/03/2004 3:42 PM  

I was finally able to track down this bug.  Seems that the DNN2.0 with the new data provider is using a default Minimum date which is actually just a time to handle Nulls alike across different DBs.

I just sent you an updated .dll to put in your bin directory which should take care of it.

Philip Casey
<20 Posts
Posts:6


04/03/2004 3:53 PM  
That fixed it thanks
Jason Dean
<20 Posts
Posts:6


05/18/2004 11:08 AM  
John,

I am getting this same error. Can you please send me the .dll that fixes the bug.

Thanks so much!!
Jason Dean
<20 Posts
Posts:6


05/18/2004 11:18 AM  
hmmmmmmmm....seems that when I uninstall the patch (CSS Skins 2Ώ].2.3 for DNN2.0 - SnapsisDNNSkins2.2.3.zip - SnapsisDNNSkins2.2.3.zip) everything works fine, yet when the patch is installed is when I'm getting the error.
John Mitchell
<500Posts
Posts:355


05/18/2004 6:32 PM  

The 2.2.3 patch is not really a patch but the first version of the module that was available for DNN2.0.

If you have version 2.5, you don't want to install an earlier version. 

If you are running on DNN2.0 then you need at least version 2.2.4 to get rid of this obscure problem.

Jason Dean
<20 Posts
Posts:6


05/18/2004 8:50 PM  
aaaaaaaaaaaaaaaaaaaahh, that's nice and misleading eh? Thanks for the info John. It's much appreciated.

-Jason
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >Bugs and other Issues > Getting Cast from string "" to type 'Date' is not valid.



ActiveForums 3.7
Powered by: Snapsis Software