2010-07-30 5 views
2

leadtools 이미징 API를 사용하는 동안 asp.net에서 이상한 오류가 발생합니다. 다음은 스택 추적입니다.Leadtools 이미징 API가있는 Asp.net의 System.AccessViolationException

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. 
    at SetThreadData(_THREADDATA*) 
    at Leadtools.Codecs.CodecsOptions.Use() 
    at Leadtools.Codecs.RasterCodecs.DoSave(SaveParams saveParams) 
    at Leadtools.Codecs.RasterCodecs.Save(RasterImage image, Stream stream, RasterImageFormat format, Int32 bitsPerPixel) 
    at BarCodeHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext ctxt) 
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

도움이 되었으면 도움이 될 것입니다.

답변

0

나는 또한 tiff 파일과 동일한 문제가 있었지만 해결책을 찾았습니다. 이미지를 매우 크고 넓게로드하려고하면 이미지를 줄여야하며 잘 작동합니다.

관련 문제