Quick Nav:  Online Store   |   Login | Register

PageBlaster and Reports module (MS Report Viewer control)

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Laurence Neville
<100 Posts
Posts:73


08/11/2008 12:32 PM  

I have PB 3.3.2 on a site where I am using the core Reports module 5.0. The Reports module utitlizes the MS Report Viewer control to run a Reporting Services report. The report cannot run with the default PB configuration and it seems to have something to do with an .AXD file. If I comment PB completely out of the web.config then the report runs fine.

Here is what I have noticed:

With PB using the default config, a script error appears "Line: 195 Char:1 Error: Permission Denied Code: 0 ...."

Suspecting it has something to do with a .AXD file (see below) I added this to the config: < path excludefrom="All" pattern="(\.asmx|\.axd|\.ashx)">

Now when the page is opened, IE attempts to download Reserved.ReportViewerWebControl.axd to my desktop.

Finally, if I comment PB completely out of the web.config then the report runs fine.

Any idea how to get the 2 modules to play together?

John Mitchell
Posts:3471


08/11/2008 1:49 PM  
You can put in a global exclude for that in the Snapsis.PageBlaster.config file.
Something like this:

< path pattern="ReportViewerWebControl.axd" excludeFrom="All" />
Laurence Neville
<100 Posts
Posts:73


08/14/2008 12:46 PM  
I tried that but it had the same result as adding < path excludefrom="All" pattern="(\.asmx|\.axd|\.ashx)"> to the config. When the page is opened, IE attempts to download Reserved.ReportViewerWebControl.axd to my desktop.

How can I configure PB to stop this happening?
John Mitchell
Posts:3471


08/14/2008 2:14 PM  
What version of PageBlaster are you using? I added something in the version 3.2 that should eliminate that problem.
Laurence Neville
<100 Posts
Posts:73


08/14/2008 2:39 PM  
3.3.2 free version
John Mitchell
Posts:3471


08/14/2008 3:05 PM  
Check in the Snapsis.PageBlaster.config file and make sure that that attach-filter-early="false".
Laurence Neville
<100 Posts
Posts:73


08/15/2008 5:04 AM  
Yes, I have attach-filter-early="false"
Laurence Neville
<100 Posts
Posts:73


08/15/2008 5:13 AM  
Maybe this is a clue ..... If I exclude the whole page with
< path pattern="325" excludeFrom="All" />
the report still doesn't run (a script error appears "Line: 195 Char:1 Error: Permission Denied Code: 0 ...." as mentioned in my intial post)

But, again, if I comment PB completely out of the web.config then the report runs fine.
John Mitchell
Posts:3471


08/15/2008 12:50 PM  
I'll have to install the core reports module and see if I can recreate this in a debug environment.
If there is anything special you think I need to do to simulate your environment please let me know.
Laurence Neville
<100 Posts
Posts:73


08/15/2008 4:36 PM  
If you know how to set up MS Reporting Services and deploy a report to Reporting Services this shouldn't be too hard, but if you haven't before there's a lot of setup to do. To simulate my setup you'll need the following:

Reporting Services 2005 SP2 on same server as DNN (Report Viewer doesn't seem to work if RS on different server)
Reports module 5.0 with Report Viewer visualizer installed (DesktopModules\Reports\Install\Visualizers\Reporting Services_02.00.00_Install.zip - see "How do I install the Reporting Services Visualizer?" in http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/136/threadid/212926/scope/posts/Default.aspx)
A report file (.RDL) deployed to RS
In the Reports module settings, choose Auto Run Report: On, Active Visualizer: Microsoft ReportViewer Visualizer, Report Type: Server Report, Server Url: the Url to your Report Server virtual directory, e.g. http://aa.bb.cc.dd/reportserver, Server Report Path: folder and report name, e.g. test/testreport, User Name, Password, Domain: a Windows login able to run a RS report.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > PageBlaster and Reports module (MS Report Viewer control)



ActiveForums 3.7
Powered by: Snapsis Software