Jump to content

Recommended Posts

Posted

Hi,

I don't know if its a problem or there is something i must do and i haven't !

my site is in asp.net developed in Microsoft web developer 2008 in C#. and it works fine in the localhost

I've uploded it using ftp . when i try to log into a page that displaying data from access data base that locketed

in the app_data folder its gives me the flowing error msg :

 

And Thank U !

 

Server Error in '/' Application
Object reference not set to an instance of an object

Description: HTTP 500. Error processing request.

Stack Trace:

System.NullReferenceException: Object reference not set to an instance of an object
 at System.Web.UI.WebControls.AccessDataSourceView.ExecuteSelect (System.Web.UI.DataSourceSelectArguments arguments) [0x00000] in <filename unknown>:0 
 at System.Web.UI.DataSourceView.Select (System.Web.UI.DataSourceSelectArguments selectArgs, System.Web.UI.DataSourceViewSelectCallback callBack) [0x00000] in <filename unknown>:0 
 at System.Web.UI.WebControls.DataBoundControl.PerformSelect () [0x00000] in <filename unknown>:0 
 at System.Web.UI.WebControls.ListView.PerformSelect () [0x00000] in <filename unknown>:0 
 at System.Web.UI.WebControls.BaseDataBoundControl.DataBind () [0x00000] in <filename unknown>:0 
 at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound () [0x00000] in <filename unknown>:0 
 at System.Web.UI.WebControls.ListView.CreateChildControls () [0x00000] in <filename unknown>:0 
 at System.Web.UI.Control.EnsureChildControls () [0x00000] in <filename unknown>:0 
 at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] in <filename unknown>:0 
 at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] in <filename unknown>:0 
 at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] in <filename unknown>:0 
 at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] in <filename unknown>:0 
 at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] in <filename unknown>:0 
 at System.Web.UI.Page.ProcessLoadComplete () [0x00000] in <filename unknown>:0 
 at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0 
 at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 

Posted

You probably just have an error in your code. Please reduce your code to the smallest possible snippet that reproduces this issue, and then I'll take a look.

Guest
This topic is now closed to further replies.
×
×
  • Create New...