HomeHomeDotNetNuke Forg...DotNetNuke Forg...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
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsForumForum"Not a legal OleAut date""Not a legal OleAut date"


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.