473,418 Members | 2,344 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

MaxLocksPerFile Error

I am running the table analyzer in access 2003. I have edited the maxlocksperfile entry to 300,000 and when i try and analyze the table i get a Not enough space on temporary disk error. I have a 3ghz processor and 1 gb of RAM and nothing in the TEMP directory. The database is over 90,000 records, but with such a large amount of ram and processor power, i dont think there should be a problem. What do I do from here?


James
Jun 12 '07 #1
13 4706
I would lower it from 300k to 200k or so and try that 300k is imo a bit high unless you actually need it to be that high 200k is normally what i would reccomend as a max
Jun 12 '07 #2
I would lower it from 300k to 200k or so and try that 300k is imo a bit high unless you actually need it to be that high 200k is normally what i would reccomend as a max

I have set it back down, and i am still getting the TEMP File size error. Any other suggestions??

Thanks

James
Jun 12 '07 #3
ADezii
8,834 Expert 8TB
I am running the table analyzer in access 2003. I have edited the maxlocksperfile entry to 300,000 and when i try and analyze the table i get a Not enough space on temporary disk error. I have a 3ghz processor and 1 gb of RAM and nothing in the TEMP directory. The database is over 90,000 records, but with such a large amount of ram and processor power, i dont think there should be a problem. What do I do from here?


James
This has absolutely nothing to do with your system specifications - they are more than adequate. If you are working on a Network Drive, it is possible that your Temporary Drive is not on the Network Drive. Access uses a Temporary Directory to store Temporary Files as you work with data. If this Temporary Directory is on a Disk that's short of Free Space, such as your Local Hard Drive, you may see this Error even though your Network Drive has sufficient Free Space. Check you Temporary Drive as such:
  1. From within Access ==> Help ==> About Microsoft Access.
  2. In the Dialog Box that appears, click System Info.
  3. Look at the line that reads TEMP Directory, TMP Directory. This is your Temporary drive. Make sure you have adequate space available.
  4. If all else fails, create a Make Table query based on the original 90,000 Record Query, but set a Criteria such that only, say 1,000, Records are created. Run the Table Analyzer on this Table. I would say that any suggestions made would also be applicable to the 90,000 Record Version. Good Luck!
Jun 12 '07 #4
NeoPa
32,556 Expert Mod 16PB
How much space is available on your drive?
That's the only relevant issue as far as I can see. Processor speed & RAM size don't effect much apart from the speed.
Jun 12 '07 #5
I have over 50 gigs of space available. I have set the TEMP folder to C:\Temp

Any other suggestions?

Thanks

James
Jun 13 '07 #6
NeoPa
32,556 Expert Mod 16PB
Your Temp folder and the 50GB should prove more than adequate. I don't know of anything else that would cause this I'm afraid.
I didn't realise yesterday that ADezii had posted just before me. Nice to see that he was saying much the same (albeit in more helpful detail).
Jun 13 '07 #7
ADezii
8,834 Expert 8TB
I have over 50 gigs of space available. I have set the TEMP folder to C:\Temp

Any other suggestions?

Thanks

James
Did you try Item #4 in Post #4?
Jun 13 '07 #8
We (my office) are going to migrate the database to an MS-SQL server database, so we shouldnt have any problems. On a related note, are the forms that are made in access2003 going to transfer to an MS-SQL database? Am I wasting my time trying to build a front end form in Access 2003 if it will be migrated to an MS-SQL Server?

Thanks for your time,

James
Jun 14 '07 #9
NeoPa
32,556 Expert Mod 16PB
In most cases, you don't migrate the front end of the project, you migrate the back-end (or data store). Our colleagues in the MS-SQL forum will tell you more about this, but it's more common to keep the user interface in Access while linking all the tables to a database managed by an MS-SQL server.
I doubt an Access form would migrate to MS-SQL, but go ask the experts there if you're still interested.
Jun 14 '07 #10
Thank you for your assistance.


James
Jun 14 '07 #11
NeoPa
32,556 Expert Mod 16PB
No problem.
Good luck with your project.
Jun 14 '07 #12
As to migrating to SQL server. You can use an ADP to directly connect to your SQL Server. An ADP is like an MDB only it does NOT use the JET DB it uses SQL Server.

You will have to change the forms to some degree. Since you are in the DEV mode you can port the Access tables to an instance of SQL server into a temporary DB and then DEV you forms using an ADP. You can still make an executable version of the ADM but it is called an ADE as opposed to an MDE.

Personally I have found that using the migration wizard is a pain in the %&&. I would just import my tables from my Access DB using a DTS process and then I would DEV my queries and stored procedures, I would not migrate those.

There are differences in the forms you would use in an ADP and some of the VBA will differ as well, so there will be a learning curve. Since you are in the DEV mode this is the time to make the change.

Once you have the application completed (ADP) and are ready to roll it out you can make a new DB and import the tables again. Update the table structure with any changes you had made to the development version, import your views, functions, and stored procedures from the development version. You will then have to change the connection property for your ADP to the new version and deploy your solution.

An ADP is much faster than using ODBC connection. Another advantage is that you can use the stored procedures directly. All the processing is done on the server side and only the results are sent, sort of like a pass-through query only the record sets are updateable. You can not have local tables with an ADP and you will not be able to link to other sources.

This is worth looking in to.
Jun 20 '07 #13
ADezii
8,834 Expert 8TB
We (my office) are going to migrate the database to an MS-SQL server database, so we shouldnt have any problems. On a related note, are the forms that are made in access2003 going to transfer to an MS-SQL database? Am I wasting my time trying to build a front end form in Access 2003 if it will be migrated to an MS-SQL Server?

Thanks for your time,

James
WolfBear brought up some very good points, one of which was DTS (Data Transformation Services) within SQL Server. This would be an excellent utility for migrating your data in SQL Server. To access DTS:
  1. Programs
  2. Microsoft SQL Server
  3. Import and Export Data.
  4. Data Transformation Services Import/Export Wizard.
Jun 20 '07 #14

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Trevor Fairchild | last post by:
I'm working with an ado recordset in VB6 - connecting to a database and updating every record for a new index number based on a filter set ordered by the user. I get the "File Sharing Lock Count...
1
by: rdavis7408 | last post by:
I have a database that has a form that opens a report using date parameters. I have been using it for six months and last week I began to get the following Error Message: "File sharing lock...
13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
7
by: Paul | last post by:
Hello everyone, I have searched around the web and cannot find any more information on this topic. I'm hoping that some intelligent programmer in this group can help me out. I have an Access 2K...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
0
by: surotkin | last post by:
Hi all! My code is causing a violation against the MaxLocksPerFile in the registry. I checked Microsoft Knowledge Base http://support.microsoft.com/default.aspx?scid=kb;EN-US;815281. It...
5
by: Ronny Sigo | last post by:
Hi all, I am trying to search a table of emailaddresses records (tblMails - slightly more then 7000)for the occurance of words which are stored in another table (tblFilterwords- aprox 3000...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.