Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForum"Not a legal OleAut date""Not a legal OleAut date"
Previous
 
Next
New Post
8/21/2006 7:28 AM
 

What is " Not a legal OleAut date"

AssemblyVersion: 04.03.04
PortalID: 0
PortalName: Forumresurs
UserID: 6
UserName: Westham
ActiveTabID: 53
ActiveTabName: Forum
RawURL: /Forum/tabid/53/ctl/configuration/mid/369/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.forumresurs.se/Forum/tabid/53/ctl/ForumAdministration/mid/369/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 32c88121-251b-472e-b755-2f773e85b747
InnerException: Not a legal OleAut date.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DateTime.DoubleDateToTicks
StackTrace:
Message: System.ArgumentException: Not a legal OleAut date. at System.DateTime.DoubleDateToTicks(Double value) at System.DateTime.FromOADate(Double d) at DotNetNuke.Modules.Forum.Utils.NumToDate(Double n) at DotNetNuke.Modules.Forum.Settings.Page_Load(Object sender, EventArgs e)
Source:
Namn på Server: GENERIC01

 
New Post
8/22/2006 11:39 AM
 
I have no idea what this is, never seen an error like this for anything.

Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
11/8/2006 11:57 PM
 

crispy,

I think the problem is with the lastindexed date and it cannot convert it to an oledate.  I believe it is in the module info fetch.  My portal says the last indexed date is 1/1/0001 12:00:00 AM 

The problem lies in that I don't think this is a valid oledate which can only be between

-657435.0 and 2958466.0 as a double.

This is the culprit..Need to set the last indexed date

Public Shared Function NumToDate(ByVal n As Double) As Date

Return Date.FromOADate(n)

End If

End Function


Version: DNN 4.4.1
Hosting Provider: 1and1
RAISE
 
New Post
11/9/2006 12:24 AM
 
did a little research for ya crispy and the lastindexdate had some really weird value like 287328,293 in it.  I reset it back to 0 and I didn't get this error anymore when I brought up the forum administration page.  I'd check how you are saving the in the forumthreadsettings.vb module or how you are initializing the modulesettings table for the lastindexdate setting and it's settingvalue field...

objModules.UpdateModuleSetting(ModInfo.ModuleID, "LastIndexDate", DateToNum(LastIndexDate).ToString)


Version: DNN 4.4.1
Hosting Provider: 1and1
RAISE
 
New Post
11/9/2006 6:55 PM
 

I have to try and reproduce this somehow, but I can tell you why it was changed. This is stored as a module setting, which is stored as a string. The way the Search indexer works, there isn't much I can do about this. So, in order to handle the various data formats are (and since I cannot store it as a date type) I had to turn to this way to calculate date.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForum"Not a legal OleAut date""Not a legal OleAut date"


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Copyright 2014 by DNN Corp | Terms of Use | Privacy | Design by Parker Moore Design