I am on a shared hosting plan and cannot install SQL Server Express, is there another way I can use my .mdf database or will I need to export it to a SQL Server database and change all my connection strings?
migrated from stackoverflow.com Feb 11 '12 at 11:43
This question came from our site for professional and enthusiast programmers.
If you have an MDF file, the only way to access the information within it is through some type of SQL Server instance. You're going to have to use the ATTACH mechanism to add the .mdf to the instance. From there, you can query it as needed. From the sounds of things, you're going to have to modify where and how you connect, yes.