pdfsaver4.exe intermittent crash stopping events firing

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
phil.mccrae
User
Posts: 25
Joined: Mon Sep 07, 2009 9:26 am

pdfsaver4.exe intermittent crash stopping events firing

Post by phil.mccrae »

I have an application that processes a set of documents and converts them to pdf and emails them
it uses the save and email events to determine the progress of the documents

at the start of the batch a new pdfprinter is created and made the default printer, at the end of the batch the printer is removed and the default printer is reset
initially the devkey and regcode are unset for the printer
for each document the devcode and regcode are set on the printer, when the document has been emailed the printer has the regcode and devcode unset
the events are used to determine when to move on to the next document

what is happening is the events suddenly dont fire
the processing of the documents then stops and the application has to be crashed

in the event viewer the following event was discovered

Faulting application name: pdfSaver4.exe, version: 4.0.195.0, time stamp: 0x4da47233
Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec4aa8e
Exception code: 0xc0000005
Fault offset: 0x000000000004e4b4
Faulting process id: 0x1c58
Faulting application start time: 0x01cdb1feb074f8f1
Faulting application path: C:\Program Files\Tracker Software\PDF-XChange 4\pdfSaver4.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 1cfa0083-1df2-11e2-a45b-54c54e5ca011

also found against the metadataservice was the following event
Exception System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start(Int32 backlog)
at System.Net.Sockets.TcpListener.Start()
at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider, IAuthorizeRemotingConnection authorizeCallback)
at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(IDictionary properties, IClientChannelSinkProvider clientSinkProvider, IServerChannelSinkProvider serverSinkProvider)
at Microsoft.BusinessSolutions.Integration.MetadataService.MetadataProvider..ctor() occured in .ctor


Only one usage of each socket address (protocol/network address/port) is normally permitted

please advise how to avoid the above please

regards
Phil McCrae
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6901
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: pdfsaver4.exe intermittent crash stopping events firing

Post by Paul - Tracker Supp »

Hi Phil,

I asked our development team leader to look at this and he says that the first thing you need to do is update your SDK to the last stable V4 release and try this again.

You can get it from this URL: https://www.pdf-xchange.com/version ... ivers-api/ look for 12 Apr, 2011 Default Version 4.0.206

Alternatively you can upgrade your license and move to V5 Drivers API SDK.

hth
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
phil.mccrae
User
Posts: 25
Joined: Mon Sep 07, 2009 9:26 am

Re: pdfsaver4.exe intermittent crash stopping events firing

Post by phil.mccrae »

Hi

I will try version 4.206

to upgrade licence to version 5, will it be as simple as getting a replacement licence as we already have a developer licence

regards
Phil
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17948
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: pdfsaver4.exe intermittent crash stopping events firing

Post by Tracker Supp-Stefan »

Hi Phil,

You will get a new license key for the V5 SDK, however I can't say that 100% of your code will remain the same - there might be some tweaks necessary, but in any case it won't be a full rewrite!

Best,
Stefan
Post Reply