2

I am install an c# winforms app 3.5 to a client that references a mdf file that will in SQL server express.

I installed .net 3.5 sp1 so the latest .net data providers for SQL server should be there?? I am getting an error for system.data and the above dll. What are the dependencies am I missing?

1
  • 1
    Please install a web cam on the machine so we can read the error. Commented Apr 13, 2010 at 18:27

1 Answer 1

2

You need to install SQL Server as well :) The Dot Net Framework 3.5 does not include SQL Server.

And if its a client deployed application, you should have used a local database, .sdf (SQL Server CE)

.mdf (server based databases) are used when a lot of customers need to access a single shared database.

You can use a .SDF but SQL Server needs to be installed and if the database reside in the application folder you will require to change the connection string as well.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.