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

Empty Demo Database

5 Answers 230 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 03 Mar 2011, 06:26 PM
I installed the trial MSI which seems to have created the demo database. However, the only report that works is the Barcode report. The others all seem to return: Invalid object name: Sales.SalesOrderHeader.

I looked at the DB but there is no data in it.

My dev machine is XP Pro / VS 2008
My SQL machine is Win2k3SE with SQL2005.

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 08 Mar 2011, 02:28 PM
Hello James,

We have not been contacted with such inquiry so far and we're not sure what has gone wrong in your case. As noted in the product's system requirements, creating the AdventureWorks database used by the Reporting Examples requires SQLExpress/SQL Server 2005 or above to be installed on local machine, so as you have noticed, you would not be able to run them without the database. Our suggestion would be to reinstall the product and see if the database is correctly installed this time. If not you can always install it from Codeplex for example, and our installer will skip the AdventureWorks database creation.

Regards,
Steve
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Henry
Top achievements
Rank 1
answered on 15 Nov 2011, 11:31 PM
i am also experiencing the same issue
0
Henry
Top achievements
Rank 1
answered on 16 Nov 2011, 12:08 AM
I figured out how to fix it. The original connection string:

<add name="My.MySettings.TelerikConnectionString" connectionString="Data Source=.\SQLEXPRESS;User Id=sa;Password=*****"
            providerName="System.Data.SqlClient" />

I added the following:

Initial Catalog=AdventureWorks;Persist Security Info=True;

and to result into this:

<add name="My.MySettings.TelerikConnectionString" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=AdventureWorks;Persist Security Info=True;User ID=sa;Password=*****"
            providerName="System.Data.SqlClient" />

0
Kelum
Top achievements
Rank 2
answered on 24 Nov 2014, 09:58 AM
I'm getting same error , but I'm using external server , In my case  here my app.config connection string

(I'm using 30 day trial version)

<add name="Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"
            connectionString="Data Source=192.168.1.205;User Id=sa;Password="********"
            providerName="System.Data.SqlClient" />
0
Stef
Telerik team
answered on 26 Nov 2014, 02:22 PM
Hello Kelum,

Please test to connect to the database via MSSQL Management Studio with the information from the connection string, and verify the selected database has the same schemes and tables as the used in the examples.

On installing Telerik Reporting, you can select to install the local demos and AdventureWorks on the local machine as well.


I hope this information helps you.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
James
Top achievements
Rank 1
Answers by
Steve
Telerik team
Henry
Top achievements
Rank 1
Kelum
Top achievements
Rank 2
Stef
Telerik team
Share this question
or