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

Can't View Demo of Carousel

7 Answers 106 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Matt Tapia
Top achievements
Rank 1
Matt Tapia asked on 14 Sep 2009, 03:16 PM
Every time I attempt to view the demo of the WPF Carousel object, I receive an Fatal Error with a massive message box, chock full of error text....any thoughts of how to fix this? I really to need to demo this control.

7 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 15 Sep 2009, 05:58 AM
Hello Matt Tapia,

Could you paste the error message here so that we can get some more information about the problem?

Sincerely yours,
Milan
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.
0
Matt Tapia
Top achievements
Rank 1
answered on 15 Sep 2009, 01:37 PM
Error message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. Ther server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.

This was after clicking on either Launch VB.NET Examples or Launch C#.NET Examples from the Telerik Rad Controls For WPF Q2 2009 Programs Folder.

0
Matt Tapia
Top achievements
Rank 1
answered on 15 Sep 2009, 01:40 PM
And when I load the demo on the website and click on Carousel, the browser says:

An error occurred in the application you where using.

I am using IE7 and .NET Framework 3.5 installed.

Matt
0
Milan
Telerik team
answered on 15 Sep 2009, 01:59 PM
Hello Matt Tapia,

You can refer to this post which could help fix the issue.
In general you need .Net 3.5 SP1 and SQL Express to run the demos. If you have another version of Microsoft SQL server you should reconfigure the connection string.

Regards,
Milan
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.
0
Matt Tapia
Top achievements
Rank 1
answered on 15 Sep 2009, 02:09 PM
Do I have to use a database/server that is local to my machine? If not, how can I best reference the remote server with the Northwind db installed?

<

 

connectionStrings>

 

<

 

add name="Telerik.Windows.Examples.Properties.Settings.NorthwindConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\DataSources\Northwind.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>

 

</

 

connectionStrings>

 

0
Accepted
Milan
Telerik team
answered on 16 Sep 2009, 06:58 AM
Hello Matt Tapia,

You should use the SQL server that is on your local machine.

Best wishes,
Milan
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.
0
Jose Simas
Top achievements
Rank 2
answered on 09 Oct 2009, 09:36 PM
Hi,

I spent some time with the same problem today (which also applies to the GridView demo) and found out it is possible to use a remote SQL Server. The first thing you need to do is copy the Northwind.mdf file under C:\Program Files\Telerik\RadControls for WPF Q3 2009\Demos\DataSources\ to the remote SQL Server and attach it.

Then open the demo project Examples_WPF.CS.csproj at C:\Program Files\Telerik\RadControls for WPF Q3 2009\Demos\. Add a new connection pointing to the remote server (Data->Add New Data Source) or add the connection string by hand to the app.config. Finally look for the Northwind.dbml file in that project, open it and select Properties. Expand the Connection node in the properties and point the Connection String item to the new connection string.

Recompile the application and you should be done. 

Jose

P.S Telerik should really consider shipping this example with a file base database like SQLite.
Tags
Carousel
Asked by
Matt Tapia
Top achievements
Rank 1
Answers by
Milan
Telerik team
Matt Tapia
Top achievements
Rank 1
Jose Simas
Top achievements
Rank 2
Share this question
or