Help debugging...where do I look?

D

Darrel

I've built a mini-CMS tool that one can use to upload and resize images
with.

It's been working fine for months.

All of the sudden, when attempting to upload an image, I now get this error:

-----------------
[NullReferenceException: Object reference not set to an instance of an
object.]
yorsho.slide_edit.btn_saveNew_Click(Object sender, EventArgs e)
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292
-------------

The object reference error. Ugh. DOes anyone see anything in the above that
would give me a hint as to where to look? Any idea what could have possibly
been changed on the server that would now cause an error from file
uploading? I'm completely at a loss here, as it's worked fine for months and
I didn't change a thing when it stopped working.

-Darrel
 
D

Darrel

Could you please show us some more code of the btn_saveNew_Click

Well, let me get and back to you on that. I'll post a new thread in a few
days if I can't narrow it down. I'm going to have to go through all my code
and add a bunch of try/catches I think to try and narrow the specific issue.
I'm just stumped as to why it would stop working on its own. My guess is
that the web host messed with permissions on the server.

-Darre;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top