Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi I have exception when i want to use Response.Redirect in IE but it works well in firefox and other browsers.
thanks.
Posted
Comments
OriginalGriff 25-Mar-12 2:23am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
Uday P.Singh 25-Mar-12 2:25am    
can you show us your code, so that we can help you better.

1 solution

This exception is the easiest to deal with. Just use the debugger.

The exception tells you that you have a null reference, and trying to call access a member of it. Run under debugger, find out in which line the exception is thrown. On a second run, put a breakpoint on the line where an exception is thrown. This way, the debugger will stop execution before the exception was thrown. At this point, examine variables for null. You dereference something which is supposed to be non-null. Find out why it happens and modify you code: either create a missing object or perform the check for null and provide workaround in case it is.

Next time, please use the debugger before asking questions like this one. In fact, use the debugger every time you have even a slightest concern of your run-time behavior.

Good luck,
—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900