Server Error in '/institucional' 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 38:                 _Empreendimento = ViewState("Empreendimento")
Line 39:             End If
Line 40:             Return _Empreendimento(0)
Line 41:         End Get
Line 42:     End Property

Source File: E:\SITES\JOAOFORTES240\Root_www.joaofortes.com.br\institucional\ficha.aspx.vb    Line: 40

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   ficha.get_Empreendimento() in E:\SITES\JOAOFORTES240\Root_www.joaofortes.com.br\institucional\ficha.aspx.vb:40
   ficha.CarregarFicha() in E:\SITES\JOAOFORTES240\Root_www.joaofortes.com.br\institucional\ficha.aspx.vb:101
   ficha.CarregarLoad() in E:\SITES\JOAOFORTES240\Root_www.joaofortes.com.br\institucional\ficha.aspx.vb:84
   ficha.Page_Load(Object sender, EventArgs e) in E:\SITES\JOAOFORTES240\Root_www.joaofortes.com.br\institucional\ficha.aspx.vb:76
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8009; ASP.NET Version:2.0.50727.8015