Can't View Demo of Carousel

8 posts, 1 answers
  1. Matt Tapia
    Matt Tapia avatar
    18 posts
    Member since:
    Jul 2009

    Posted 14 Sep 2009 Link to this post

    Every time I attempt to view the demo of the WPF Carousel object, I receive an Fatal Error with a massive message box, chock full of error text....any thoughts of how to fix this? I really to need to demo this control.
  2. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 15 Sep 2009 Link to this post

    Hello Matt Tapia,

    Could you paste the error message here so that we can get some more information about the problem?

    Sincerely yours,
    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Matt Tapia
    Matt Tapia avatar
    18 posts
    Member since:
    Jul 2009

    Posted 15 Sep 2009 Link to this post

    Error message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. Ther server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.

    This was after clicking on either Launch VB.NET Examples or Launch C#.NET Examples from the Telerik Rad Controls For WPF Q2 2009 Programs Folder.

  5. Matt Tapia
    Matt Tapia avatar
    18 posts
    Member since:
    Jul 2009

    Posted 15 Sep 2009 Link to this post

    And when I load the demo on the website and click on Carousel, the browser says:

    An error occurred in the application you where using.

    I am using IE7 and .NET Framework 3.5 installed.

    Matt
  6. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 15 Sep 2009 Link to this post

    Hello Matt Tapia,

    You can refer to this post which could help fix the issue.
    In general you need .Net 3.5 SP1 and SQL Express to run the demos. If you have another version of Microsoft SQL server you should reconfigure the connection string.

    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.
  7. Matt Tapia
    Matt Tapia avatar
    18 posts
    Member since:
    Jul 2009

    Posted 15 Sep 2009 Link to this post

    Do I have to use a database/server that is local to my machine? If not, how can I best reference the remote server with the Northwind db installed?

    <

     

    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>

     

  8. Answer
    Milan
    Admin
    Milan avatar
    1989 posts

    Posted 16 Sep 2009 Link to this post

    Hello Matt Tapia,

    You should use the SQL server that is on your local machine.

    Best wishes,
    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.
  9. Jose Simas
    Jose Simas avatar
    35 posts
    Member since:
    Mar 2009

    Posted 09 Oct 2009 Link to this post

    Hi,

    I spent some time with the same problem today (which also applies to the GridView demo) and found out it is possible to use a remote SQL Server. The first thing you need to do is copy the Northwind.mdf file under C:\Program Files\Telerik\RadControls for WPF Q3 2009\Demos\DataSources\ to the remote SQL Server and attach it.

    Then open the demo project Examples_WPF.CS.csproj at C:\Program Files\Telerik\RadControls for WPF Q3 2009\Demos\. Add a new connection pointing to the remote server (Data->Add New Data Source) or add the connection string by hand to the app.config. Finally look for the Northwind.dbml file in that project, open it and select Properties. Expand the Connection node in the properties and point the Connection String item to the new connection string.

    Recompile the application and you should be done. 

    Jose

    P.S Telerik should really consider shipping this example with a file base database like SQLite.
Back to Top
UI for WPF is Visual Studio 2017 Ready