This question is locked. New answers and comments are not allowed.
I downloaded the extensions installer and ran it. The tried out the demo. When I clicked on the grid demo, the following exception occurred:
Server Error in '/RadControls_AspNetMVC' Application.
Database 'C:\PROGRAM FILES (X86)\TELERIK\EXTENSIONS FOR ASP.NET MVC Q1 2010\EXAMPLES\TELERIK.WEB.MVC.EXAMPLES\APP_DATA\NORTHWIND.MDF' cannot be upgraded because it is read-only or has read-only files. Make the database or files writeable, and rerun recovery.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Database 'C:\PROGRAM FILES (X86)\TELERIK\EXTENSIONS FOR ASP.NET MVC Q1 2010\EXAMPLES\TELERIK.WEB.MVC.EXAMPLES\APP_DATA\NORTHWIND.MDF' cannot be upgraded because it is read-only or has read-only files. Make the database or files writeable, and rerun recovery.
An attempt to attach an auto-named database for file C:\Program Files (x86)\Telerik\Extensions for ASP.NET MVC Q1 2010\Examples\Telerik.Web.Mvc.Examples\App_Data\Northwind.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Source Error:
Source File: c:\Program Files (x86)\Telerik\Extensions for ASP.NET MVC Q1 2010\Examples\Telerik.Web.Mvc.Examples\Views\Grid\FirstLook.aspx Line: 20
Stack Trace:
Server Error in '/RadControls_AspNetMVC' Application.
Database 'C:\PROGRAM FILES (X86)\TELERIK\EXTENSIONS FOR ASP.NET MVC Q1 2010\EXAMPLES\TELERIK.WEB.MVC.EXAMPLES\APP_DATA\NORTHWIND.MDF' cannot be upgraded because it is read-only or has read-only files. Make the database or files writeable, and rerun recovery.
An attempt to attach an auto-named database for file C:\Program Files (x86)\Telerik\Extensions for ASP.NET MVC Q1 2010\Examples\Telerik.Web.Mvc.Examples\App_Data\Northwind.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Database 'C:\PROGRAM FILES (X86)\TELERIK\EXTENSIONS FOR ASP.NET MVC Q1 2010\EXAMPLES\TELERIK.WEB.MVC.EXAMPLES\APP_DATA\NORTHWIND.MDF' cannot be upgraded because it is read-only or has read-only files. Make the database or files writeable, and rerun recovery.
An attempt to attach an auto-named database for file C:\Program Files (x86)\Telerik\Extensions for ASP.NET MVC Q1 2010\Examples\Telerik.Web.Mvc.Examples\App_Data\Northwind.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Source Error:
Line 18: <% } %>Line 19: Line 20: <%= Html.Telerik().Grid<OrderDto>(Model)Line 21: .Name("Grid")Line 22: .Columns(columns => |
Source File: c:\Program Files (x86)\Telerik\Extensions for ASP.NET MVC Q1 2010\Examples\Telerik.Web.Mvc.Examples\Views\Grid\FirstLook.aspx Line: 20
Stack Trace:
[SqlException (0x80131904): Database 'C:\PROGRAM FILES (X86)\TELERIK\EXTENSIONS FOR ASP.NET MVC Q1 2010\EXAMPLES\TELERIK.WEB.MVC.EXAMPLES\APP_DATA\NORTHWIND.MDF' cannot be upgraded because it is read-only or has read-only files. Make the database or files writeable, and rerun recovery.An attempt to attach an auto-named database for file C:\Program Files (x86)\Telerik\Extensions for ASP.NET MVC Q1 2010\Examples\Telerik.Web.Mvc.Examples\App_Data\Northwind.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.] System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4849015 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2394 System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +35 System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +144 System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +342 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +221 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +433 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117 System.Data.SqlClient.SqlConnection.Open() +122 System.Data.Linq.SqlClient.SqlConnectionManager.UseConnection(IConnectionUser user) +44 System.Data.Linq.SqlClient.SqlProvider.get_IsSqlCe() +45 System.Data.Linq.SqlClient.SqlProvider.InitializeProviderMode() +20 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) +57 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute(Expression expression) +26 Telerik.Web.Mvc.Extensions.QueryableExtensions.Count(IQueryable source) +143 Telerik.Web.Mvc.Extensions.QueryableExtensions.ToGridModel(IQueryable queryable, Int32 page, Int32 pageSize, IList`1 sortDescriptors, IEnumerable`1 filterDescriptors, IEnumerable`1 groupDescriptors) +92 Telerik.Web.Mvc.UI.GridDataProcessor.EnsureDataSourceIsProcessed() +136 Telerik.Web.Mvc.UI.Grid`1.WriteBody(IGridHtmlBuilder`1 builder, IHtmlNode parentTag) +836 Telerik.Web.Mvc.UI.Grid`1.WriteHtml(HtmlTextWriter writer) +1788 Telerik.Web.Mvc.UI.ViewComponentBase.Render() +96 Telerik.Web.Mvc.UI.ViewComponentBuilderBase`2.Render() +22 Telerik.Web.Mvc.UI.ViewComponentBuilderBase`2.ToString() +7 System.Web.HttpWriter.Write(Object obj) +22 System.Web.Mvc.SwitchWriter.Write(Object value) +15 System.Web.UI.HtmlTextWriter.Write(Object value) +31 ASP.views_grid_firstlook_aspx.__Render__control2(HtmlTextWriter __w, Control parameterContainer) in c:\Program Files (x86)\Telerik\Extensions for ASP.NET MVC Q1 2010\Examples\Telerik.Web.Mvc.Examples\Views\Grid\FirstLook.aspx:20 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 System.Web.UI.Control.Render(HtmlTextWriter writer) +10 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 ASP.views_shared_examples_master.__Render__control3(HtmlTextWriter __w, Control parameterContainer) in c:\Program Files (x86)\Telerik\Extensions for ASP.NET MVC Q1 2010\Examples\Telerik.Web.Mvc.Examples\Views\Shared\Examples.Master:16 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 System.Web.UI.Control.Render(HtmlTextWriter writer) +10 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 ASP.views_shared_site_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Program Files (x86)\Telerik\Extensions for ASP.NET MVC Q1 2010\Examples\Telerik.Web.Mvc.Examples\Views\Shared\Site.Master:20 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 System.Web.UI.Control.Render(HtmlTextWriter writer) +10 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 System.Web.UI.Control.Render(HtmlTextWriter writer) +10 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 System.Web.UI.Page.Render(HtmlTextWriter writer) +29 System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) +59 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266 My SQL Server version info: Microsoft SQL Server Management Studio 10.0.2531.0Microsoft Analysis Services Client Tools 10.0.1600.22Microsoft Data Access Components (MDAC) 6.1.7600.16385Microsoft MSXML 3.0 4.0 6.0 Microsoft Internet Explorer 8.0.7600.16385Microsoft .NET Framework 2.0.50727.4927Operating System 6.1.7600 O/S: Windows 7 Ultimate, x64 Visual Studio Version: 2008 & 2010 |