Ask a Question related to ASP.NET General, Design and Development.
-
Todd Plambeck #1
Mystery Error
I have a website with about 100 users. They all seem to work fine except
one. When they go from the main page to a page containing a webgrid
containing delivery addresses, an error is thrown. Here's the code that
causes the error:
' Store URL Referrer
ViewState("UrlReferrer") = Request.UrlReferrer.ToString()
Here's the error description:Object reference not set to an instance of an
object.
They are using IE 6 and it happens on all the PC's in their office. Any
ideas what would cause this not to work on just this one customer?
Thanks,
Todd
Todd Plambeck Guest
-
Here's a mystery
:confused; For some time now I have been having problems with my computer radomly rebooting. I began investigating the problem and have come to the... -
GetRows Mystery
I'm facing an odd behavior in using the GetRows Method. I'm not sure what's causing it because it has been working fine until now. I have a sproc... -
Mystery to ME! -Solution
I finally found a solution to my delimena. Director sees the frame labels as strings not integers. My code was looking for an integer. The labels... -
Mystery to ME!
Update - I've narrowed the problem down some. go to label(gFinalExam])deleteAt gFinal, 1 I've removed all the if statements and am checking this... -
OS 9.0.2 mystery
Daughter was "helping" grandma with grandma's OS 9 notebook - changing this and changing that so it would "work better." Now grandpa who has been... -
Victor Garcia Aprea [MVP] #2
Re: Mystery Error
Hi Todd,
You should check that UrlReferrer is not null before trying to call>>>> ViewState("UrlReferrer") = Request.UrlReferrer.ToString()
ToString() on it.
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
[url]http://obies.com/vga/blog.aspx[/url]
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
and not by private mail.
"Todd Plambeck" <tplam@nospamflash.net> wrote in message
news:%23AUPU3nSDHA.632@TK2MSFTNGP12.phx.gbl...> I have a website with about 100 users. They all seem to work fine except
> one. When they go from the main page to a page containing a webgrid
> containing delivery addresses, an error is thrown. Here's the code that
> causes the error:
>
> ' Store URL Referrer
> ViewState("UrlReferrer") = Request.UrlReferrer.ToString()
>
> Here's the error description:Object reference not set to an instance of an
> object.
>
> They are using IE 6 and it happens on all the PC's in their office. Any
> ideas what would cause this not to work on just this one customer?
>
> Thanks,
>
> Todd
>
>
>
>
>
Victor Garcia Aprea [MVP] Guest



Reply With Quote

