Can't run the Demo

5 posts, 0 answers
  1. Dan
    Dan avatar
    739 posts
    Member since:
    Mar 2009

    Posted 09 Mar 2009 Link to this post

    I've downloaded and installed the WPF controls.

    When the demo is run, it crashes. At first I thought that is was something I was doing, but each time I tried it I did something different. In the end, I just started the demo and did nothing and it still crashed.

    It appears that it will always crash after about the same period of time regardless of the level of interaction I have with it.

    This machine has XPPro SP2, V2008SP1 .Net v3.5SP1 installed.

    Is there something I've missed?

    --
    Stuart
  2. Jordan
    Admin
    Jordan avatar
    123 posts

    Posted 13 Mar 2009 Link to this post

    Hello Stuart,

    Do you have running SQL Server 2005 Express?
    When QSF start we try to connect to it.

    All the best,
    Jordan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Dan
    Dan avatar
    739 posts
    Member since:
    Mar 2009

    Posted 13 Mar 2009 Link to this post

    Ah-ha! No, I have a full developer version of SQL2005.

    Can I run the demos with that?

    --
    Stuart
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 16 Mar 2009 Link to this post

    Hi Stuart ,

    Please modify NorthwindConnectionString in app.config to resolve this:
    ...       
    <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"/>
    ...

    Best wishes,
    Vlad
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Phil
    Phil avatar
    12 posts
    Member since:
    Jan 2011

    Posted 23 Dec 2012 Link to this post

    I'm also having trouble with mdf databases.  One solution helped:  http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/219f42cf-5c99-4a72-9acb-249210c835e2, cleaning out the SQLEXPRESS data folder.  This worked in half the web site samples I tried...one.  The other one I had to copy a DataClasses.dbml from a working site to the problem site, and change the datasource from SqlDatasoure to LinqDatasource.  Also, make sure your SQLServer (SQLEXPRESS) service is running.

Back to Top
UI for WPF is Visual Studio 2017 Ready