|
|
I am following the tutorial using Visual Studio 2010 and I got as far as adding some movies to the database. After I went to the data connections and opened the database to view the table and the data, I could no longer run the application. The error said the database could not be opened. The error continued even after I closed the connection to the database (right click and close connection on the tutorial database). If I try to delete the database file it says it is in use by SQL Server. I had to edit the connection string to use a new database. Now when I go to the data connections and try to open the old database it won't let me because it says the file is in use Any idea what is going wrong and how I can delete the old database files? Can I view the database using the Data Connections in the Server Explorer.
I just installed VS2010, SP1. When I try to open the solution, I get this message: '...\MVC 4\C#\MvcMovie\MvcMovie.csproj' cannot be opened because its project type (.csproj) is not supported by this verstion of the application. To open it, please use a version that supports this type of project. What do I need?
This usually indicates SP1 is not installed correctly. We have nearly 1,500 downloads with no reported problems. Try opening other ASP.NET MVC 3/4 projects that require SP1.
The article is entitled Intro to ASP.NET MVC 4, but the screenshots and directions are for ASP.NET MVC3. What gives?
No, it's MVC 4 Beta. It has a lot of similarity to MVC 3. Can you point out what is not MVC 4?