Connections to SQL Server files (*.mdf) require SQL

re error message>>>

"Connections to sql server files" "require sql server express 2005 to function properly"

Am trying to go through the MVC tutorial and when I try to add Item in app_data and make a new blank database I get the message in Subject above.

I have Sql Developer 2005 installed, not sql serverexpress. My Instance name is

DALEHP\SQLDEVELOPER  and I have put that into the Visual Studio 2008 Database options screen.

Any ideas on how to make blank database file?


2/18/2009 6:00:32 PM 4300 articles. 0 followers. Follow

5 Replies

Similar Articles

[PageSpeed] 19


I assume that you take one of the first tutorials, the one with the movies database, right? If so, open SQL Server Management Studio, create a new database MoviesDB in there, create a table Movies with the needed colums.

Then in VS2008 you create the .edmx from the database in the model directory (a bit further in that tutorial). When the wizard appears you type in the name of your database server and the newly created database (MoviesDB). The connectionstring will be automatically created in the web.config file.

Grz, Kris.

Read my blog. Handy Firefox plugins for web developers.

Workaround for non working Mark as answer buttons.
2/18/2009 6:36:36 PM


Does that mean that visual studio can't produce blank database if using sql Developer edition?

Next problem in that movie tutorial was that when I right click on the Controller folder, I should see a menu item to "Add Controller", however I did not see that option. I tried on another computer and it was available.  Strange...

2/19/2009 12:19:08 AM


Send me an email and I'll send you the MDF file. Stephens update to the tutorial should be posted in a couple days.

Note the following error in the old tutorial

>> Click the Save button (the icon of the floppy) and give the new table the name Tasks.

You should name it movies - but  you won't need to do any of that work with the MDF file.

Rick -ASP.Net UE  My DD Blog  DD FAQ
2/19/2009 1:11:21 AM

Thanks Rick, I was able to make the db by using sql Developer itself, but am curious why visual studio would not allow the building of a database. I read somewhere that it is because Developer version of sqlserver does not allow it, and I also read that all you have to do is change visual studio Tools->options->database tools->Data Connections "SqlServer Instance name" to the name of your sqlserver, in my case DaleHP\SqlDeveloper. That did not help any either.



2/19/2009 12:52:59 PM

 i read somewhere that u must have SQL Server Express for .mdf files to work.

3/16/2009 2:54:55 PM

Web resources about - Connections to SQL Server files (*.mdf) require SQL -

Connection - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

iMedia Connection: Interactive Marketing News, Features, Podcasts and Video -
High-quality data, if not used properly, can still lead marketers to make bad decisions. Consider these common ways that numbers are used to ...

HTTP persistent connection - Wikipedia, the free encyclopedia
... tacked on to an existing protocol. If the browser supports keep-alive, it adds an additional header to the request: Following this, the connection ...

CareerSonar Turns Facebook Friends Into Job Connections
Looking for a job ? Among your Facebook friends lies the potential for employment. CareerSonar , a new service, brings together a person’s connections ...

Kings Cross identities arrested in connection with murder
Two Kings Cross identities have been arrested in connection with the murder of a man at Sydney hotel.

Governor declares state of emergency in connection with California methane leak
... of Emergency Services) On Wednesday evening, California Governor Jerry Brown declared a state of emergency in Los Angeles County in connection ...

Tons Of Methane Are Spewing Out Of California, And There’s A Connection To The Governor
The out of control leak has forced thousands of residents to flee their homes. Gov. Brown's sister is a paid board member at the company that ...

Report: Man arrested in connection with Ashley Olsen's murder
Italian media agency reports that a non-EU male has been arrested in the murder of the 35-year-old American

Toyota and Kymeta rely on satellites to power this Mirai's data connection
They're hoping to achieve gigabit wireless speeds within the next few years.

Star Wars Rebels Trailer Reveals Force Awakens Connection - Collider
The new extended trailer for the mid-season premiere of the Disney XD animated series Star Wars Rebels reveals a huge connection to The Force ...

Resources last updated: 1/16/2016 8:49:02 AM