I’m developing an ASP.NET website in Visual Studio 2008. The thing is that I changed a line in the code. This change threw an exception (NullReferenceException) at runtime. After I changed the line back it still throws the same exception. I want to follow the stack trace to look into the error and solve it. Can you guys give some tips? Thanks.
EDIT:
I’m developing a Web Map Application with ArcGIS Server 9.3.1, Here’s the stack trace:
[NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.]
ESRI.ArcGIS.ADF.Web.UI.WebControls.DataSourceManager.AddDataSourceInstance(String type, String name, String identity, String definition) +666
ESRI.ArcGIS.ADF.Web.UI.WebControls.MapResourceItem.CreateResource() +404
ESRI.ArcGIS.ADF.Web.UI.WebControls.GISResourceManager2.initResourceItems() +170
ESRI.ArcGIS.ADF.Web.UI.WebControls.GISResourceManager2.OnInit(EventArgs e) +149
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
1 Answer