Running V10.1. I have a Windows task running revrun to exec a stored procedure. The stored procedure imports data from a flat file and writes the date to an Open Insight table. The stored procedure then runs a report of the data and send it to the default printer. Because the report uses OIPI it has to run in an event context, so I am submitting an RTI_TASK and generating a queue request for the RTI_TASKMANAGER to executes. This part all runs correctly. I have logging in the report module and can see that RTI_TASK_MANAGER starts the module, INITS the printer, TERMS the printer and completes normally. However, seconds after the module completes a .NET error, an app crash and a WER are logged for openinsight.exe and the report never hits the printer queue. The behavior\logging and crash are repeatable so that I know the report and .Net crash are related.
I need assistance with determining what is occurring and resolving it.
bb
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
EVENT 1026,.NET Runtime
Application: openinsight.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ServiceModel.CommunicationObjectFaultedException
Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData ByRef, Int32)at OIPIServiceLibrary.IOIPIService.wrapupHostForm()at Revelation4_10.OIPI.Finalize()~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Event 1000, Application Error
Faulting application name: openinsight.exe, version: 1.0.0.2001, time stamp: 0x61ae17b0
Faulting module name: KERNELBASE.dll, version: 10.0.17763.2452, time stamp: 0xad1c2e55
Exception code: 0xe0434352
Fault offset: 0x0000000000039319
Faulting process id: 0x3210
Faulting application start time: 0x01d8357ef6495c1d
Faulting application path: E:\REVSOFT\OINSIGHT10\openinsight.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 42259d42-cbd2-490f-90ce-f15acddc73d0
Faulting package full name:
Faulting package-relative application ID:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Event 1001, Windows Error Reporting
Fault bucket 1476511788904704310, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: openinsight.exe
P2: 1.0.0.2001
P3: 61ae17b0
P4: System.ServiceModel
P5: 4.7.3620.0
P6: 5e7d2534
P7: 465a
P8: 87
P9: I0SHPZEWVQV4P1UJY40X15MQTHF34RR5
P10:
Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER1642.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER1808.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER1847.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER1845.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER18D3.tmp.txt
These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_openinsight.exe_1ff7725e53dd94db4b80fe9b461bfa68fd666440_1aa5000f_36471bb0
Analysis symbol:
Rechecking for solution: 0
Report Id: 42259d42-cbd2-490f-90ce-f15acddc73d0
Report Status: 268435456
Hashed bucket: 2fcabba7e59d9838047d9fa62c576936
Cab Guid: 0
Hi, Brad. I suspect the problem may be related to how OIPI.Net works in the current versions of OI 10 - it actually runs via a separate executable, and uses Windows communication protocols to send the data to print. Perhaps for some reason the print exe, or the communication channel between OI and the print exe, is blocked.
Do you require the features of OIPI.Net? If not, I would suggest you try setting the app in the OpenInsight instance to use OIPI "classic" and see if you get better behavior. You could also try running with the engine server in "debug" mode (via a DOS cmd prompt) instead of a service, to see if that makes any difference.
Hope that helps,
- Bryan Shumsky