hexadecimal value 0x1F, is an invalid character. Line 1, position 1
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?
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.
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].
hexadecimal value 0x1F, is an invalid character. Line 1, position 1
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?
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.
Thanks.
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:
http://www.simonantony.net/knowledge-base/articles/error-republishing-systemxmlxmlexception-hexadecimal-value-0x01-is-an-invalid-character/
is working on a reply...