SQL Reporting services – Error Processing Resource

While installing a SQL 2005 Reporting Services on a Windows 2003 machine today I got the following error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A name was started with an invalid character. Error processing resource ‘http://localhost/reports/’. Line…
<%@ Page language=”c#” Codebehind=”Folder.aspx.cs” AutoEventWireup=”false” Inherits=”Microsoft.ReportingServices.UI.Folde…
I was thinking of rights and asp and .net framework at first.
After researching a bit more and combining a few issue posts I found a solution to be in a few IIS specific settings.
Go to the Default Website in the IIS manager (if it is installed there).
Go to the properties of the web site.
Go to the ASP.NET tab.
If there is no ASP.NET version selected here (as was in my case) select the correct version. In my case this was 2.0.50727.
Next click the button for Edit Global Configuration.
Go to the application tab.
In my case the Page language default needed to be changed to c#.
click ok everywhere and restart the website (or run iisreset).
Try to access the server/reports website again.
It is normal that it takes a while to load and perhaps request credentials, but it should show you the nice reporting services interface.
Good luck!
Bob Cornelissen