Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

Object reference not set to an instance of an object.

$
0
0

I have written the code for excel file upload. The error which i am getting is

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:

[NullReferenceException: Object reference not set to an instance of an object.]
   Master_UploadLvOPBal.btnUpload_Click(Object sender, EventArgs e) +3693
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +114
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +139
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +28
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2980

It is working locally but when I published on IIS it's not working.

I have added Ajax Control Tool kit (DLL) but still it's giving me the error.


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>