Subject: connecting to SQL express
Posted By: cherry Post Date: 8/30/2006 10:13:18 AM
On page 187 in "Visual c# 2005 Express Edition Starter Kit by Barker are instructions for connecting to SQL Express db. First CoffeeSQL.mdf is not on the CD sent with the book! So I had to use another .mdf and I'm not sure about it, ie, if it can be used with SQL Express. Anyway I get this error when I try to connect:

"Unable to open the physical file... Operating system error 32: "32(The process cannot access the file because it is being used by another process.)" An attempt to attach an auto-named database for the file... failed. A database with the same name exits, or specified file cannot be opened, or it is located on UNC share."

Any ideas?

Reply By: Ankur_Verma Reply Date: 8/30/2006 12:03:20 PM
You may want to post this query on one of the books forum.

http://p2p.wrox.com/default.asp?CAT_ID=23

Regards
Ankur
Reply By: cherry Reply Date: 9/2/2006 12:34:21 PM
quote:
Originally posted by Ankur_Verma

You may want to post this query on one of the books forum.

http://p2p.wrox.com/default.asp?CAT_ID=23

Regards
Ankur




OK thanks.

Go to topic 49205

Return to index page 186
Return to index page 185
Return to index page 184
Return to index page 183
Return to index page 182
Return to index page 181
Return to index page 180
Return to index page 179
Return to index page 178
Return to index page 177