Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error after renaming a web form
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Error after renaming a web form
Miscellaneous
Thread ID:
00690856
Message ID:
00690856
Views:
46
Hi,

In the process of making major changes to a web form, I renamed the original 'DataDictDownload' to 'DataDictDownload_old'.

I then backed-up 'DataDictDownload_old' to another folder and deleted it from the app folder - now when I run 'DataDictDownload', whenever I try to postback to the server (i.e. when clicking a command button), I get the following error:
[NullReferenceException: Object reference not set to an instance of an object.]
   LuckyDogSystems.DataDictDownload.fnValidateInput()
   LuckyDogSystems.DataDictDownload.cmdDownload_Click(Object sender, EventArgs e)
   System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   System.Web.UI.Page.ProcessRequestMain()
In fact, I even added a new commandbutton with one line of code - simply setting the visible property of a label to false. I received the same error on clicking this new button ...

I can't figure it out, because I do have the '.aspx', '.aspx.resx' and '.aspx.vb' files in place. Any ideas where the problem may be?
Al Williams

Anola MB, CANADA
Next
Reply
Map
View

Click here to load this message in the networking platform