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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Server Error in /Server Error in /
Previous
 
Next
New Post
12/26/2011 9:28 AM
 

Hello and Merry Christmas everyone!

Pretty please, help me with this one!
I have one big problem I can't solve for quite some time, can someone please point me into the right direction so I can start fixing the problem.

I help maintaining a website which randomly crashes :( The same error repeating is this one:
click for bigger image
[click for bigger image]

Where should I start looking for the code, which put an index outside of bounds, usually those errors point to some line in code, but I can't find any here :(

After I rebooted the website through web.config reset I looked into the Event Viewer. You can see a red message with this error:
---------------------------------------------------------------------------------------------------------------
AssemblyVersion: 5.4.2
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /default.aspx?randval=0.35881220758892596
AbsoluteURL: /default..aspx
AbsoluteURLReferrer: http://www.... I removed the URL
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 3afab93c-a801-4376-a987-08e02f195637
InnerException: The type initializer for 'DotNetNuke.Entities.Users.UserController' threw an exception.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Collections.Generic.List`1.Insert
StackTrace:
Message: System.TypeInitializationException: The type initializer for 'DotNetNuke.Entities.Users.UserController' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Collections.Generic.List`1.Insert(Int32 index, T item) at System.Collections.ObjectModel.Collection`1.InsertItem(Int32 index, T item) at System.Collections.ObjectModel.KeyedCollection`2.InsertItem(Int32 index, TItem item) at System.Collections.ObjectModel.Collection`1.Add(T item) at DotNetNuke.ComponentModel.SimpleContainer.RegisterComponentInstance(String name, Type contractType, Object instance) at DotNetNuke.ComponentModel.AbstractContainer.RegisterComponentInstance[TContract](Object instance) at DotNetNuke.ComponentModel.ComponentFactory.RegisterComponentInstance[TContract](Object instance) at DotNetNuke.Security.Membership.AspNetMembershipProvider..ctor() --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture) at DotNetNuke.Framework.Reflection.CreateInstance(Type Type) at DotNetNuke.ComponentModel.SingletonComponentBuilder.CreateInstance() at DotNetNuke.ComponentModel.SingletonComponentBuilder.BuildComponent() at DotNetNuke.ComponentModel.SimpleContainer.GetComponent(IComponentBuilder builder) at DotNetNuke.ComponentModel.SimpleContainer.GetComponent(Type contractType) at DotNetNuke.ComponentModel.AbstractContainer.GetComponent[TContract]() at DotNetNuke.ComponentModel.ComponentFactory.GetComponent[TContract]() at DotNetNuke.Security.Membership.MembershipProvider.Instance() at DotNetNuke.Entities.Users.UserController..cctor() --- End of inner exception stack trace --- at DotNetNuke.Entities.Users.UserController.GetUserCountByPortal(Int32 portalId) at DotNetNuke.Entities.Portals.PortalInfo.Fill(IDataReader dr) at DotNetNuke.Common.Utilities.CBO.FillObjectFromReader(Object objObject, IDataReader dr) at DotNetNuke.Common.Utilities.CBO.CreateObjectFromReader(Type objType, IDataReader dr, Boolean closeReader) at DotNetNuke.Common.Utilities.CBO.FillObject[TObject](IDataReader dr) at DotNetNuke.Entities.Portals.PortalController.GetPortalCallback(CacheItemArgs cacheItemArgs) at DotNetNuke.Common.Utilities.DataCache.GetCachedData[TObject](CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired, Boolean storeInDictionary)
Source:
---------------------------------------------------------------------------------------------------------------

Can please someone look intothis and help me!
Thank you very much for your time!

William

 
New Post
12/26/2011 5:12 PM
 
there seems to be an issue with DNN/ASP.Net membership component. Is there any special membership configuration? You might also try upgrading to 5.6.5 and try again.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Server Error in /Server Error in /


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