Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Book: Wrox's Visual C# 2005 Express Edition Starter Kit
This is the forum to discuss the Wrox book Wrox's Visual C# 2005 Express Edition Starter Kit by F. Scott Barker; ISBN: 9780764589553
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Book: Wrox's Visual C# 2005 Express Edition Starter Kit section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 2nd, 2006, 12:32 PM
Registered User
 
Join Date: Aug 2006
Location: Leander, tx, USA.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default CoffeeSQL.mdf

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?
  #2 (permalink)  
Old September 4th, 2006, 07:53 AM
Authorized User
 
Join Date: Dec 2005
Location: , , United Kingdom.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you go to the book's site you can download the code for the book; CoffeeSQL.mdf is included in the download along with its log file. Other .mdf files should theoretically work with SQL Server but not being a DBA I really couldn't tell you what is causing your error.

http://www.wrox.com/WileyCDA/WroxTit...load_code.html

  #3 (permalink)  
Old September 4th, 2006, 04:08 PM
Registered User
 
Join Date: Aug 2006
Location: Leander, tx, USA.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah, that's what I thought too but there's not CoffeeSQL.mdf with the download! Where else can I look?



Quote:
quote:Originally posted by disruptivehair
 If you go to the book's site you can download the code for the book; CoffeeSQL.mdf is included in the download along with its log file. Other .mdf files should theoretically work with SQL Server but not being a DBA I really couldn't tell you what is causing your error.

http://www.wrox.com/WileyCDA/WroxTit...load_code.html

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where are the .mdf and .ldf files? mike72 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 March 18th, 2008 11:11 AM
Retrieve from MDF toddw607 SQL Server 2005 0 October 8th, 2007 03:28 PM
ASPNETDB.MDF Changing motemape BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 May 27th, 2007 06:14 AM
aspnetdb.mdf Jackxxx ASP.NET 2.0 Basics 0 January 9th, 2007 01:37 PM
problem with mdf file Rahil SQL Server 2000 2 April 29th, 2004 11:03 PM



All times are GMT -4. The time now is 09:43 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.