Last post May 07, 2012 10:21 AM by AmalO.Abdullah
May 07, 2012 06:33 AM|ssjGanesh|LINK
If i access a link from my inbox it perfectly redirected to all pages in my site.
but it does not redirected to particular page only, it gives me
" object reference not set to an instance of onject"
For the above page CheckVerificationCode.aspx i am getting error,
but if i change any other page like,
it redirected to that page correctly.
I also checked i have that page(CheckVerificationCode.aspx) in my application.
May 07, 2012 06:37 AM|Rajneesh Verma|LINK
Check the Load event of page. might be you are checking some value like Session etc..
May 07, 2012 06:37 AM|AmalO.Abdullah|LINK
there must be an error in that page,, try to debug it and see what's the error and in which line.
May 07, 2012 06:37 AM|tusharrs|LINK
post the screen shot for the error it displays
also put a breakpoint on the page load event and see that it reaches there
May 07, 2012 06:45 AM|Primillo|LINK
Check the querystring
string sName = Request.QueryString["firstName"];
You are using querystring in all three pages? or session? ...
May 07, 2012 08:44 AM|ssjGanesh|LINK
I checked all things, actually that link send by me to user mail, and then they trying to click that. but it does not redirected to that page.
May 07, 2012 08:53 AM|ssjGanesh|LINK
I did not check any session, and i donot have any error on that page.
May 07, 2012 09:01 AM|nilsan|LINK
actually that link send by me to user mail, and then they trying to click that. but it does not redirected to that page.
Well, it actually redirects to your mentioned page but it is throwing error.
It generates below link,
and I guess there's some flow in your logic after reading querystring value. Check for null values.
You might want to check out generated stack trace, it will help you out to solve the error.
May 07, 2012 10:19 AM|AmalO.Abdullah|LINK
can you show us your error page please.
May 07, 2012 10:20 AM|ssjGanesh|LINK
I found the a runtime error in that page.Now its working.
Anyways i got ideas from ur post thats y i could found that.
Thanks 1 sec.
May 07, 2012 10:21 AM|AmalO.Abdullah|LINK
good for you :)