I have developed a number of reports on Win XP with VS2005. They run on our development server, which is running Windows Server 2003 32-bit. I then deploy these reports on our production server, which is running Windows Server 2003 64-bit edition.
Accessing any of the reports from Report Manager results in javascript errors, such as 'Line 41 Error: 'RSClientController' is undefined'
I get these errors also when invoking these reports through a form post.
It appears that some javascript code generated by the report server is missing. Could this be a 32-bit vs 64-bit issue? Report Manager seems to work fine; it is only when I run a report that I have this problem. This is the first time I've tried to deploy reports to this server.
Thanks.Solution!
The problem is the .axd file extention which is generated by the sql server on the fly when one tries to run a report.
There is an IIS setting that needs to be changed. Open IIS and go to the properties of the Reports website. Under the directory tab, click on the Configuration button. Find the .axd extension in the Mappings tab and double-click to get to its properties. Uncheck the 'Check that file exists' option, save, and that is it.
This is a known issue and MS hasn't yet written a KB article for it.|||Excellent analysis. This solved my problem with reports and the WebResource.axd file.|||
What if I'm having the same "'RSClientController' is undefined" issue, but when I go to the .axd extension properties, "verify that file exists" is already unchecked?
This is on a clean install of SQL 2k5 on Server 2k3 SP1.
Thanks.
|||On IIS v 6.0, on the Virtual Directory tab of the ReportServer, I chose configuration, then on the mappings tab I needed to edit the Wildcard application to uncheck the box to "verify file exists"
Thanks again;)
|||Anyone found a solution for this ?|||If you website is using forms authentication, you have to grant access to authenticated users to Reserved.ReportViewerWebControl.axd.
After I added the following location entry in my web.config file I no longer received "RSClient Controller is not defined messages".
<location path="Reserved.ReportViewerWebControl.axd">
<system.web>
<authorization>
<allow roles="RoleA, RoleB">
</allow>
</authorization>
</system.web>
</location>
No comments:
Post a Comment