Server Error in '/' Application.

Value cannot be null.
Parameter name: virtualPath

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: virtualPath

Source Error:


Line 149:			End If
Line 150:
Line 151:			If strNewURL <> "" Then Context.RewritePath(strNewURL)
Line 152:
Line 153:			mySqlConnection.Close()

Source File: C:\HostingSpaces\rochfordw\www.rochfordwines.com.au\www\global.asax    Line: 151

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: virtualPath]
   System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +11973243
   System.Web.HttpContext.RewritePath(String path, Boolean rebaseClientPath) +130
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in C:\HostingSpaces\rochfordw\www.rochfordwines.com.au\www\global.asax:151
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0