Home / Community & Support / Knowledge Base / RadControls for WPF / General / Troubleshooting > Running demos

Troubleshooting > Running demos

Article Info

Rating: 5

Article information

Article relates to

 

RadControls for WPF Q3 2008

Created by

 WPF Team

Last modified

 

Last modified by

 


So far, the controls in the WPF suite have no known issues with different versions of SQL servers.
However, our QSF (the desktop version of our demo application) depends on the presence of SQL Express. This is required only for the sample data used in the examples.

In your installation directory for RadControls for WPF (presumably C:\Program Files\Telerik\RadControls for WPF Q2 2008) you will find the folder Examples.CS (or Examples.VB, if you prefer). In that folder, you will find a file named "Telerik.Windows.Examples.exe.config" (or "Examples.VB.exe.config", respectively).

First, you are advised to backup this file, and then configure the connection string contained within. Most probably, you will need only to change the Data Source property: we set it to point to SQLEXPRESS, and you should set it to the name of your SQL server instance. The sample Northwind database we use should be automatically attached (it is located in the \DataSources folder). The connection string should look like this:


<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<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>
</configuration>

 

If you’re using an older version of SQL server – SQL2000 or previous, you will need to modify the connection string as shown below:


<add name="Telerik.Windows.Examples.Properties.Settings.NorthwindConnectionString"
connectionString="Data Source=.\SQL2000; Initial Catalog=Northwind;Integrated Security=True" providerName="System.Data.SqlClient"/>




After that you need to manually attach the Northwind database through the SQL
Server Enterprise Manager. In case of manually attaching of the database, slight changes have to be done. Our Northwind database has minor modifications compared to the original one; we added a boolean column to the Customers data table in order to demonstrate check box editor support for the boolean columns in our grid.
To solve your issue you have two options:
The first one is just to use our database; the second is to remove the all boolean columns from the examples.


Comments

If you'd like to comment on this KB article, please, send us a Support Ticket.
Thank you!

Please Sign In to rate this article.