Error adding new Telerik Report to Solution

43 posts, 0 answers
  1. Paul
    Paul avatar
    5 posts
    Member since:
    Dec 2011

    Posted 21 Feb 2012 Link to this post

    Good morning,

    I have been looking for a reporting solution for my WPF project and downloaded the 60-day trial today as IMO the Telerik API's are the best I've seen. However, I seemed to have stumbled at the first hurdle.

    I've created a .NET 4 app, (Not Client Profile) and tried to add a new report to the solution and I am getting the following error message in VS2010:

    The vstemplate file references the wizard class 'Telerik.Reporting.Design.Wizard.AddNewReportWizard', which does not exist in the assembly 'Telerik.Reporting.Design, Version=6.0.12.215, Culture=neutral, PublicToken=a9d7983dfcc261be'. 

    Could someone help me with this because I'm keen to get on with the project and order Telerik Reporting if it does the job for me!

    Thank you,

    Paul Pitchford.

    Note: The example solutions that have reports already in them seem to work great.

  2. Steve
    Admin
    Steve avatar
    10942 posts
    Member since:
    May 2014

    Posted 21 Feb 2012 Link to this post

    Hello Paul,

    This is an issue that slipped into the Q1 2012 release. To fix it until we release an internal build/service pack addressing the issue, please do the following:

    1. Close all Visual Studio instances.
    2. Open C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\VisualBasic\Reporting and locate the Telerik Reporting Item Template Telerik_Reporting_Q1_2012.zip.
    3. Replace that file with the one we have attached to this ticket.
    4. Open Visual Studio command prompt and run devenv /installvstemplates.
    5. Start Visual Studio and create reports as needed.

    Sorry for the temporary inconvenience.

    Regards,
    Steve
    the Telerik team
    NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.

  3. DevCraft Release
  4. Paul
    Paul avatar
    5 posts
    Member since:
    Dec 2011

    Posted 21 Feb 2012 Link to this post

    Excellent.

    Thank you for your quick response. Your guide did the trick!

    Paul.

  5. Paul
    Paul avatar
    5 posts
    Member since:
    Dec 2011

    Posted 21 Feb 2012 Link to this post

    Steve!!

    Cancel that. After running your instructions, I've just tried to add a new WPF form and now I am getting this error:

    Could not find file 'c:\users\paul\appdata\local\microsoft\visualstudio\10.0\itemtemplatescache_{00000000-0000-0000-0000-0000000000}\visualBasic\WPF\1033\WPFWindow.zip\Window1.xaml'

    Please could you tell me what has happened here!

  6. Joan
    Joan avatar
    44 posts
    Member since:
    Dec 2011

    Posted 22 Feb 2012 Link to this post

    I have this issue as well.  Shouldn't this be listed in the known issues?

  7. Paul
    Paul avatar
    5 posts
    Member since:
    Dec 2011

    Posted 22 Feb 2012 Link to this post

    Fortunately running the Visual Studio repair feature on the setup DVD resolved this issue for me. This wasn't the start I was looking for especially considering that I am only a small freelance developer and this would be quite an investment for me! We'll have to see how the next 60 days go.

  8. Joan
    Joan avatar
    44 posts
    Member since:
    Dec 2011

    Posted 22 Feb 2012 Link to this post

    Thanks Paul.  I'm running that now and I'll what happens.

  9. Steve
    Admin
    Steve avatar
    10942 posts
    Member since:
    May 2014

    Posted 23 Feb 2012 Link to this post

    Hi guys,

    We were not able to reproduce such a problem in our local tests on a couple of machines. We successfully added WPF Page, Window and UserControl with no errors. The attached zip archive in this thread is only our VB item template, so we do not change any other templates in VS and the devenv.exe /installvstemplates command is needed in order to install the new template. The only possible explanation I can think of for such a weird problem (for which google knows nothing about) could be if you had somehow corrupted the WPF Window template and the installvstemplates command has installed the corrupted one.

    Kind regards,
    Steve
    the Telerik team

    NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.

  10. Jacek
    Jacek avatar
    12 posts
    Member since:
    Apr 2011

    Posted 23 Feb 2012 Link to this post

    I have same problem, but with c#. Is it possible to have zip file for c# version?

  11. Jacek
    Jacek avatar
    12 posts
    Member since:
    Apr 2011

    Posted 24 Feb 2012 Link to this post

    Changed assembly name in vstemplate, hope now it will work.

            <Assembly>Telerik.Reporting.Design.VisualStudio,
    Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be</Assembly>
            <FullClassName>Telerik.Reporting.Design.VisualStudio.AddNewReportWizard</FullClassName>

  12. Steve
    Admin
    Steve avatar
    10942 posts
    Member since:
    May 2014

    Posted 27 Feb 2012 Link to this post

    Hi Jacek,

    The C# item template is correct so there is no need for any manual change, the problem is only with the VB.NET item template.

    Kind regards,
    Steve
    the Telerik team

    NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.

  13. Kevin
    Kevin avatar
    10 posts
    Member since:
    Feb 2012

    Posted 28 Feb 2012 Link to this post

    "The C# item template is correct so there is no need for any manual change, the problem is only with the VB.NET item template."

    I'm having this problem and I am using VB.NET

  14. Steve
    Admin
    Steve avatar
    10942 posts
    Member since:
    May 2014

    Posted 28 Feb 2012 Link to this post

    Hello Kevin,

    Please use the modified item template and steps we provided in our first reply to resolve the problem.

    All the best,
    Steve
    the Telerik team

    NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.

  15. Seth
    Seth avatar
    1 posts
    Member since:
    Jul 2012

    Posted 28 Feb 2012 Link to this post

    I follow all of the instructions but it is not solving the issue.  I keep getting the error.  Using VB.NET and none of the instructions have resolved this issue.  Would really be great if this gets resolved ASAP.  I have a client depending on this functionality.

  16. Andres Eduardo
    Andres Eduardo avatar
    2 posts
    Member since:
    Feb 2011

    Posted 29 Feb 2012 Link to this post

    Same as Seth, I followed the instruction and the error persists even in C#.

    I don't know if this is important to mention but I have installed VS.NET in a different location than the default one. Anything else I can do?, do you have a release date for a final fix?

    Thanks in advance.

  17. ISB-developer
    ISB-developer avatar
    21 posts
    Member since:
    Jul 2011

    Posted 01 Mar 2012 Link to this post

    For this trick doesn't work. need help.

  18. Steve
    Admin
    Steve avatar
    10942 posts
    Member since:
    May 2014

    Posted 01 Mar 2012 Link to this post

    Hi guys,

    @Andres and @Seth: if you are not logged in as Administrator, please do. Also if you are adding Telerik Reports directly to a web site project, be aware that the item template for web site projects is different. Our suggestion is to follow the Solution Structure help article and add reports to a separate class library.
    @Andres: If VS is installed to a different location, then you should respectively change the path from the instructions.
    @ISB - the error says it all, you should run the Visual Studio command prompt as administrator or best log-in with Administrator account.

    All the best,
    Steve
    the Telerik team

    NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.

  19. ISB-developer
    ISB-developer avatar
    21 posts
    Member since:
    Jul 2011

    Posted 01 Mar 2012 Link to this post

    Thank you, now it works.

  20. Andres Eduardo
    Andres Eduardo avatar
    2 posts
    Member since:
    Feb 2011

    Posted 01 Mar 2012 Link to this post

    Thanks Steve, I searched for the ItemTemplate for web projects and found it at:

    Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\Web\VisualBasic

    and, as Jacek, I opened the Telerik_Reporting_Q1_2012.zip file, changed the class.vstemplate file, specifically the WizardExtension section for this:

    <WizardExtension>
            <Assembly>Telerik.Reporting.Design.VisualStudio, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be</Assembly>
            <FullClassName>Telerik.Reporting.Design.VisualStudio.AddNewReportWizard</FullClassName>      
        </WizardExtension>

    And now is working =)

  21. Giovanni De Lazzari
    Giovanni De Lazzari avatar
    16 posts
    Member since:
    Sep 2006

    Posted 05 Mar 2012 Link to this post

    Hi, I get the same error. but I don't have the beta relase
    my version is 6.0. 12.215 (Feb 15, 2012) 
    I also uninstall all telerik repor tools and install it again
    but the issue still remain. please let me kno if I have to copy the file too , or if you plan to fix this issue in some nightly release
    thanks


  22. Steve
    Admin
    Steve avatar
    10942 posts
    Member since:
    May 2014

    Posted 05 Mar 2012 Link to this post

    Hi Giovanni,

    As noted earlier, this is an issue that slipped into the Q1 2012 release. It would be fixed for an internal build/service pack, but for the time being you should follow the steps provided in my first post.

    Greetings,
    Steve
    the Telerik team

    NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.

  23. Michael Eaton
    Michael Eaton avatar
    7 posts
    Member since:
    Jan 2006

    Posted 05 Mar 2012 Link to this post

    I followed the instructions listed in the original fix, but it's still not working for me.

    Open 
    C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\VisualBasic\Reporting and locate the Telerik ReportingItem Template Telerik_Reporting_Q1_2012.zip.


    Originally, this folder didn't even exist for me - I had nothing under IDE, so I created it and copied the files from the attached zip into it. I then opened a VS command prompt as an admin and ran devenv /installvstemplates

    I still get the original error when trying to add a new report to my project.

    Any ideas?

  24. Steve
    Admin
    Steve avatar
    10942 posts
    Member since:
    May 2014

    Posted 06 Mar 2012 Link to this post

    Hi Michael,

    The path provided is for x32 OS. If you are running x64 bit machine, the correct path would be C:\Program Files (x86)\...

    Regards,
    Steve
    the Telerik team

    NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.

  25. John Adkins
    John Adkins avatar
    4 posts
    Member since:
    Oct 2009

    Posted 08 Mar 2012 Link to this post

    I figured it out in my case:

    There are two reference locations:

    C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\Web\VisualBasic
    and
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\VisualBasic\Reporting

    The first path had the bad zip file Telerik_Reporting_Q1_2012.zip.  in my case.  Web App.

    The solution only mentions the second path above.

    Still had to run "devenv /installvstemplates"

    John 

  26. Henno
    Henno avatar
    2 posts
    Member since:
    Jul 2012

    Posted 09 Mar 2012 Link to this post

    Hey Steve.

    I have the same problem.

    I did everything as instructed. But still the exact same error. As soon as I add a Telerik Report into my C# Project the assembly reference"Telerik.Reporting, version=6.0.12.215" appears. 
    Ran the VS Command Prompt as Admin, and tried everything the others reported on this thread. 

    This is truly frustrating. Anything else that I could try?

    Thanks
    Henno

  27. Piers
    Piers avatar
    2 posts
    Member since:
    Jan 2012

    Posted 13 Mar 2012 Link to this post

    Since buying a licence I found I couldn't add reports to the c# website project I've been working on (it worked fine on the trial version!) I've spent the best part of a day getting to the bottom of this having never previously pondered how VS plugins work, and have now resolved the issue. Part of the problem is that VS picks the template up from different places depending on what language you're using and what type of project you're building. To show this, in windows explorer go to
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates

    and search for Telerik_Reporting_Q1_2012.zip. I found 4 versions, under
    .\Web\CSharp
    .\CSharp\Reporting
    .\VisualBasic\Reporting
    .\Web\VisualBasic

    Each zip file contains a file with the extension .vstemplate which should contain the section
        <WizardExtension>
          <Assembly>Telerik.Reporting.Design.VisualStudio, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be</Assembly>
          <FullClassName>Telerik.Reporting.Design.VisualStudio.AddNewReportWizard</FullClassName>
        </WizardExtension>

    As far as I can tell, the only one that's correct is the one in .\CSharp\Reporting. So I edited the .vstemplate file in the location relevant to me (.\Web\CSharp\Telerik_Reporting_Q1_2012.zip\Class.vstemplate), saved it out to my temp directory, reconstructed the zip file using my edited version and the other file(s) that were in it, and ran devenv /installvstemplates (as administrator).

    I can now add reports to my website project, though the wizard doesn't fire up automatically as it does for a web application project for some reason. Having added a blank report I have to open it in design view and select Telerik/Reporting/Report Wizard from the menu.

    Thanks to the other posters on this thread. Perhaps Telerik could get a proper fix out for this asap?

  28. Henno
    Henno avatar
    2 posts
    Member since:
    Jul 2012

    Posted 14 Mar 2012 Link to this post

    Hey Piers

    Thanks for the reply. Unfortunately this still did not resolve the problem for me. I have checked the Class.vstemplate files and it resembles the correct one posted. Installed the vstemplates over again as admin. But still get the error when adding a Report to my project. 

    Anyone else still having trouble with this?

  29. Piers
    Piers avatar
    2 posts
    Member since:
    Jan 2012

    Posted 14 Mar 2012 Link to this post

    Hi Henno,
    can you create a new project using the ASP.NET Web Application template and add a report to that? I found that that worked before I did my fix to enable adding a report to a website project.

    Piers.

  30. Aaron Abdis
    Aaron Abdis avatar
    22 posts
    Member since:
    Mar 2005

    Posted 04 Apr 2012 Link to this post

    This worked perfectly for me. Thanks.

    This kind of fix tho is another great reason why Telerik's gotta get a unified installer up and going, ... something akin to Steam, but for Telerik products.

  31. Steve
    Admin
    Steve avatar
    10942 posts
    Member since:
    May 2014

    Posted 05 Apr 2012 Link to this post

    Hello guys,

    We've released an internal build that addresses this problem among other reported problems. You can see the release notes here.

    Regards,
    Steve
    the Telerik team

    NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.

Back to Top
DevCraft Release