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
I am running on Umbraco 4.11.4 with PDF Creator 2.1.1 . I can run loacalhost not problem but on the production server I get an error. I have checked the template for this character and it does not exist. Any idea what could be causing this?
[XmlException: '', hexadecimal value 0x1F, is an invalid character. Line 1, position 1.]
ibex4.xml.IntermediateFormatCreator.readXMLIntoIntermediateForm(RenderingContext rc) +405
ibex4.logical.FODocument_Implementation.commonCreationAndClose(RenderingContext rc, IntermediateFormatCreator intermediate_format_creator, Boolean close_output_stream, Stream output_stream, String xsl_swap_file_name, Stream fo_stream) +56
ibex4.logical.FODocument_Implementation.generateStreams(Stream xml_stream, Stream xsl_stream, Stream output_stream, Boolean closeOutputStream, Hashtable xsltParams) +1442
ibex4.logical.FODocument_Implementation.generateStreams(Stream template, Stream output, Boolean closeOutputStream) +99
System.Web.HttpWriter.FilterIntegrated(Boolean finalFiltering, IIS7WorkerRequest wr) +188
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
Hi Jason, Is this with all templates? or just the templates that you have created.
When you install PDF creator you get a basic Hello World template.
Does this work?
If the error is specific to your template then feel free to email it to me at darren @ moriyama.co.uk
If it occurs for all templates then we are going to struggle to assist without access to your environment.
All templates throw this error even the default ones such as the Hello World template.
The site was built in Umbraco 4.7.2, This site without being touched worked on the previous host and in WebMatrix; without any code change and directly uploading to the new host this error occurs. I upgraded to 4.11.4 and again it works fine using localhost but when uploaded the same error occurs again with PDF Creator on all templates.
The part I don’t understand is this site runs fine on WebMatrix but as soon as I upload it to the new hosting company PDF Creator fails. I have tried uploading a zip file to the host then decompressing on the server just to dismiss an error during upload. Character 0x1F was not found in the template of content from what I have found and makes me wonder if the server could be encoding something differently then it does on localhost.
Thanks for your response
Could it be that IIS8 is encoding the files or output differently then IIS7 or WebMatrix is?
We have found that PDF Creator is not compatible with IIS Dynamic Compression in IIS8. If enabled you will receive this error [hexadecimal value 0x1F, is an invalid character. Line 1, position 1].
Also check this known bug:
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted