Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesHelp Building a report Module with MS ReportviewerHelp Building a report Module with MS Reportviewer
Previous
 
Next
New Post
1/17/2011 1:11 PM
 
I am attempting to build a module that will allow showing reports in DNN using the MS ReportViewer control.
The app I am working with requires the ability to provide multiple reports from a general report form.

I have looked into the tutorial by Michael Washington and I am still having problems. There seems to be very limited information on this so I would appreciate any help or ideas as to an alternative solution that may be easier. I am working on Studio 2005 and currently on a DNN version of 4.9.4. I have created a form that has multiple dropdowns that will select the required data for any parameters for the reports and added the report viewer control I compiled it an have run it on the site with no errors.
Next I created a data set  and a simple report. When I compiled and ran I got no errors but the report was blank.
Next I added the ScriptManager control to the module and recompiled (having made no changes to the scriptmanager control but just dropping it on the module) when I run the module now I see my simple report but get an error :
Module Load Warning
One or more of the modules on this page did not load. This may be temporary. Please refresh the page (click F5 in most browsers). If the problem persists, please let the Site Administrator know.
However the module does load and I can see the report

Questions:
  • is the sriptmanager required? If so any required settings? If not why are my reports blank without it?
  • If I want to use differnt reports do I have to create them all and store them in the module?
  • If I want to use differnt reports do I have to create Datasets for each report that will also remain in the module?
  • is there any samples of how to call different reports on the fly in code?
  • IS there a better or more importantly easier way to create a report module in DNN? Something with some more details that i can learn how to do this?
I understand that I have asked questions that may be general what I am looking for is some direction to either find some learning resources that may be useful in order to continue with the reportViewer or some direction as to what would be a better solution.

thanks
 
New Post
1/21/2011 3:35 AM
 
I am also trying to use the same method that Michael Washington has described in his tutorial. I am getting the error "The report definition for report 'xxx' has not been specified". Also how do I set reportViewer.LocalReport.ReportPath to reflect the path the report will be stored in DNN ? The report will be stored in the DNN desktop module folder.
 
New Post
1/21/2011 11:05 AM
 
This is what I do to set the reports path and it works fine
ReportViewer1.LocalReport.ReportPath = "DesktopModules\TTSTimeClock_Reports\" & ddlCompanyReports.Text.Trim & ".rdlc"
ReportViewer1.LocalReport.Refresh()
I am storing the rports in the module folder.
as far as your error if you follow the tutorial all the settings are made in the wizards that point to Dataset and reports file until you override them in your code. ALso I found I do need the ScriptManager control on the page in order to see the reports hence the problem described in my original post.
Hope this helps you get past this part antway
 
New Post
1/21/2011 11:37 AM
 
Also be sure there is no Web.Config file in your module( project explorer) it seems to be recreated when opening the project.  it then conflicts with the web.config file in the websites base folder. I simply delete it when I see it I believe it is the reportviewer control that is placing it in there or maybe the dataset.XSD?
 
New Post
1/24/2011 1:11 AM
 
Thanks Dan. I will try the solutions you have given. Regards. Vrushal
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesHelp Building a report Module with MS ReportviewerHelp Building a report Module with MS Reportviewer


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out