ameriaadmin
asked on
iis error
hello
hello experts.
i have problem with my website on iis 8.5 on windows server 2012r2.
the site shows error below
.......................... ......
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.IndexOutOfRangeExce ption: Index was outside the bounds of the array.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.]
System.Collections.ArrayLi st.Contain s(Object item) +14405636
UserControls_GadgetControl .Page_Load (Object sender, EventArgs e) +152
System.Web.UI.Control.Load Recursive( ) +71
System.Web.UI.Control.Load Recursive( ) +190
System.Web.UI.Control.Load Recursive( ) +190
System.Web.UI.Control.Load Recursive( ) +190
System.Web.UI.Control.Load Recursive( ) +190
System.Web.UI.Control.Load Recursive( ) +190
System.Web.UI.Page.Process RequestMai n(Boolean includeStagesBeforeAsyncPo int, Boolean includeStagesAfterAsyncPoi nt) +3178
__________________________ __________ ____
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.33440
hello experts.
i have problem with my website on iis 8.5 on windows server 2012r2.
the site shows error below
..........................
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.IndexOutOfRangeExce
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[IndexOutOfRangeException:
System.Collections.ArrayLi
UserControls_GadgetControl
System.Web.UI.Control.Load
System.Web.UI.Control.Load
System.Web.UI.Control.Load
System.Web.UI.Control.Load
System.Web.UI.Control.Load
System.Web.UI.Control.Load
System.Web.UI.Page.Process
__________________________
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.33440
ASKER
i'm not a developer. i don't understand your answer. is it possible to introduce clearly?
Hi ameriaadmin,
This error is not causing because of your server environment like iis/Operating system.
You will get this if you use an index that is higher than the items in the array. You need to check if the integer is within the index range of the array.
This error is not causing because of your server environment like iis/Operating system.
You will get this if you use an index that is higher than the items in the array. You need to check if the integer is within the index range of the array.
ASKER
the problem still exist
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
we cant find the problem, but it was in auto updated module.
Check all the loop you are refeering to in your application code.
Regards