“/”应用程序中的服务器错误。

不支持给定路径的格式。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.NotSupportedException: 不支持给定路径的格式。

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[NotSupportedException: 不支持给定路径的格式。]
   System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) +14190619
   System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) +316
   System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +121
   System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) +94
   System.Web.InternalSecurityPermissions.PathDiscovery(String path) +42
   System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +180
   System.Web.HttpServerUtility.MapPath(String path) +130
   Intelligencia.UrlRewriter.Utilities.HttpContextFacade.InternalMapPath(String url) +93
   Intelligencia.UrlRewriter.RewriterEngine.HandleDefaultDocument(RewriteContext context) +530
   Intelligencia.UrlRewriter.RewriterEngine.Rewrite() +1425
   Intelligencia.UrlRewriter.RewriterHttpModule.BeginRequest(Object sender, EventArgs e) +183
   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


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4330.0