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 Basic 2005 Express Edition Starter Kit ISBN: 978-0-7645-9573-8
This is the forum to discuss the Wrox book Wrox's Visual Basic 2005 Express Edition Starter Kit by Andrew Parsons; ISBN: 9780764595738
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Wrox's Visual Basic 2005 Express Edition Starter Kit ISBN: 978-0-7645-9573-8 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 9th, 2006, 09:48 PM
Registered User
 
Join Date: Apr 2006
Location: , , Australia.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't connect from a client.

I'm trying to connect from a client pc using Visual Basic 2005 Express Edition to a server on the same network.



When I'm within Visual Basic 2005, and try to connect to the database using the Data Source Configuration Wizard. I'm able to go through all the screens (and select the database I want ). I then get this message:


The file "F:\MSSQL\Data\northwnd.mdf" failed. A database with the same name exists, or the specified file can not be opened, or it is located on a UNC share.


I tried to register a request with Microsoft using the product ID that came with the book and that was not accepted by them.

I have two pcs.
1) The client has Windows 2000 as an operating system and Visual Basic 2005 Express edition.
2) The server has Windows 2003, with an instance of SQL server 2000 on it.

(both pcs belong to the same domain, and I'm logging in as the administrator on both machines (with the same password). The drive and folder where the SQL database is, is fully shared with all authenticated Windows users).

There is no other database on the server with that name.
When I log onto the server directly, I can access the data.

I can browse the network and access all files using My Computer on the client pc. So I can't see why it's not working using Visual Basic 2005 Express Edition.

Anyone with any ideas, thank you.

Reply With Quote
  #2 (permalink)  
Old April 15th, 2006, 10:11 AM
Registered User
 
Join Date: Apr 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm brand new to any of this so please forgive me if this is a dumb idea, but have you tried downloading and installing the current build from the microsoft web site? Just a thought, maybe something has been tweaked or fixed since the Cd's for the book were burned.

Reply With Quote
  #3 (permalink)  
Old April 23rd, 2006, 04:29 AM
Registered User
 
Join Date: Apr 2006
Location: , , Australia.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Xen_Blue thanks for the suggestion, your help is appreciated.

Reply With Quote
Reply


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
connecting client to client (Socket programming) maricar C# 0 September 25th, 2008 04:34 AM
Cant Connect hansalas PHP Databases 2 April 16th, 2005 03:25 PM
can't connect to Northwind baker_eliz C# 2 December 5th, 2004 06:29 PM
[ConnectionOpen (Connect()).] audiodan98 SQL Server 2000 1 November 25th, 2004 10:41 PM



All times are GMT -4. The time now is 06:34 PM.


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