Wrox Programmer Forums
|
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 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 April 9th, 2006, 09:48 PM
Registered User
 
Join Date: Apr 2006
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.

 
Old April 15th, 2006, 10:11 AM
Registered User
 
Join Date: Apr 2006
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.

 
Old April 23rd, 2006, 04:29 AM
Registered User
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Xen_Blue thanks for the suggestion, your help is appreciated.






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





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