?
Solved

Problems connecting access database on network drive via ODBC. (UNC path is not an option)

Posted on 2010-08-18
12
Medium Priority
?
2,597 Views
Last Modified: 2012-05-10
Network drive is ok and valid in explorer, but is not valid in odbc profile. When database is chosen again in ODBC profile it is ok, but only until next reboot.

(Server is WIN 2003 and the client is WINDOWS 7 32 bit.)
0
Comment
Question by:jes12345
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
  • 2
12 Comments
 
LVL 6

Accepted Solution

by:
robbe earned 800 total points
ID: 33462360
Hi the problem probably is you are using it to connect to a mapped network drive. As the mappings are not known at the ODBC level you should use UNC paths insted of the drive letter. If you don't know the UNC path you can see it by openening a command prompt and typing 'net use'. If you are already using UNC path's like \\servername\share give us some more info about the problem like error messages.
0
 

Author Comment

by:jes12345
ID: 33463378
UNC is unfortunately not an option. The error we get is: Error: directory or path is not valid (translated from Norwegian so maybe not correct) - this is not an issue on XP and seems to be a WIN7 issue only.
0
 
LVL 6

Assisted Solution

by:robbe
robbe earned 800 total points
ID: 33463577
Why can't you use UNC ? is it giving the error there ? The problem is that drive mappings are not made under that user context.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 38

Expert Comment

by:puppydogbuddy
ID: 33463856
Win 7 is a 64 bit OS, running 64 Bit and 32 bit programs.  You probably need to update your ODBC drivers for Win 7.
use "C:\Windows\SysWOW64\odbcad32.exe" to see if the drivers are installed there.
If not, there is a link below for MDAC 2.8. Download & install it from http://www.microsoft.com/downloads/details.aspx?FamilyID=6c050fe3-c795-4b7d-b037-185d0506396c&displaylang=en
and it should install the correct drivers to the correct location.
0
 

Author Comment

by:jes12345
ID: 33464127
This is probably not the issue because the odbc works fine until the next reboot. After a reboot the path is  not valid anymore and the mdb file needs to be selected again.
0
 
LVL 38

Expert Comment

by:puppydogbuddy
ID: 33464976
then,  probably all you need to do is  recreate the connection using the control panel .
0
 

Author Comment

by:jes12345
ID: 33509230
I have tried to recreate the ODBC profile an recreate the mapping to the network drive. Same result.
0
 
LVL 38

Assisted Solution

by:puppydogbuddy
puppydogbuddy earned 1200 total points
ID: 33509879
try going to www.ConnectionStrings.com and see if there is updated connection string for the Win7 environment.

If that does not work, test disconnecting and remapping the network drive on one of the machines using Win 7.

If none of the above work, check user permissions.
0
 

Author Comment

by:jes12345
ID: 33564802
Can I please ask you to advise which user permissions that should be checked?
0
 
LVL 38

Assisted Solution

by:puppydogbuddy
puppydogbuddy earned 1200 total points
ID: 33566345
Per your previous comments, users on win7 are the only ones with the issue.  See if there is a commonality in their profiles vs non-problematic users.  Maybe they have or do not have roaming profiles?
0
 

Author Comment

by:jes12345
ID: 33566921
It seems like the solution was to deactivate user control on the client machines.
0
 
LVL 38

Assisted Solution

by:puppydogbuddy
puppydogbuddy earned 1200 total points
ID: 33567166
Not advisable to completely deactivate.  try changing the settings instead.  See the following link:
               http://technet.microsoft.com/en-us/magazine/2009.07.uac.aspx
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Suggested Courses
Course of the Month9 days, 12 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question