Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Jason Soderberg 7 posts 32 karma points
    Feb 23, 2013 @ 19:45
    Jason Soderberg

    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?

    [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
       FergusonMoriyama.Pdf.Application.Filter.FoFilter.Flush() +96
       FergusonMoriyama.Pdf.Application.Filter.FoFilter.Close() +19
       System.Web.HttpWriter.FilterIntegrated(Boolean finalFiltering, IIS7WorkerRequest wr) +188
       System.Web.HttpResponse.FilterOutput() +104
       System.Web.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +49
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69


  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Feb 24, 2013 @ 10:54
    Darren Ferguson

    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 @

    If it occurs for all templates then we are going to struggle to assist without access to your environment.


  • Jason Soderberg 7 posts 32 karma points
    Feb 24, 2013 @ 17:02
    Jason Soderberg

    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

  • Jason Soderberg 7 posts 32 karma points
    Feb 24, 2013 @ 17:11
    Jason Soderberg

    Could it be that IIS8 is encoding the files or output differently then IIS7 or WebMatrix is?

  • Jason Soderberg 7 posts 32 karma points
    Feb 25, 2013 @ 05:06
    Jason Soderberg

    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].

  • Simon steed 374 posts 686 karma points
    Feb 25, 2013 @ 17:26
Please Sign in or register to post replies

Write your reply to: