Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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 ForumsEventsEventsCritical Error on Event module insertion (out of bounds)Critical Error on Event module insertion (out of bounds)
Previous
 
Next
New Post
11/25/2007 12:27 PM
 

Hi to Everybody,

 

I was trying to create a portal (I'm novel of DNN :) when, after the insertion of the events module on a fresh dnn page, the sytem returned this "Critical Error ":

"Index was outside the bounds of the array."

after, the module appares, but is empty.

I've tryied to refresh the page, deleting the module and re-insert, reinstalling the module from the sources... nothing changes.

 

this is the output log from the admin log viewer:

------------------------------

  25/11/07 17.57.05   Page Load Exception   host     AssemblyVersion: 04.07.00; PortalID: 0; PortalNa ...
AssemblyVersion: 04.07.00
PortalID: 0
PortalName:
GNAGNA
UserID: 1
UserName: host
ActiveTabID: 71
ActiveTabName: News, Eventi e Fiere
RawURL: /
GNAGNA/Home/Utilities/NewsEventieFiere/tabid/71/Default.aspx
AbsoluteURL: /
GNAGNA/Default.aspx
AbsoluteURLReferrer: http://localhost/
GNAGNA/Home/Utilities/NewsEventieFiere/tabid/71/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 25a9baf7-db1f-4adb-87c6-f4329f886784
InnerException: Index was outside the bounds of the array.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Globalization.DateTimeFormatInfo.InsertHash
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Index was outside the bounds of the array. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Globalization.DateTimeFormatInfo.InsertHash(TokenHashValue[] hashTable, String str, TokenType tokenType, Int32 tokenValue) at System.Globalization.DateTimeFormatInfo.CreateTokenHashTable() at System.Globalization.DateTimeFormatInfo.Tokenize(TokenType TokenMask, TokenType& tokenType, Int32& tokenValue, __DTString& str) at System.__DTString.GetSeparatorToken(DateTimeFormatInfo dtfi) at System.DateTimeParse.Lex(DS dps, __DTString& str, DateTimeToken& dtok, DateTimeRawInfo& raw, DateTimeResult& result, DateTimeFormatInfo& dtfi) at System.DateTimeParse.TryParse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, DateTimeResult& result) at System.DateTimeParse.TryParse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, DateTime& result) at System.DateTime.TryParse(String s, IFormatProvider provider, DateTimeStyles styles, DateTime& result) at Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value, CultureInfo culture) at Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value) at DotNetNuke.Modules.Events.EventBase.set_SelectedDate(DateTime Value) at DotNetNuke.Modules.Events.EventBase.get_SelectedDate() at DotNetNuke.Modules.Events.EventMonth.BindDataGrid() at DotNetNuke.Modules.Events.EventMonth.Page_PreRender(Object sender, EventArgs e) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Nome server: GNASKYSTATION
  25/11/07 17.57.04   Module Load Exception   host     ModuleId: 416; ModuleDefId: 101; FriendlyName ...
ModuleId: 416
ModuleDefId: 101
FriendlyName: Eventi
ModuleControlSource: DesktopModules/Events/Events.ascx
AssemblyVersion: 04.07.00
PortalID: 0
PortalName:
GNAGNA
UserID: 1
UserName: host
ActiveTabID: 71
ActiveTabName: News, Eventi e Fiere
RawURL: /
GNAGNA/Home/Utilities/NewsEventieFiere/tabid/71/Default.aspx
AbsoluteURL: /
GNAGNA/Default.aspx
AbsoluteURLReferrer: http://localhost/
GNAGNA/Home/Utilities/NewsEventieFiere/tabid/71/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 22e9df36-5a56-4b5f-855b-4ec834ead631
InnerException: Index was outside the bounds of the array.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Globalization.DateTimeFormatInfo.InsertHash
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Index was outside the bounds of the array. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Globalization.DateTimeFormatInfo.InsertHash(TokenHashValue[] hashTable, String str, TokenType tokenType, Int32 tokenValue) at System.Globalization.DateTimeFormatInfo.CreateTokenHashTable() at System.Globalization.DateTimeFormatInfo.Tokenize(TokenType TokenMask, TokenType& tokenType, Int32& tokenValue, __DTString& str) at System.__DTString.GetSeparatorToken(DateTimeFormatInfo dtfi) at System.DateTimeParse.Lex(DS dps, __DTString& str, DateTimeToken& dtok, DateTimeRawInfo& raw, DateTimeResult& result, DateTimeFormatInfo& dtfi) at System.DateTimeParse.TryParse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, DateTimeResult& result) at System.DateTimeParse.TryParse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, DateTime& result) at System.DateTime.TryParse(String s, IFormatProvider provider, DateTimeStyles styles, DateTime& result) at Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value, CultureInfo culture) at Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value) at DotNetNuke.Modules.Events.EventBase.set_SelectedDate(DateTime Value) at DotNetNuke.Modules.Events.EventBase.get_SelectedDate() at DotNetNuke.Modules.Events.EventMonth.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Nome server: GNASKYSTATION

 

Could someone help me?

Thanks,

 

Daniel

 
New Post
11/26/2007 2:39 AM
 

up.

 
New Post
12/8/2007 6:58 AM
 

Well... I finally foundthe problem...

it is... related to localization... infacts... when localizated in italian, it don't works...

I suppose is something related to the date handling... since in italy we use the DD-MM-YYYY format instead of MM-DD-YYYY.

Could anyone helpme to fix it?

 

/D

 
New Post
12/8/2007 1:55 PM
 

I'm not sure that this issue is localization related - I have the German language pack (de-DE) installed, which uses the DD.MM.YYYY format, and had never such a problem. To make sure, I just downloaded the latest Italian language pack (04.06.02), and could create a new Events module without problems. I'm using DNN 4.7.0 and Events 3.3.8. Do you have older versions?

after, the module appares, but is empty.
Do you mean, you see an empty calendar? Or just an empty module container?

 
New Post
12/9/2007 6:36 AM
 

First of all... thanks for answering me :)

Now... i'm using DNN v 4.7 with events 3.3.8...

it works well in english... but in italian appears only the "critical error" message before (and outside) the module box...

all the following boxes are displayed with empty content... including the events module.

 

That is... i have no idea about how to fix it... and I've not only this problem with DNN standard modules... could it be related to the developing platform?

(i've configured a IIS v5 with asp.net 2 & sqlespress 2005 )

 

Thanks in advance,

/D

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsCritical Error on Event module insertion (out of bounds)Critical Error on Event module insertion (out of bounds)


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out