Allright. With anilr's help, I figured out what the problem was, and I'll try to help you too, in case you've bumped into the same problem
The problem is, as anilr said, that you've done Response.ContentType and/or Response.CharSet multiple times, also maybe combined with Response.AddHeader "Content-Type", "text/html; Charset=UTF-8" which basically does the same as the two other statements.
To find out what's happening when you run your asp-file, you can turn on Failed Request Tracing. I thought the Failed Request Tracing would just log failed requests. And since the request in deed worked on other browsers than IE7, I figured it would not help me to log failed requests. Don't misunderstand this as I did. You can set up the Failed Request Tracing to log any requests. And that's what we'll do.
First, follow this tutorial: http://www.trainsignaltraining.com/iis-7-troubleshooting/2008-07-09/
You'll set up a failed request tracing rule on the specific site, tracing ASP-files on status codes 100-999. Then you'll go to the site in IIS manager and click the rightmost option "Failed Request Tracing". If you're used to IIS6, you'll probably have a little hard time finding your way around the new MMC interface. The Failed Request Tracing set up for the site is not one of the icons - but it's located to the right of the icons, written with just text. There you'll enable tracing and set an output directory.
Now fire up your browser and trigger the Ajax-call. The tracer will make an XML-file for you on the specified directory. Open it in your favorite editor and search for <Data Name="Headers">. You'll probably find two or more. Check the last one, and see what it outputs. It should output something like this:
Content-Length: 89
Content-Type: text/html; Charset=UTF-8
Expires: Fri, 31 May 1996 11:30:14 GMT
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET
Before I fixed my problem, however, it output this:
Content-Length: 89
Content-Type: text/html;charset=UTF-8,text/html; Charset=UTF-8
Expires: Fri, 31 May 1996 11:30:14 GMT
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET
The reason was that I had a Response.AddHeader in two different files.
I hope this will help somebody else too.
Kind regards,
Nitech