Discuz.Plugin.Preview.Jpg.EXIFextractor.GetExifProperties(String fileName) +47

[ArgumentException: 参数无效。]
   System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData) +1062843
   Discuz.Plugin.Preview.Jpg.EXIFextractor.GetExifProperties(String fileName) +47
   Discuz.Plugin.Preview.Jpg.EXIFextractor..ctor(String file, String sp, String msp) +115
   Discuz.Plugin.Preview.Jpg.Viewer.GetPreview(String fileName, ShowtopicPageAttachmentInfo attachment) +154
   Discuz.Forum.Posts.GetMessageWithAttachInfo(PostpramsInfo postpramsinfo, Int32 allowGetAttach, String[] attHidArray, ShowtopicPagePostInfo postinfo, ShowtopicPageAttachmentInfo attinfo, String message) +4409
   Discuz.Forum.Posts.ParsePostList(PostpramsInfo postpramsinfo, List`1 attcoll, Boolean ismoder, List`1 postcoll, IDataReader reader, StringBuilder pidlist) +6813
   Discuz.Forum.Posts.GetPostList(PostpramsInfo postpramsinfo, List`1& attcoll, Boolean ismoder) +227
   Discuz.Web.showtopic.ShowPage() +6310
   Discuz.Forum.PageBase..ctor() +3323
   Discuz.Web.showtopic..ctor() +212
   ASP.aspx_1_showtopic_aspx..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\714d0ac5\ffb8cbf2\App_Web_fgrnept7.4.cs:0
   __ASP.FastObjectFactory_app_web_fgrnept7.Create_ASP_aspx_1_showtopic_aspx() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\714d0ac5\ffb8cbf2\App_Web_fgrnept7.21.cs:0
   System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
   System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


解决这个问题的暂时办法是删除Discuz.Plugin.Preview.Jpg.dll这个DLL

你可能感兴趣的:(string,asp.net,stream,windows,list,web,程序人生)