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

Kendo MVC with MVC3

3 Answers 160 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 30 Oct 2012, 01:31 AM
Hi,

Can I use the Kendo MVC framework with a MVC3/razor project on visual studio 2010 Sp1? Also what database needs to be on SQL Server to make the localhost Kendo demos work.  It keeps failing out trying to connect. Is it looking for an advetureworks database?  where can I get one?

I'm presently avoiding upgrading to Visual Studio 2012 cause I don't like the look of it and MS are still deciding if they;re going to skin all the icons.

thanks

Jonathan

3 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 01 Nov 2012, 05:49 PM
Hi Jonathan, 


Please find the answers of your questions below:

  1. Can I use the Kendo MVC framework with a MVC3/razor project on visual studio 2010 Sp1?  - yes, MVC3/Razor and VisualStudio 2010 Sp1 are supported.
  2. Also what database needs to be on SQL Server to make the localhost Kendo demos work. - to be able to run the KendoUI for ASP.NET MVC offline demos you should have installed the SQLExpress server with instance name SQLEXPRESS. The database is included in the project.

Kind Regards,
Vladimir Iliev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jonathan
Top achievements
Rank 1
answered on 01 Nov 2012, 08:07 PM
Hi Vladimir.

Thanks for you answer.  I already have SQL Server 2008 R2 and SQL Server 2012 installed.  Is there a way to create the database without having to install the sqlexpress instance?  Also I noticed that installing the Kendo UI extensions manager causes Visual studio to crash when opening a project.  When I remove the kendo Extension manager or start is safe mode everything is good.  Will here be a patch for that soon?

Cheers,

Jonathan
0
Vladimir Iliev
Telerik team
answered on 06 Nov 2012, 02:49 PM
Hi Jonathan,


Basically to change the SQL server instance where the database will be attached, you should edit the connection strings in the master Web.config file:

<connectionStrings>
    <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"
      providerName="System.Data.SqlClient" />
    <add name="NorthwindConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Northwind.mdf;Integrated Security=True;User Instance=True"
      providerName="System.Data.SqlClient" />
  </connectionStrings>


Kind Regards,
Vladimir Iliev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Installer and VS Extensions
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Jonathan
Top achievements
Rank 1
Share this question
or