M
mitul.shah
I just installed VS2005 and the 2.0 framework. One of my previous
ASP.NET applications is written in 2003 so I have both installed.
In the old application I am using the iTextSharp library to load a PDF
file in memory. My Response.ContentType is set to application/pdf but
it seems IIS is trying to serve up XML. This happens on almost any
ContentType and any content. I've tried a simple test to set
contenttype to 'plain/text' and write some text. IIS is treating the
response as XML instead of plain text in this case also. In fact, the
only content that works correctly is HTML.
This problem showed up after I installed VS2005.
Any ideas on what's wrong?
ASP.NET applications is written in 2003 so I have both installed.
In the old application I am using the iTextSharp library to load a PDF
file in memory. My Response.ContentType is set to application/pdf but
it seems IIS is trying to serve up XML. This happens on almost any
ContentType and any content. I've tried a simple test to set
contenttype to 'plain/text' and write some text. IIS is treating the
response as XML instead of plain text in this case also. In fact, the
only content that works correctly is HTML.
This problem showed up after I installed VS2005.
Any ideas on what's wrong?