Previous Next

Thread: ASP.NET PlatformNotSupportedException error

Last post 07-26-2008 5:39 PM by ksingla. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 07-26-2008, 7:17 AM

    • gubikga
    • Not Ranked
    • Joined on 07-14-2008, 6:17 AM
    • Posts 2

    ASP.NET PlatformNotSupportedException error

    I got ASP.NET PlatformNotSupportedException error, here is the message. could someone help on this. 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.PlatformNotSupportedException: This operation requires IIS integrated pipeline mode. Source Error: Line 123: Response.Headers.Add("Content-Disposition", "inline;filename=untucce.csv");
  • 07-26-2008, 11:11 AM In reply to

    Re: ASP.NET PlatformNotSupportedException error

    It appears you are using IIS 7.  If so, you need to change the application pool type from classic to integrated.  The integrated pipeline mode is IIS 7 specific.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield

    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 07-26-2008, 5:39 PM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-13-2006, 11:02 PM
    • Redmond, WA
    • Posts 561

    Re: ASP.NET PlatformNotSupportedException error

    As per this article, Response.Headers property is not supported on IIS6. You need to be running IIS7 in integrated mode.

    -Kj

Page 1 of 1 (3 items)
Page view counter