Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 694
  • Last Modified:

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.IndexOutOfRangeException: 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.ArrayList.Contains(Object item) +14405636
   UserControls_GadgetControl.Page_Load(Object sender, EventArgs e) +152
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178

________________________________________
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.33440
0
ameriaadmin
Asked:
ameriaadmin
  • 4
1 Solution
 
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
This will ahve to do with your application code.

Check all the loop you are refeering to in your application code.

Regards
0
 
ameriaadminAuthor Commented:
i'm not a developer. i don't understand your answer. is it possible to introduce clearly?
0
 
Johny BravoCommented:
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.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
ameriaadminAuthor Commented:
the problem still exist
0
 
ameriaadminAuthor Commented:
we remove the auto updated module and all works ok
0
 
ameriaadminAuthor Commented:
we cant find the problem, but it was in auto updated module.
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now