#42011/3/23 17:53:53
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------
不支持给定路径的格式。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.NotSupportedException: 不支持给定路径的格式。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[NotSupportedException: 不支持给定路径的格式。]
System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) +2783434
System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) +329
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +105
System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) +52
System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) +131
System.IO.Directory.CreateDirectory(String path) +6
H5D.Components.Common.Helpers.FileHelper.CreateDirectory(String dir) in D:\Job\Vs2008\WebForm\5D\H5D.Solution\H5D.Components.Common\Helpers\FileHelper.cs:123
H5D.Components.Common.Helpers.FileHelper.Save(Stream stream, String filename, String& comment, ResourceType file) in D:\Job\Vs2008\WebForm\5D\H5D.Solution\H5D.Components.Common\Helpers\FileHelper.cs:41
H5D.Components.Common.Helpers.FileHelper.Save(Stream stream, String filename, ResourceType file) in D:\Job\Vs2008\WebForm\5D\H5D.Solution\H5D.Components.Common\Helpers\FileHelper.cs:20
H5D.Web.Forum.Upload.btnSubmit_Click(Object sender, EventArgs e) in D:\Job\Vs2008\WebForm\5D\H5D.Solution\H5D.Web.Home\Forum\Upload.aspx.cs:49
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.1882; ASP.NET 版本:2.0.50727.1433
【我的画】有空大家可以到我的博客里闲聊,有事的话就加这个QQ:996588653
这样比较不浪费大家各自的时间
