Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 07, 2012 10:21 AM by AmalO.Abdullah
May 07, 2012 06:33 AM|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|LINK
Check the Load event of page. might be you are checking some value like Session etc..
there must be an error in that page,, try to debug it and see what's the error and in which line.
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|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|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|LINK
I did not check any session, and i donot have any error on that page.
May 07, 2012 09:01 AM|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|LINK
can you show us your error page please.
May 07, 2012 10:20 AM|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.