How to attach database

A

ad

I am useing SqlServer Express 2005.
I have a Database files in c:\db, the files is like db.mdf and db.ldf.
How can I attach them the the SqlServer Express with program?
 
M

Mesut

I assume you need to set up a connection string.
But I have problem setting up the connection string so I post a
question like you:
TOPIC: Something is wrong in my SQL ConnectionString but what?

Hopefully someone can respond on our e-mails so we learn both how to
do...

Mesut
 
A

ad

It is amazing about the new AttachDBFilename, I am trying the posible of it.
but I end up with a problem.
I am using VS2005 to develop web application
My SqlServer is Sql2005 Standard. When I use the AttachDBFilename in my
connection, it is ok for general asp.net page. but when I use the connection
as typed dataset, it fail with message: "The user instance login flag is not
supported on this version of SqlServer.

Is user instance just support Sql2005 Express?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top