
Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
>I am having problems using HttpContext.Current.Request.Url.Host.
>
[quoted text clipped - 21 lines]
> TIA,
> Brett
Yes sorry about that.
the message is Request is not available in this context.
Error Code: -2147467259
Stack Trace: a system.web.httpcontext.get_request()
> Brett,
>
[quoted text clipped - 27 lines]
>> TIA,
>> Brett
Marc Gravell - 29 Feb 2008 05:28 GMT
> the message is Request is not available in this context.
OK; so what *is* the context - i.e. where is this code, and when does
it run? i.e. is it part of a standard ASP.NET pipeline, or something
more exotic?
For the record, *if* this changed when you installed 3.5, then in
reality it is probably a change in "2.0 SP1", not 3.5. I mention this
simply because if it *is* a breaking change, you might need to watch
out for people installing "2.0 SP1" until you have fixed the offending
code.
Marc