Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error after renaming a web form
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Error after renaming a web form
Divers
Thread ID:
00690856
Message ID:
00690856
Vues:
47
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform