473,395 Members | 1,869 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,395 software developers and data experts.

Bad network performance over 10Mb line with database

6
Hello,

New here. Have been searching this forum for a couple of hours now ( i am not kddin).... Havnt been able to find the solution to my problem.

I have a access database. Split front and backend. Both located on a server.
Users access it trough a shortcut on there desktop

The original database was created in 97 .... upgraded and modified in version 2K and now upgraded, modified and running in 2003.

The database is running on a server standing in my country (norway). Users have no problem using it. Multiple user login about 5 ... no probs.
If i copy the database to another server of our company (located in Danmark) the same story, everything works fine.

BUT if i try to access the database standing on the Danish server from Norway (over a 10Mbit line) it is VERY slow. 2 minutes to open the a form.

I have tried making a MDE file. Get an error message that there is a problem with 'they table' and that it would create duplicate values in the index, primairy key or relationships.
But it does create a DB1.mde file anyway. It does not work, but the file is there.
Even though i did tell Access to call the new file differently.

I dont know SQL and to be honest i dont think it would make it better since on one server it runs fine, it is just the 10Mb line that seems to be the problem.
The IT guys told me that the real dataload on that line for my database was about 1Mb max, so it should not be a speed issue.



Any one have any experience with this?
Or any suggestions what to do with the creation of the MDE. Is there a way to find out What exactly is wrong with my database instead of this non specific error message.??

thnx.

Erik.
Apr 14 '07 #1
12 3314
MMcCarthy
14,534 Expert Mod 8TB
Hi Erik

First open the Database and try to compile it from the VBA editor. See if there are any conflicts or incompatibilities left over from converting it up to 2003.

Let me know what you find.

Mary
Apr 16 '07 #2
kers
6
I have tried compiling the database.
I works fine... i get no messages. Untill i try to close the database.
it asks me if i want to save changes to the form i used to get in the VBeditor.
if i say yes, i get the message that there is a problem with 'they table' and that it would create duplicate values in the index, primairy key or relationships
If i hold the escape button i get a load of those untill finally i am out of the program. After that i cannot start it again beacause of a VB corruption.
My front end doesnt work anymore..... (ofcours i made a backup :-)

Any suggestions ?, apart from starting over again maybe ?

thnx.
Apr 16 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
What recordset is the form bound to?
What is the code behind the form?
When you open this form does a record automatically get created?
Apr 16 '07 #4
kers
6
Did some testing.
Have a form called test in my front end. It has no coding, just some boxes.
When i tried to get in VB using this form and compiled the database, when it was done and i tried closing, it asked me if i wanted to save 2 forms..... test and another.
Deleted the other completely. Using test form to get in VB, compiled. Trying to save database. Same problem. It generates 3 error messages telling me there is a problem and then it gives me one message. One record deleted. Then another 3 error messages, and then one Record deleted. This goes on for a while, and when i am out, my front end is corrupeted and cannot be used anymore.
Apr 17 '07 #5
MMcCarthy
14,534 Expert Mod 8TB
Did some testing.
Have a form called test in my front end. It has no coding, just some boxes.
When i tried to get in VB using this form and compiled the database, when it was done and i tried closing, it asked me if i wanted to save 2 forms..... test and another.
Deleted the other completely. Using test form to get in VB, compiled. Trying to save database. Same problem. It generates 3 error messages telling me there is a problem and then it gives me one message. One record deleted. Then another 3 error messages, and then one Record deleted. This goes on for a while, and when i am out, my front end is corrupeted and cannot be used anymore.
Ok to test for corruption.

Open a brand new database and import each object into it. See if any of the objects won't import correctly.

The hidden form may have had a purpose. What form is set to open on startup and what is the code behind that form.

Mary
Apr 17 '07 #6
kers
6
I open my database using autoexe macro. The main form is just a ordinairy form with a bunch of buttons to open other forms. Not a real access generated switchboard, this one i made myself.
But there is a public function that is being called, that tries and find the backend automaticly and reconnects it to the frontend. This code is not mine, i got it from a guy who whas really into this stuff (and as you might have figured i am not )
So i dont think that could be the problem, but i will do some testing with and without the public and try to import stuff into a new database, i will let you know how it goes.

thnx

erik
Apr 22 '07 #7
kers
6
exported everything to a new database.... did compress repair... make mde.
than it gave me this help info on a error.

This error is usually associated with compiling a large database into an MDE file.* Due to the method used to compile the database, a considerable number of TableID references are created for each table.* The Microsoft Jet database engine version 4.0 can only create a maximum of 2048 open TableIDs at one time.* etc etc.........

I am guessing my database with its 30 tables, 130 or so queries and 32 forms, combined with some tabs within the forms and around 40 reports, it just is to much for access to handle.

I have been trying to scale down, by rewriting the thing, but it is not easy. My limited programming skills prevent me from using less queries and lets me even use more forms.

Any suggestions are welcome.

erik
Apr 22 '07 #8
MMcCarthy
14,534 Expert Mod 8TB
exported everything to a new database.... did compress repair... make mde.
than it gave me this help info on a error.

This error is usually associated with compiling a large database into an MDE file.* Due to the method used to compile the database, a considerable number of TableID references are created for each table.* The Microsoft Jet database engine version 4.0 can only create a maximum of 2048 open TableIDs at one time.* etc etc.........

I am guessing my database with its 30 tables, 130 or so queries and 32 forms, combined with some tabs within the forms and around 40 reports, it just is to much for access to handle.

I have been trying to scale down, by rewriting the thing, but it is not easy. My limited programming skills prevent me from using less queries and lets me even use more forms.

Any suggestions are welcome.

erik
What is the actual file size of your database when compiled?
What version of Access are you using?
Have any of your tables got more than one primary key?
Apr 22 '07 #9
Killer42
8,435 Expert 8TB
What is the actual file size of your database when compiled?
What version of Access are you using?
Have any of your tables got more than one primary key?
:confused:
A table can have more than one primary key???
Apr 23 '07 #10
MMcCarthy
14,534 Expert Mod 8TB
:confused:
A table can have more than one primary key???
Bad phrasing, sorry.

A table can have a primary key made up of a composite key involving 2 or more fields.
Apr 23 '07 #11
kers
6
To answer the questions.

The front end is about 10MB and the back end about 5.5Mb
As far as i know i have no double Keys in my tables.
The version i am using right now is 2007. But as i have written before, the original database was build in 97 and then changed and upgraded to 2000, changed and upgrade to 2003 and changed and upgraded to 2007.
I can imagine that all these upgrades and changes in between could do some damage, although the database seems to be running fine as long as you just use it.

Still havnt been able to find out what the problem is with my network. The IT guys now tell me that it might be...... that the 10Mb line between Norway and Denmark is set to be half duplex 10Mb and therefor never reaches more than 400Kb p/s.... The initializing of the database pumps up about 17Mb of data we have seen, so it explains the incredible time it takes to start up. So crossing my fingers hoping this is the problem.

Still does not explain of course why my database does these strange things whenever i try to change some of the forms, or try to make a MDE out of it.

Suggestions are still welcome.

Erik.
May 5 '07 #12
MMcCarthy
14,534 Expert Mod 8TB
Hi Erik

Open the databases VBA Editor window and compile the code. See if any errors show up.

Mary
May 5 '07 #13

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

Similar topics

1
by: Marc H. | last post by:
Hello, I recently converted one of my perl scripts to python. What the script does is simply search a lot of big mail files (~40MB) to retrieve specific emails. I simply converted the script...
2
by: AMD | last post by:
Hi, I would like to have MySQL use a mapped network drive. I'd like to do this in case there is a failure of the mysql machine, I can just replace it with a new machine pointing to the same...
4
by: Mee Yamo | last post by:
Fellas!! This is a very complicated one and it took me a few days to figure out exactly what's going on, but here's the final story: I have a production environment running on .NET with a SQL...
22
by: Bradley | last post by:
Has anyone else noticed this problem? I converted the back-end to A2000 and the performance problem was fixed. We supply a 97 and 2000 version of our software so we kept the backend in A97 to make...
3
by: S. van Beek | last post by:
Dear reader, To work with linked tables is a professional method of working with a frond end and back end mdb. Working with linked tables on a local pc gives an acceptable performance but...
2
by: Joris Dobbelsteen | last post by:
Dear, I've made a little tool that synchronizes my ISA Server block list with a database. However the performance of this is very low. I'm retreiving 41140 rows from the database, storing them...
7
by: Joe Ross | last post by:
I've been working with Microsoft support for over 3 weeks now on an intermittent General Network Error we're seeing in our production environment between our ASP.NET application and SQL Server...
0
by: bimalendug | last post by:
Hi All, I'm using the .NET performance counters to calculate the network utilization. But this value exceeds 100%. In most of the cases, it is very similar to the one shown in the task-manager....
5
by: war_wheelan | last post by:
I created the db with the attached script and I am able to access it until I reboot the server. I've tried enabling flag 1807 via the SQL server service and the startup parameters of the instance....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.