码迷,mamicode.com
首页 > Web开发 > 详细

Error-.NET:HashStream does not support seeking

时间:2020-03-28 01:10:57      阅读:189      评论:0      收藏:0      [点我收藏+]

标签:页面   syn   cal   erro   pad   framework   ext   except   sys   

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\源代码\05.Common\Sp.TBM.Common\OssHelper.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\源代码\05.Common\Sp.TBM.Common\OssHelper.cs:62
   Sp.TBM.Web.Common.DownloadFile.ProcessRequest(HttpContext context) in D:\sinopec-tbm\源代码\01.Web\Sp.TBM.Web\Common\DownloadFile.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/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

Error-.NET:HashStream does not support seeking

标签:页面   syn   cal   erro   pad   framework   ext   except   sys   

原文地址:https://www.cnblogs.com/storebook/p/12585224.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!