Getting Licence error on live site after upgrade to v2
I have upgraded to v2 of PDF Creator and all works fine locally. I uploaded everythin to the live site and checked that the old version of PDF Creator was removed but I get an error when creating a PDF that says the licence is invalid.
I get this in the .pdf file:
<html>
<head>
<title>
You can only work with a trial license on localhost and .local domains.
</title>
<style type="text/css">
h1 { font-size: 15t; }
body { background: #cccccc; font-family: helvetica, arial; }
</style>
</head>
<body>
<h1>You can only work with a trial license on localhost and .local
domains.</h1>
<p>
PDF Creator for Umbraco is a commercial project. Please email <a href="mailto:[email protected]">[email protected]</a>
for more details.
Or purchase a license from <a href="http://our.umbraco.org">our.umbraco.org</a>.
</p>
</body> </html>
I checked that the licence was correct by downloading it from my account on our.umbraco.org.
The PDF creation works fine locally. To update the live site I installed PDF Creator on the live server, removed files as suggested in the documentation and then copied all changed files from dev to live. I am currently getting this error:
Server Error in '/' Application.
Root element is missing.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Xml.XmlException: Root element is missing.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
I have also compared all files on Dev and Live (using Beyond Compare) and as far as I can see they match. The only other possible difference is the Macros (etc?) in the CMS.
Getting Licence error on live site after upgrade to v2
I have upgraded to v2 of PDF Creator and all works fine locally. I uploaded everythin to the live site and checked that the old version of PDF Creator was removed but I get an error when creating a PDF that says the licence is invalid.
I get this in the .pdf file:
I checked that the licence was correct by downloading it from my account on our.umbraco.org.
HELP!!!
The PDF creation works fine locally. To update the live site I installed PDF Creator on the live server, removed files as suggested in the documentation and then copied all changed files from dev to live. I am currently getting this error:
Server Error in '/' Application.
Root element is missing.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Xml.XmlException: Root element is missing.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
I have also compared all files on Dev and Live (using Beyond Compare) and as far as I can see they match. The only other possible difference is the Macros (etc?) in the CMS.
OK - found the problem!!
The macros for each PDF were not created properly - I deleted and re-added them in Umbraco on the live site and it worked again! :-)
is working on a reply...