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

User Instance login flag is not supported

7 Answers 72 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Will Ferguson
Top achievements
Rank 1
Will Ferguson asked on 18 Nov 2009, 05:04 AM
OPening the datagrid example I get this error:
User Instance login flag is not supported
I know it must have something to do with sql setteings.. any ideas on how to troubleshoot?

7 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 18 Nov 2009, 07:45 AM
Hello Will,

You can modify the connection string to our demo data in app.config file of the examples project:

<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>

In your case you can delete user instance flag.

Sincerely yours,
Vlad
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
Will Ferguson
Top achievements
Rank 1
answered on 18 Nov 2009, 08:20 AM
ok sounds good. but Where is the demo project located?
i've looked in c:\p~files\telerik\demos\gridview there's no solution

0
Milan
Telerik team
answered on 19 Nov 2009, 10:34 AM
Hi Will Ferguson,

You can find the examples project in the installation folder of RadControls for WPF (typically "C:\Program Files\Telerik\RadControls for WPF Q3 2009"). There you will find a folder called Demos which contains the project "Examples_WPF.CS". Once you open the project you just have to modify the app.config file and rebuild.


All the best,
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
Will Ferguson
Top achievements
Rank 1
answered on 19 Nov 2009, 12:35 PM
I found the examples project. I open it and get 333 errors.
0
Milan
Telerik team
answered on 24 Nov 2009, 03:23 PM

Hello Will Ferguson,

Have you modified any other parts of the example project besides the app.config file? We will also appreciate it if you could send the the first couple of errors that appear in the Output window of Visual Studio. 


Greetings,
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
Will Ferguson
Top achievements
Rank 1
answered on 01 Dec 2009, 04:20 AM
In VS2008 here are the first three errors (of 438)

Error 1 The type 'Telerik.Windows.Examples.Employee' already contains a definition for 'emptyChangingEventArgs' C:\Program Files\Telerik\RadControls for WPF Q3 2009\Demos\Backup\Northwind1.designer.cs 133 44 Examples_WPF.CS
Error 2 The type 'Telerik.Windows.Examples.Employee' already contains a definition for '_EmployeeID' C:\Program Files\Telerik\RadControls for WPF Q3 2009\Demos\Backup\Northwind1.designer.cs 135 15 Examples_WPF.CS
Error 3 The type 'Telerik.Windows.Examples.Employee' already contains a definition for '_LastName' C:\Program Files\Telerik\RadControls for WPF Q3 2009\Demos\Backup\Northwind1.designer.cs 137 18 Examples_WPF.CS



Here are the first three errors opening the project VS2010beta2

Error 12 The type reference cannot find a public type named 'RadComboBox'. Line 686 Position 87. C:\Program Files\Telerik\RadControls for WPF Q3 2009\Demos\Backup\App.xaml 686 87 Examples_WPF.CS
Error 13 The tag 'Example' does not exist in XML namespace 'clr-namespace:Telerik.Windows.QuickStart;assembly=Telerik.Windows.QuickStart'. Line 2 Position 2. C:\Program Files\Telerik\RadControls for WPF Q3 2009\Demos\Backup\Buttons\DropDownButton\Example.xaml 2 2 Examples_WPF.CS
Error 14 The tag 'Example' does not exist in XML namespace 'clr-namespace:Telerik.Windows.QuickStart;assembly=Telerik.Windows.QuickStart'. Line 2 Position 2. C:\Program Files\Telerik\RadControls for WPF Q3 2009\Demos\Backup\Buttons\FirstLook\Example.xaml 2 2 Examples_WPF.CS
Error 15 The tag 'Example' does not exist in XML namespace 'clr-namespace:Telerik.Windows.QuickStart;assembly=Telerik.Windows.QuickStart'. Line 2 Position 2. C:\Program Files\Telerik\RadControls for WPF Q3 2009\Demos\Backup\Buttons\SplitButton\Example.xaml 2 2 Examples_WPF.CS
Error 16 The tag 'Example' does not exist in XML namespace 'clr-namespace:Telerik.Windows.QuickStart;assembly=Telerik.Windows.QuickStart'. Line 2 Position 2. C:\Program Files\Telerik\RadControls for WPF Q3 2009\Demos\Backup\Buttons\WPF\Commands\Example.xaml 2 2 Examples_WPF.CS
0
Milan
Telerik team
answered on 03 Dec 2009, 04:30 PM
Hi Will Ferguson,

Hum, that is very strange - judging from the VS2008 errors of the VS2010 conversion process might have broken some of the code. May I ask you to download our manual installation package and overwrite your current demos with the ones that are contained in the manual installation zip. Once you have original demos could and the app.config modifications are applied could you please try to compile the examples once again? 

Hopefully this time it will work.

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.
Tags
GridView
Asked by
Will Ferguson
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Will Ferguson
Top achievements
Rank 1
Milan
Telerik team
Share this question
or