Loading ...

PlatformNotSupportedException: This operation requires IIS integrated pipeline mode. | CodeAsp.Net

PlatformNotSupportedException: This operation requires IIS integrated pipeline mode.

3.82 
 /5
3.82 (1votes)

I was working with File Download stuff in ASP.NET and started getting the following exception:

PlatformNotSupportedException: This operation requires IIS integrated pipeline mode. 



I noticed the issue was during stting the response header in this way :

response.Headers["Accept-Ranges"] = "bytes";

Solution:
After modifying the above line to this:

response.AddHeader("Accept-Ranges" , "bytes");

my issue got fixed.

Attachments

Comments (no comments yet)

Top Posts