Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 9th, 2003, 12:46 PM
Statik Statik is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 129 Statik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
ODBC DSN problems for Access DB

Hi all,

I've been searching and searching and haven't found a solution to this problem yet.

I have a windows 2k3 server with and access database resident on it. I want to access this database from another computer. Initially this computer will be on the same sub-net, but eventually they will be on different sub-nets.

I have setup a System DSN for the mdb file, using the access odbc driver, and called it 'CallMaster'

Now, I've tried using php's odbc connect to connect to the DSN, I've tried PEARs odbc, I've tried using Access on a second computer, and I've tried ODBC socket server. All of them give me the error : ADO Error. Description: Description: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
in some form or another.

I think this narrows the problem down to the odbc implimentation on the server. Can anyone suggest my course from here?

Statik

Reply With Quote
  #2  
Old October 9th, 2003, 12:57 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,850 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 15 m 6 sec
Reputation Power: 766
Assuming you have proper permissions, you should be able to specify a UNC path in your ODBC DSN.

Make sure you can use the mdb file if it's on the same computer you're running your program on first, then move the db file to the 2nd computer.

You may have additional problems if the computers are not in the same subnet.

Reply With Quote
  #3  
Old October 14th, 2003, 06:19 PM
Statik Statik is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 129 Statik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
totally different subnet actually. Local DB server, remotely hosted website. Currently using ODBC Socket Server to parse XML responses from the DB. Seems ok so far.

Statik

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > ODBC DSN problems for Access DB


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway