ylbtech-Error-.NET:HashStream does not support seeking |
1.返回顶部 |
1、
“/tbm_dev”应用程序中的服务器错误。
HashStream does not support seeking
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。异常详细信息: System.NotSupportedException: HashStream does not support seeking
源错误:
行 60: stream.Read(bytes, 0, bytes.Length);
行 61: // 设置当前流的位置为流的开始
行 62: stream.Seek(0, SeekOrigin.Begin);
行 63: }
行 64: return bytes;
|
源文件: D:sinopec-tbm源代码 5.CommonSp.TBM.CommonOssHelper.cs 行: 62
堆栈跟踪:
[NotSupportedException: HashStream does not support seeking] Aliyun.OSS.Common.Internal.HashStream.Seek(Int64 offset, SeekOrigin origin) +112 Sp.TBM.Common.OssHelper.GetObject(String key) in D:sinopec-tbm源代码 5.CommonSp.TBM.CommonOssHelper.cs:62 Sp.TBM.Web.Common.DownloadFile.ProcessRequest(HttpContext context) in D:sinopec-tbm源代码 1.WebSp.TBM.WebCommonDownloadFile.ashx.cs:45 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +790 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88 |
版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3062.0
2、
2.返回顶部 |
3.返回顶部 |
4.返回顶部 |
5.返回顶部 |
6.返回顶部 |
![]() |
作者:ylbtech 出处:http://ylbtech.cnblogs.com/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 |