Copied to clipboard

Flag this post as spam?

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


  • Dan Diplo 1545 posts 6118 karma points MVP 4x c-trib
    Feb 02, 2012 @ 16:50
    Dan Diplo
    0

    This operation requires IIS integrated pipeline mode.

    I've succesfully tested and created PDF's on my local machine (using IIS7.5 express). However, when we installed it on our dev server running IIS6 we get the following exception:

    This operation requires IIS integrated pipeline mode.

    [PlatformNotSupportedException: This operation requires IIS integrated pipeline mode.]
       System.Web.HttpResponse.get_Headers() +8883162
       FergusonMoriyama.Pdf.Application.Module.PdfModule.ContextPostReleaseRequestState(Object sender, EventArgs e) +69
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

    Is there any way to get it working with IIS6? I don't recall anything warning us that it requires IIS7 and we have now purchased a licence on the back of the tests, based on me recommending the product! 

    I'm guessing the problem relates to this issue:

    http://stackoverflow.com/questions/186548/iis6-httpmodule-this-operation-requires-iis-integrated-pipeline-mode

  • Dan Diplo 1545 posts 6118 karma points MVP 4x c-trib
    Feb 02, 2012 @ 17:09
    Dan Diplo
    0

    Just to give a little more information I narrowed it down to adding the line:

    Response.ContentType = "text/xml";

    At the start of my Razor file. If I remove this, it doesn't throw the exception but (of course) doesn't render the PDF as it just outputs the as plain text.

    Response.AppendHeader("X-Pdf-Render", "true"); 

    Also causes the same problem. Doesn't make much sense, as I've used similar many times (though not in a Razor script).

     

  • roger malik 4 posts 24 karma points
    Apr 20, 2012 @ 13:36
    roger malik
    0

    I to have this issue with IIS V6.

  • Dan Diplo 1545 posts 6118 karma points MVP 4x c-trib
    Apr 20, 2012 @ 14:12
    Dan Diplo
    0

    I'm afraid from my conversations with Darren that there is no fix for it. It simply won't work with IIS6. 

  • roger malik 4 posts 24 karma points
    Apr 20, 2012 @ 15:02
    roger malik
    0

    Ours wont pick up the licence file. Does it go in the Bin folder or are we mssing something ? Only asking bacause Darrens on holiday.

Please Sign in or register to post replies

Write your reply to:

Draft