Handled Error popup?

Posted by Laghaterohan under Regular Expressions on 3/7/2011 | Points: 10 | Views : 1324 | Status : [Member] | Replies : 3
Hi,

Suddenly i am getting following pop up when i run my asp.net application :

Error:
This is a Handled Exception.

Message: Response is not available in this context.

What can be the reason?

Best Regards,
Rohan Laghate



Responses

Posted by: Prabhakar on: 3/8/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Laghaterohan

show ur code . . what you write it. . i think u not set path your popup page . . u run popup with java script

<script type="text/javascript">
window.onload = function() { window.open("LatestPopUp.aspx"); }
</script>

Best Regard's
Prabhakar

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Laghaterohan on: 3/8/2011 [Member] Starter | Points: 25

Up
0
Down
Hello,

Apparently the problem started when i wrote code in Global.ascx page under Session_End to redirect the user to the Login page when the session has ended.

Instead of writing it under Session_End do i need to write it under Session_Start?


Thanks!

Best Regards,
Rohan Laghate

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Madhu.b.rokkam on: 3/8/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
So is that mean your problem is resolved ??

Thanks and Regards
Madhu

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response