Prev: Web Service URL
Next: A generic error occurred in gdi+
From: kmac on 5 Sep 2006 13:57 I am recieving a SerializationException when trying to deserialize a Microsoft.Reporting.WinForms.LocalProcessingException. I am logging exceptions by serializing them to soap and storing them to a database. These are then deserialized and displayed in a custom viewer. The exception reads 'The constructor to deserialize an object of type 'Microsoft.Reporting.WinForms.LocalProcessingException' was not found.' With stack trace: at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context) at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder) at System.Runtime.Serialization.ObjectManager.DoFixups() at System.Runtime.Serialization.Formatters.Soap.ObjectReader.Deserialize(HeaderHandler handler, ISerParser serParser) at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize(Stream serializationStream, HeaderHandler handler) at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize(Stream serializationStream) Here is the serialized soap: <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <a1:LocalProcessingException id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/Microsoft.Reporting.WinForms/Microsoft.ReportViewer.WinForms%2C%20Version%3D8.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db03f5f7f11d50a3a"> <ClassName id="ref-4">Microsoft.Reporting.WinForms.LocalProcessingException</ClassName> <Message id="ref-5">An error occurred during local report processing.</Message> <Data xsi:null="1"/> <InnerException href="#ref-6"/> <HelpURL xsi:null="1"/> <StackTraceString id="ref-7"> at Microsoft.Reporting.WinForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, CreateAndRegisterStream createStreamCallback, Warning[]& warnings) at Microsoft.Reporting.WinForms.LocalReport.Render(String format, String deviceInfo, CreateStreamCallback createStream, Warning[]& warnings) at Kiewit.App.KPS.FDCheck.PrintLocalReport.Export(LocalReport lr) in C:\VS Net\Source\Application\Kiewit.App\Kiewit.App.KPS\Kiewit.App.KPS.FDCheck\Kiewit.App.KPS.FDCheck\PrintLocalReport.vb:line 26 at Kiewit.App.KPS.FDCheck.PrintLocalReport.Run(String sReport, DataTableCollection dtDataSources) in C:\VS Net\Source\Application\Kiewit.App\Kiewit.App.KPS\Kiewit.App.KPS.FDCheck\Kiewit.App.KPS.FDCheck\PrintLocalReport.vb:line 69 at Kiewit.App.KPS.FDCheck.CheckRegister.SaveData(Boolean bPrompt) in C:\VS Net\Source\Application\Kiewit.App\Kiewit.App.KPS\Kiewit.App.KPS.FDCheck\Kiewit.App.KPS.FDCheck\CheckRegister.vb:line 116 at Kiewit.App.KPS.FDCheck.FDCheck.kst_ToolClick(Object sender, ToolClickEventArgs e) in C:\VS Net\Source\Application\Kiewit.App\Kiewit.App.KPS\Kiewit.App.KPS.FDCheck\Kiewit.App.KPS.FDCheck\FDCheck.vb:line 130 at Infragistics.Win.UltraWinToolbars.ToolClickEventHandler.Invoke(Object sender, ToolClickEventArgs e) at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e) at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e) at Infragistics.Win.UltraWinToolbars.ToolBase.OnShortcutKeyPressed() at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.System.Windows.Forms.IMessageFilter.PreFilterMessage(Message& msg) at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.MessageFilterManager.ProcessMessage(Message& msg) at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.MessageFilterManager.System.Windows.Forms.IMessageFilter.PreFilterMessage(Message& msg) at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified) at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg) at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(ApplicationContext context) at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine) at Kiewit.App.KPS.FDCheck.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81 at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()</StackTraceString> <RemoteStackTraceString xsi:null="1"/> <RemoteStackIndex>0</RemoteStackIndex> <ExceptionMethod id="ref-8">8 InternalRender Microsoft.ReportViewer.WinForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a Microsoft.Reporting.WinForms.LocalReport Void InternalRender(System.String, Boolean, System.String, Microsoft.ReportingServices.Interfaces.CreateAndRegisterStream, Microsoft.Reporting.WinForms.Warning[] ByRef)</ExceptionMethod> <HResult>-2146233088</HResult> <Source id="ref-9">Microsoft.ReportViewer.WinForms</Source> </a1:LocalProcessingException> <a3:ProcessingAbortedException id="ref-6" xmlns:a3="http://schemas.microsoft.com/clr/nsassem
|
Pages: 1 Prev: Web Service URL Next: A generic error occurred in gdi+ |