Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0103: The name 'theUrl' does not exist in the current context

Source Error:


Line 22:     // We will now try to determine the clinic's airport code by examining the URL page name
Line 23:     //
Line 24:     string clinicAptCode = theUrl.Segments[Request.Url.Segments.Length - 1];
Line 25:     
Line 26:     clinicAptCode = clinicAptCode.Substring(0, clinicAptCode.IndexOf("_"));

Source File: g:\pleskvhosts\cessnas2oshkosh.com\httpdocs\clinics\x35_clinic.aspx    Line: 24





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