Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We have a website running on three load balanced front ends where each content page has a convert to PDF link which uses PDF creator to make the PDF on the fly.
We have intermittent issues where one of the nodes PDF feature suddenly stops working and we need to copy the licence file from one of the other nodes to get it working again. It's never the same node and Beyond Comparing across the nodes there are no differences in the files so I'm not sure how to cure this one.
Any thoughts appreciated.
"Stops working" isn't the kind of bug report that I can help with... What actucally happens?
sorry I thought I had put some more detail in the post. Here's the error in the Umbraco logs;
2013-11-07 16:21:51,926  ERROR Umbraco.Web.UmbracoApplication - [Thread 12] An unhandled exception occurred
System.Exception: You can only work with a trial license on localhost and .local domains.
at FergusonMoriyama.Pdf.Application.Module.PdfModule.ContextPostReleaseRequestState(Object sender, EventArgs e)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Looking through the windows event log I can find the matching request;
An unhandled exception has occurred.
NT AUTHORITY\NETWORK SERVICE
You can only work with a trial license on localhost and .local domains. at FergusonMoriyama.Pdf.Application.Module.PdfModule.ContextPostReleaseRequestState(Object sender, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Which shows the request was using the domain we have licensed.
There doesn't seem to be any trigger for this issue it just happens at a random time on a random node.
At this point I don't know if an app pool recycle would be enough to get the license working again as when this problem has arisen our systems team have been copying the license file as mentioned above. I am monitoring the nodes now and hope to catch one in a non working state so I can have a closer look.
This often happens when the site gets accessed on a non licensed domain - it locks up licensing for all domains, even licensed domains until such time that the app pool is recycled.
This is/was a known issue with the Umbraco Licensing DLL and affects other core products.
Best advice - restrict access to the PDF URLs so they are only available in the licensed domain.
I hope this helps. Let me know.
That would make sense, we have internal monitoring software which will be hitting each node by its internal IP address regularly. Just to confirm (Google let me down on a quick search of the interwebs), will this lockup happen when ANY url is hit without the licensed domain or just ones that require a licence to operate correctly?
Thankyou for such speedy responses by the way!
The licensing DLL is closed - obsfucated etc so I never got around to finding out.
I guess you could find out quite quickly on a local test env. e.g. add a hosts entry to access the site on your local PC using the licensed hostname, then a non licensed host etc.
I'd give it a shot myself but a bit swamped just now.
No worries, was just hoping to pick your brain not use your time up for you.
I will get some testing done when I have time myself.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted