Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

access db corrupt in specific directory

Posted on 2013-02-04
6
Medium Priority
?
344 Views
Last Modified: 2013-02-07
Hi experts, here's a strange (at least for me) problem:

The problem occurred when i copied an access db (about 630 mB) from a local disk to a specific directory on the server. The local db was not corrupt but the copy on the server was. The copy of the local db to a another directory on the server was not corrupt. but when i move the correct db from the 'other' directory to the specific directory, it is corrupt again.

so:

db on C:\ copy to ......server\DirA\Dirb                        -----> copy is corrupt
db on C:\ copy to ......server\DirA                                -----> copy is not corrupt
drag db from server\DirA    to ......server\DirA\DirB  -----> moved db is corrupt

any ideas? Is this a windows- or access issue???
0
Comment
Question by:corhaveman
6 Comments
 
LVL 22

Assisted Solution

by:Kelvin Sparks
Kelvin Sparks earned 600 total points
ID: 38850348
Are the user rights the same on both? Is there any compression on one and not the other?

Kelvin
0
 
LVL 52

Assisted Solution

by:Gustav Brock
Gustav Brock earned 300 total points
ID: 38850352
Try to copy the file back - from the "bad" directory DirB to a "good" directory.

If it still is bad, something happens to the file during the initial copy.
If it is good, something happens when Access connects the file in the "bad" directory DirB.

In any case, this sounds like a file server issue not related to Access.

/gustav
0
 
LVL 58

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 300 total points
ID: 38850856
I've seen that happen with buggy NIC drivers.  Also, check anti-virus on the server and turn it off as a test.

Last, zip the DB, copy and un-zip.  See if it still gives you a problem.

Jim.
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 13

Assisted Solution

by:Gabriel Clifton
Gabriel Clifton earned 300 total points
ID: 38856492
Backup all of the files in the "bad" directory. Delete the bad directory, recreate it and try copying files to the directory.
0
 
LVL 22

Accepted Solution

by:
Kelvin Sparks earned 600 total points
ID: 38857492
The other thing to keep in mind is the total length of the directory path name and filename. TRhese should not exceed 255 characters. Access can have problems resolving anything longer than that.


Kelvin
0
 

Author Closing Comment

by:corhaveman
ID: 38864169
Hi Guys,

For some reason the problem solved itself a few days later. I have have no idea what caused the problem. Thanks for the suggestions. I divided the points.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

877 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