Yada Yahweh Forum
»
Forum Administration
»
Technical Support
»
Server Error in '/' Application. Index was outside the bounds of the array.
Joined: 7/3/2007(UTC) Posts: 1,120
|
Shalom,
Been getting this message when I click on the topics:
Server Error in '/' Application. Index was outside the bounds of the array. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Source Error:
Line 764: rx = new Regex(Constants.UserBox.Location); Line 765: Line 766: if ( UserProfile.Location != string.Empty ) Line 767: { Line 768: filler = String.Format(
Source File: d:\webs\getoo1000a\controls\DisplayPost.ascx.cs Line: 766
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.] System.Array.Clear(Array array, Int32 index, Int32 length) +0 System.Collections.Generic.List`1.Clear() +31 YAF.Providers.Profile.YafProfileProvider.LoadFromPropertyCollection(SettingsPropertyCollection collection) in C:\Documents and Settings\joe\My Documents\dev\YAF\YAF.Providers\Profile\YafProfileProvider.cs:131 YAF.Providers.Profile.YafProfileProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection collection) in C:\Documents and Settings\joe\My Documents\dev\YAF\YAF.Providers\Profile\YafProfileProvider.cs:400 System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider) +258 System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName) +132 System.Configuration.SettingsBase.get_Item(String propertyName) +102 System.Web.Profile.ProfileBase.GetInternal(String propertyName) +36 System.Web.Profile.ProfileBase.get_Item(String propertyName) +68 YAF.Classes.Utils.YafUserProfile.get_Location() +10 YAF.Controls.DisplayPost.FormatUserBox() in d:\webs\getoo1000a\controls\DisplayPost.ascx.cs:766 ASP.controls_displaypost_ascx.__DataBind__control6(Object sender, EventArgs e) in d:\webs\getoo1000a\controls\DisplayPost.ascx:41 System.Web.UI.Control.OnDataBinding(EventArgs e) +99 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +92 System.Web.UI.Control.DataBind() +15 System.Web.UI.Control.DataBindChildren() +211 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102 System.Web.UI.Control.DataBind() +15 System.Web.UI.Control.DataBindChildren() +211
etc. etc.
|
The reverence of Yahweh is the beginning of Wisdom. |
|
|
|
Joined: 6/2/2007(UTC) Posts: 104
Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: bitnet Shalom,
Been getting this message when I click on the topics:
Server Error in '/' Application. Index was outside the bounds of the array. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Source Error:
Line 764: rx = new Regex(Constants.UserBox.Location); Line 765: Line 766: if ( UserProfile.Location != string.Empty ) Line 767: { Line 768: filler = String.Format(
Source File: d:\webs\getoo1000a\controls\DisplayPost.ascx.cs Line: 766
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.] System.Array.Clear(Array array, Int32 index, Int32 length) +0 System.Collections.Generic.List`1.Clear() +31 YAF.Providers.Profile.YafProfileProvider.LoadFromPropertyCollection(SettingsPropertyCollection collection) in C:\Documents and Settings\joe\My Documents\dev\YAF\YAF.Providers\Profile\YafProfileProvider.cs:131 YAF.Providers.Profile.YafProfileProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection collection) in C:\Documents and Settings\joe\My Documents\dev\YAF\YAF.Providers\Profile\YafProfileProvider.cs:400 System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider) +258 System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName) +132 System.Configuration.SettingsBase.get_Item(String propertyName) +102 System.Web.Profile.ProfileBase.GetInternal(String propertyName) +36 System.Web.Profile.ProfileBase.get_Item(String propertyName) +68 YAF.Classes.Utils.YafUserProfile.get_Location() +10 YAF.Controls.DisplayPost.FormatUserBox() in d:\webs\getoo1000a\controls\DisplayPost.ascx.cs:766 ASP.controls_displaypost_ascx.__DataBind__control6(Object sender, EventArgs e) in d:\webs\getoo1000a\controls\DisplayPost.ascx:41 System.Web.UI.Control.OnDataBinding(EventArgs e) +99 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +92 System.Web.UI.Control.DataBind() +15 System.Web.UI.Control.DataBindChildren() +211 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102 System.Web.UI.Control.DataBind() +15 System.Web.UI.Control.DataBindChildren() +211
etc. etc.
|
|
|
|
Yada Yahweh Forum
»
Forum Administration
»
Technical Support
»
Server Error in '/' Application. Index was outside the bounds of the array.
Forum Jump
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You can create polls in this forum.
You can vote in polls in this forum.