Cannot add report

8 posts, 0 answers
  1. Mike Lumpp
    Mike Lumpp avatar
    6 posts
    Member since:
    Sep 2009

    Posted 15 Sep 2009 Link to this post

    Hello all,

    Just wanted to outline these (obviously wrong and idiotic on my part :)    ) steps I took, and hope for a correction from you guys:

    1. I never got around to installing VS2k8 on this computer, and still had vs express.  I downloaded the trial version of telerik reporting. I ran the Telerik_Reporting_2009_2_807_trial.msi  that I downloaded from my account.
    2. I realized this wouldn't run without full vs2k8, so I got the CD out and installed it, updated latest service packs, and rebooted.
    3. I went into VS2k8, and noticed the 'telerik' menu tab on top, so I thought I was good. I went to the instructions on how to create a new report.
    4. I clicked add new project->class library, then did not notice any such report as mentioned in the documentation (on the item templates)
    5. Dejected, I searched around the forums, and found a post about someone having a similar issue, and one of the Telerik staff provided a zip of the missing files and where to install them (in the common7\ide, etc, etc folders)
    6. After doing this, I noticed they are now successfully added, however am getting this error (I cut the rest of it out for brevity but it seems to be a common error where most solutions involve running gacutil /f <assemblyname). I don't seem to have any assemblies, or anything for that matter.
    error: this template attempted to load an untrusted component 'Telerik.Reporting.Design, version=2.5.8.414, Culture=neutral,.."

    So, shouldn't the installer have given me everything I need? Any idea why it didn't in my case? What should I do from there? I tried repairing/reinstalling obviously but no love. My guess is that the zip I took was from an older version and I need the latest or something like that (the instructions said to put the files in the visual studios 8 folder but i have 9.0 (i have 8 but nothing is in there))

    Thanks so much for your help!!
    Mike
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 16 Sep 2009 Link to this post

    Hi Mike,

    It did not work for you because Visual Studio Express edition is not supported (see system requirements) i.e. when you installed Telerik Reporting it did not install its templates properly because of the missing VS IDE. Once you've installed VS2008 (Standard, Professional or Team System Editions), you should have repaired Telerik Reporting (from Control Panel --> Programs and Features) or re-installed it from scratch, which would take care of the proper installation.
    The templates you've downloaded from a forum thread are obviously for an older version of the product i.e. 2.5.8.414 as seen from your error message.
    So, try repairing the installation or reinstalling it (all VS instances should be closed) in order to have it working as expected.

    Sincerely yours,
    Steve
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Mike Lumpp
    Mike Lumpp avatar
    6 posts
    Member since:
    Sep 2009

    Posted 16 Sep 2009 Link to this post

    Steve,

    Thanks - I actually wound up uninstalling it, and then tried again.
    What i'm noticing is my old project (the one I initially created in vs studios express and now am opening in vs2k8) has the report wizard popup for me when I add the report to my class library, however any new class libraries I create (in new solutions) does not.

    Any ideas why the report wizard would not appear instantly after I add a new report? I also notice on my old solution there are more options on the 'telerik' menu than there are on new class libraries I add.

    If I go back to my old solution, the wizard comes up when I add a new report to my class library (following the videos) however I'm noticing I get the following error in preview mode: An error occured while parsing EntityName. Line 2 position 69.

    Any ideas?

    Thanks so much for your help thus far!
    Mike
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 17 Sep 2009 Link to this post

    Hello Mike,

    The report wizard shows up everytime a new report is added to a class library web/win application. It has a checkbox at the bottom which, when checked would not show the wizard upon startup - can you verify it is not checked? Also you can start the wizard manually from the Telerik Reporting Menu. It is explained in the latter article, when would all the options be available, and the only item always present is the Upgrade Wizard.
    The error in preview cannot be related to the report wizard. Does your report run if you add reference to your report class library from a web/win application and use win/web form to preview the result?

    Sincerely yours,
    Steve
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. Mike Lumpp
    Mike Lumpp avatar
    6 posts
    Member since:
    Sep 2009

    Posted 17 Sep 2009 Link to this post

    I was able to add all the references, and while the preview still did not work, I followed the instructions and added a report viewer to the web application (after referencing my reporting class library) successfully.

    I'm really having some bad luck, as now the report actually shows up, but the data does not. So for example I used the report builder to create a SQL statement that returned about 100 rows of data. When I run it using  the 'execute sql' button on the report builder everything comes up fine.

    When I load default.aspx, however, the report viewer says generating report then shows me a blank report with my headings I added, however no actual data (so no rows appear).

    What would be a typical cause of this? Do you think this could be linked to the entity preview issue?

    Thanks again for all of your patience!

    [UPDATE]
    Interesting, it seems that the datasource field is actually blank on the report. If I click the 'refresh' button in the report  viewer, it throws a different error and says the datasource is blank. Also, if you know the bottom area of the viewer, it has that section where you could add datasources from the toolbox on the left. I have a datasource on my left toolbox, but when I try to drag it onto the bottom area, it actually throws the same entityname error. It seems that even just ADDING an xsd in any capcity is throwing an error. I uninstalled VS and telerik but same issue persists.

    I programmatically loaded data into a datatable in my WEB project (although this could come from my dataaccess/business layers ultimately) and then programmatically loaded the report from my class library, and then bound that. When I load the actual page, it works! This is a start, but I still would love to use the report preview the way it was intended.


    Any ideas? Thanks so much!
  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 18 Sep 2009 Link to this post

    Hello Mike,

    Reading your explanation, it would seem that this issue is due to how you bind your report and whether the connectionString is available for you when using preview or at runtime. I've recently posted a KB elaborating on the matter - please take a look at it: Using connectionStrings from configuration file.

    Greetings,
    Steve
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  8. hkdave95
    hkdave95 avatar
    245 posts
    Member since:
    Nov 2006

    Posted 23 Jun 2010 Link to this post

    Hi

    I am having a similar issue to this one.

    I am trying to add a Telerik Report to my project.

    I am getting the following error...

    Error: this template attempted to load component asembly 'Telerik.Reporting Design, Version=4.0.10.310, Culture=neutral, PublicKeyTotken=xxx'. For further information on this problem and how to enable this template, please see documentation on Customizing Project Templates.

    I have tried repairing my Telerik Reporting (Q1 2010) instalation.

    Any ideas.

    David
  9. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 25 Jun 2010 Link to this post

    Hi David,

    Please check whether you have the Telerik.Reporting.Design assembly present in the GAC (see attached screenshot). If it is missing, you should uninstall the product, and install it again making sure the account you use has administrative privileges.
    Using the repair option of the Windows installer repeats the same steps taken during the original installation i.e. if there was a problem during the install, it is highly likely it would be repeated on repair.

    Best wishes,
    Steve
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
DevCraft banner