“/发布”应用程序中的服务器错误。
未能映射路径“/”。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.InvalidOperationException: 未能映射路径“/”。
源错误:
行 288: {
行 289: _cache = new ArrayList();
行 290: DirectoryInfo dirInfo = new DirectoryInfo(Utils.GetMapPath(dirPath));
行 291: foreach (DirectoryInfo dir in dirInfo.GetDirectories())
行 292: {
源文件: e:\工作区,暂存区\工作区\DTcms\DTcms.Web.UI\HttpModule.cs 行: 290
堆栈跟踪:
[InvalidOperationException: 未能映射路径“/”。]
System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +8955850
System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath virtualPath) +42
System.Web.VirtualPath.MapPathInternal() +4
System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +107
System.Web.HttpRequest.MapPath(VirtualPath virtualPath) +37
System.Web.HttpServerUtility.MapPath(String path) +99
DTcms.Common.Utils.GetMapPath(String strPath) in E:\动力启航\DTcms\发布源码\3.0\MSSQL\3.0.0\DTcms.Common\Utils.cs:784
DTcms.Web.UI.HttpModule.GetSiteDirs(String cacheKey, String dirPath) in e:\工作区,暂存区\工作区\DTcms\DTcms.Web.UI\HttpModule.cs:290
DTcms.Web.UI.HttpModule.IsDirExist(String cacheKey, String webPath, String dirPath, String requestPath) in e:\工作区,暂存区\工作区\DTcms\DTcms.Web.UI\HttpModule.cs:260
DTcms.Web.UI.HttpModule.ReUrl_BeginRequest(Object sender, EventArgs e) in e:\工作区,暂存区\工作区\DTcms\DTcms.Web.UI\HttpModule.cs:49
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
版本信息: Microsoft .NET Framework 版本:2.0.50727.5477; ASP.NET 版本:2.0.50727.5479
------解决方案--------------------
和你的权限有关。