Access to the path 'E:\web\qpxx\pic\jack.swf' is denied-------------error-----------
Line 289: Protected Sub Button4_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button4.Click
Line 290: File.Delete(Server.MapPath("pic/" & "jack.swf"))
还有服务器权限问题不过服务器商说权限都没有问题,要怎样解决了,还有就是还有别外的删除方法吗
Line 289: Protected Sub Button4_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button4.Click
Line 290: File.Delete(Server.MapPath("pic/" & "jack.swf"))
还有服务器权限问题不过服务器商说权限都没有问题,要怎样解决了,还有就是还有别外的删除方法吗
要不试试更改只读
System.IO.File.SetAttributes(filepath, System.IO.FileAttributes.Normal);