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

RadControls DEMO for WPF crashes

8 Answers 133 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
nazovi
Top achievements
Rank 1
nazovi asked on 15 Nov 2008, 10:18 PM
I installed it to test to see if it's good for me, but it keeps crashing every couple of seconds, whenever I click anything in the DEMO window.
My OS version is Vista 64-bit, I have installed VS 2008 and .Net framework 3.5 SP1.
Thanks.

Description:
  Stopped working

Problem signature:
  Problem Event Name:    CLR20r3
  Problem Signature 01:    telerik.windows.examples.exe
  Problem Signature 02:    1.0.1.0
  Problem Signature 03:    49142f0e
  Problem Signature 04:    System.Data
  Problem Signature 05:    2.0.0.0
  Problem Signature 06:    4889ece0
  Problem Signature 07:    2742
  Problem Signature 08:    29
  Problem Signature 09:    System.Data.SqlClient.Sql
  OS Version:    6.0.6000.2.0.0.256.1
  Locale ID:    5146

8 Answers, 1 is accepted

Sort by
0
nazovi
Top achievements
Rank 1
answered on 15 Nov 2008, 10:41 PM
Okay, some more info. I figured out it would crash after like 15-20 secs anyways, so I found out that it tries blindly to connect to SQL Server Express, which is not even existing on my computer ( I do have SQL server 2008), and is trying to pull the data from the Northwind database, i.e. to attach it in runtime,
Now I changed the connection strings that are in config files in the demo folder for cs and vb to point to a SQL server that has Northwind database installed, and now I can at least browse the demo, but only until I hit the control that needs the data - it will then crash again, even though I changed these config files.
This demo is not set up properly.

0
Hristo Deshev
Telerik team
answered on 17 Nov 2008, 01:04 PM
Hi nazovi,

I think I guess what is going on. One of the Northwind tables we are using in our examples has been modified, and that is why the examples may fail when connected to an unmodified copy of Northwind. Can you try attaching the Northwind.mdf file to your SQL Server instance, and point the connection string to the newly-attached database?

Regards,
Hristo Deshev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jonathan Miller
Top achievements
Rank 1
answered on 19 Nov 2008, 04:27 PM
Hi WPF demo on your site still isn't working, fyi
0
Hristo Deshev
Telerik team
answered on 20 Nov 2008, 04:53 PM
Hello Jonathan Miller,

I guess you are referring to the online examples hosted here. They seem to work fine on my end -- is it possible you've hit a server or network connection hiccup? If that is not the case, can you paste the error message you are getting or describe what is broken on your end?

Greetings,
Hristo Deshev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jonathan Miller
Top achievements
Rank 1
answered on 21 Nov 2008, 01:01 AM
tried from a different location today (no proxy server, more opened ports) - examples seem to work great now

--possibly a proxy server issue?  port block? dunno - anyway, works now, looks great guys
0
nazovi
Top achievements
Rank 1
answered on 25 Nov 2008, 12:18 AM
No, it is not working, and the crash dump is as I enlisted above. Is there a way to make this working, I just want to see a demo to evaluate what your WPF controls can do?

Thanks.
0
Hristo Deshev
Telerik team
answered on 25 Nov 2008, 02:58 PM
Hello nazovi,

I just tested the installation on a 64-bit Vista machine, and everything seems to be working fine. Here are the steps to manually set up the database that the examples use:
  1. Attach the DataSources\Northwind.mdf database to your SQL Server instance. In my case I named it NorthwindManual. See the SQLServer_attach.png screenshot.
  2. Modify your connection string in your Telerik.Windows.Examples.exe.config file. In my case the correct value is: Data Source=VISTA64\REPORTING;Database=NorthwindManual;Integrated Security=True. See the config_file.png screenshot.
If everything is fine, and the SQL Server is available, the examples should run fine. Check the GridView_running.png screenshot.

By looking at your error log, I assume there is a problem when connecting to the SQL server. Can you paste your connection string and double check that it is valid?

Greetings,
Hristo Deshev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
nazovi
Top achievements
Rank 1
answered on 26 Nov 2008, 12:18 AM
Thank you.

You are right, it works after I changed the connection files, but I had to change 2 app.config and 2 other config files (for cs and vb examples), so 4 config files in total.

Thank you.
Tags
General Discussions
Asked by
nazovi
Top achievements
Rank 1
Answers by
nazovi
Top achievements
Rank 1
Hristo Deshev
Telerik team
Jonathan Miller
Top achievements
Rank 1
Share this question
or