Request.UrlReferrer.ToString() returns a error This code runs fine on my local machine but fails on the webhost server. Any ideas why ??? Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 73: Line 74: ' Store URL Referrer to return to portal Line 75: ViewState("UrlReferrer") = Request.UrlReferrer.ToString() Line 76: Source File: ..\DesktopModules\EditEvents.aspx Line: 75 I think some firewall issue. Please help me Post Edited By Moderator (mjp) : 5/21/2007 8:34:07 PM GMT