Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 30th, 2006, 10:13 AM
Registered User
 
Join Date: Aug 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default connecting to SQL express

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?

 
Old August 30th, 2006, 12:03 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

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

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

Regards
Ankur
 
Old September 2nd, 2006, 12:34 PM
Registered User
 
Join Date: Aug 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting SQL server express edition gauravawas C# 1 February 19th, 2008 05:03 PM
connecting to a sql 2005 express database twisted f8 Visual Basic 2005 Basics 1 September 13th, 2007 09:49 PM
C# connecting to SQL Express supertorro C# 0 July 10th, 2006 07:33 AM
Connecting to SQL Server Express venkikrao VB.NET 3 February 4th, 2006 12:00 AM
Problem connecting to SQL Express after publishing bleitner SQL Server 2005 2 January 9th, 2006 01:52 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.