The XML page cannot be displayed
I’m just setting up RSinteract on a client’s 64 bit server which has Windows 2003 and SQL 2008. With most RSinteract installations IIS is installed as a prerequisite to Reporting Services but IIS isn’t needed for Reporting Services 2008. I guess this will become a common sticking point with SQL 2008 installations so here’s the solution…
The first problem I got was in the RSinteract installer (whoops, should have copied the error message) so we installed IIS and then RSinteract. When I hit the site I got this 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://myserver/RSinteract’. Line 1, Positio…
<%@ Page EnableViewState="false" Language="c#" ValidateRequest="false" AutoEventWireup="True" Codebehind="Main.aspx.cs" I…
I guess this is because IIS isn’t configured for ASPNET by default so I ran:
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe –i
Which gave me the following error:
The error indicates that IIS is in 64 bit mode, while this application is a 32 bit application and thus not compatible.
So I made a slight change to point to the 64 bit .NET folder:
%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i
After an iisreset I was now getting a 404 error from aspx pages, the final step was to open IIS (type inetmgr at the command prompt) and go to the “Web Service Extensions” node and enable ASP.NET v2.0.50727. Another iisreset for good measure and we’re now up and running:)