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

Error in example

1 Answer 60 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rene
Top achievements
Rank 1
Rene asked on 10 Sep 2008, 09:57 AM
i installed the RadControls_for_WPF_Q2_2008_TRIAL.msi.
Clicking on GridView i get an error message:
"An unhandled exception ("System.Data.SqlClient.SqlException") occured in Telrik.Windwos.Examples.exe[10404]"

what must i do to run the example program

1 Answer, 1 is accepted

Sort by
0
Atanas
Telerik team
answered on 11 Sep 2008, 07:54 AM
Hello Rene,

By default, our application uses SQLExpress and if it is not available, the connection fails. To solve the problem you could  install SQlExpress. If you have already installed SQL Server 2005 you just need to modify the app.config file ("Telerik.Windows.Examples.exe.config") of our sample application.

The modified app.config should look something like this:

<?xml version="1.0" encoding="utf-8" ?> 

<configuration> 

    <configSections> 

    </configSections> 

    <connectionStrings> 

        <add name="Telerik.Windows.Examples.Properties.Settings.NorthwindConnectionString" 

            connectionString="Data Source=MYDBSERVERADDRESS;Database=Northwind;Integrated Security=True" 

            providerName="System.Data.SqlClient" /> 

    </connectionStrings> 

</configuration> 



Regards,
Atanas
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Rene
Top achievements
Rank 1
Answers by
Atanas
Telerik team
Share this question
or