Today we got this error:
Application: CacheToBiscom.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at IDEALSoftware.VpeCommunity.VPEDLL.VpeOpenDocFile(IntPtr, System.String, System.String, Int32)
at IDEALSoftware.VpeCommunity.VpeControl.OpenDoc()
at FaxToBiscom.Service1.MakeTIF(FaxToBiscom.FaxMeta, System.Collections.Generic.List`1<System.String> ByRef)
at FaxToBiscom.Service1.GetNextQ()
at FaxToBiscom.Service1.DoLoop()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback,
System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback,
System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback,
System.Object)
at System.Threading.ThreadHelper.ThreadStart()
The application is a Windows service and was developed using C# (2015). Server is Windows Server 2008 R2
The line of code being called was one of two:
private string MakePDF(FaxMeta f, ref List<string> filenames)
{
string status = "";
WriteLog("MakeTIF: Creating PDF ", InterName);
VpeControl V1 = new VpeControl();
V1.OpenDoc();
WriteLog("MakeCover: Creating Cover", InterName);
Restarted the service and it processed fine. Any suggestions?
Thanks!