This is a migrated thread and some comments may be shown as answers.

Install examples locally

1 Answer 444 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Grigore Dolghin
Top achievements
Rank 1
Grigore Dolghin asked on 17 Nov 2011, 03:20 AM
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)

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 21 Nov 2011, 04:24 PM
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,

Steve
the Telerik team

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

Tags
General Discussions
Asked by
Grigore Dolghin
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or