Install examples locally

2 posts, 0 answers
  1. Grigore Dolghin
    Grigore Dolghin avatar
    19 posts
    Member since:
    Mar 2010

    Posted 16 Nov 2011 Link to this post

    The packaging is ridiculous. I was never able to install and run the reporting examples locally, for various reasons:
    a) The projects get installed in Program Files\Telerik, where, of course, they cannot be built unless Visual Studio is launched with elevated privileges. Hint: guys, don't install them there, damnit. Use Public folder instead!
    b) AdventureWorks database failed to install with error code like -250239847234 or something. "Unknown error". And it rolled back the ENTIRE installation! Huh?!? Thrice?
    c) Eventually I got it installed, after I had to give it sa password and everything, and guess what: in preview it works, in runtime it doesn't. I am attaching a screenshot.

    Now, seriously, guys, it's 4 am in the morning and I've spent way too much time trying to make this work, How hard can it be? It's a connection string, a report and a database.

    (Note: the screenshot was taken after previewing the invoice and just clicking run, then select the same report in the demo's main window)
  2. Steve
    Steve avatar
    10941 posts

    Posted 21 Nov 2011 Link to this post

    Hi Grigore,

    Sorry to hear you have so much trouble getting started. Up to your questions:
    1. The decision for the default install location of our products is company wide. If you do not like it, you can always change it from the "Custom Setup" step of the installation wizard. However running Visual Studio as administrator is always a good idea and the various problems of not doing so are covered in blogs, forum threads and tweets around the net.
    2. If the AdventureWorks database is not installed on the local instance of the SQL Server the installer is trying to create it with the instawdb.sql script you can find in the <InstallDir>\Telerik\Reporting Q2 2010\Examples\Data\AdventureWorks OLTP.
      The connection string is constructed dynamically from the selected instance of the SQL Server and the Authentication you choose - for example "Data Source=(local)\SQLEXPRESS;Initial Catalog=master;Integrated Security=SSPI". Please note that the successful installation of the examples depends from your proper administration of the SQL Server instance. You can read more in this article"SQL Server 2005 Security Best Practices - Microsoft Corporation". The error you've got is covered in the Error 27502 when running Telerik Reporting installer KB article.
    3. We have not encountered such problem so far. Can you verify that you did not have AdventureWorks database installed prior installing Telerik Reporting? We ask this as there are several distributions of AdventureWorks and you might be referring to the correct one for the preview and wrong one for the Windows Forms examples. Check the app.config file in CSharp.ReportLibrary and in CSharp.WinDemo - the connectionString in both should be the same.

    All the best,

    the Telerik team

    Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.

  3. DevCraft R3 2016 release webinar banner
Back to Top