Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

migrated from stackoverflow.com Feb 11 '12 at 11:43

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 1

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.