在qq浏览器兼容模式下报错,在极速模式下正常,哪里的问题哦
错误描述:Error
System.Web.HttpException: 文件不存在。
在 System.Web.StaticFileHandler.GetFileInfo(String virtualPathWithPathInfo, String physicalPath, HttpResponse response)
在 System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context)
在 System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
------解决方案--------------------
这是服务器端代码,跟客户端什么浏览器没关系。
你是要上传吗?上传的时候不能得到客户端的路径的,只能得到文件名