sachin.mehndiratta

Members
  • Content count

    1
  • Joined

  • Last visited

Everything posted by sachin.mehndiratta

  1. Unable to catch GDI+ exceptions

    While working with fusion charts serversideimagehandler i was not able to catch the exceptions when process doesnot have any write permissions to target folder. I want to show this exception to user but unforunately i am not able to catch the exception. However the type of exception is System.Exception and i have looked in to event manager to check the error message which is: An unhandled exception occurred and the process was terminated. Application ID: /LM/W3SVC/9/ROOT Process ID: 10824 Exception: System.Exception Message: Image saving failed: A generic error occurred in GDI+. StackTrace: at FusionCharts.ServerSideHandlerBase.initializeObjects() at FusionCharts.ServerSideHandlerBase.setParameters(String swfPath, Int32 width, Int32 height, String dataXML, String dataURL, String imageFileName) at FusionCharts.ServerSideHandlerBase.startProcessThread(Object oSSH) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart(Object obj) I am looking for any resolution for this. Please suggest how to proceed on this. Thanks,