Server Error in '/' Application.

The given path's format is not supported.

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.NotSupportedException: The given path's format is not supported.

Source Error:


Line 813:        if (Request.Url.AbsolutePath.Length < 248)
Line 814:        {
Line 815:            var fi = new System.IO.FileInfo(AbsolutePath);
Line 816:            var ext = fi.Extension;
Line 817:            if (!string.IsNullOrWhiteSpace(ext))

Source File: e:\IndiaartBackup\Global.asax    Line: 815

Stack Trace:


[NotSupportedException: The given path's format is not supported.]
   System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) +14302692
   System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath) +164
   System.IO.FileInfo.Init(String fileName, Boolean checkHost) +58
   ASP.global_asax.HasExtention() in e:\IndiaartBackup\Global.asax:815
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in e:\IndiaartBackup\Global.asax:638
   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.4494.0