13 replies
by yabbayogi Accepted solution
by yabbayogi Accepted solution
by alec.wood Accepted solution
As far as I have experienced. I am no database expert, but I have written a lot of systems here which use Access front end, some with an Access back end, some with SQL Server 2000.
I haven't suffered the same exact problem, but I have had problems when changing the back end from one to another. My resolution was to decompile the Access front end, then compact and repair, save it,exit, then recompile and correct errors as found.
From the command prompt, or a batch file, run
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "path_to_your_file\your_access_db.mdb" /decompile
by rayis.imayev Accepted solution
Hi, yabbayogi,
Try to "Compact and Repair the Database" option.
There are some other things you can check, but tell me if it works. If it doesn't I can help with more options you can have.
Rayis.
by ineuw Accepted solution
by ineuw Accepted solution
by ineuw Accepted solution
by ineuw Accepted solution
by yabbayogi Accepted solution
Thanks for all of your suggestions. So, here's what happened with the suggestions:
- Decompile Option:
Got an immediate error of "An error
occured while loading
by rayis.imayev Accepted solution
Hi, I have a very good paper-book so can?t send it to but here a good brief link you can follow for the information you?re interested http://allenbrowne.com/func-ADO.html.
I was going to ask you, since you use SQL Server as backend, why don?t you switch your MDB Access application and transform it into ADP Access application that natively access the SQL Server via OLE-DB libraries (much easier, much stable).
by ineuw Accepted solution
Is your current system coded with VBA and DAO or, are you using macros to manipulate data? Did you install MSSQL server, or SQL Express?
As the first and quickest link to information, I recommend Wikipedia, where there are a lot of good (and more or less objective) articles are to be found on the related subjects.
http://en.wikipedia.org/wiki/Microsoft_Data_Access_Components
Microsoft MSDN has numerous articles on converting DAO to ADO and the web is swamped with various levels and qualities of information.
I have tried ADP but found it restrictive when trying to convert VBA code. Also, it uses HTML as the data entry form. Regardless of what you choose, ADO is a requirement to connect and manipulate SQL server data. There is no other [productive!] multi user alternative in a small business LAN environment. ADO was necessary so that Access can connect to object oriented data servers Otherwise, it would have hit a dead end. The upside is that there is a lot of similarity between DAO and ADO.
The great advantage of using MS Access as a Front End is that it has the best QBE, the best and most sophisticated form design, and very good reporting, especially when development time is taken into account.
Your table structures will have to be modified and a date stamp column should be added to each column and filled with unique fictious dates & times for existing records. A date stamp column is a requirement with a MSAccess/MySQL configuration and it may be required by MSSQL server under certain conditions.
Some, or all your queries will have to be modified - less so for MSSQL, more so for MySQL. The modifications depend on the table names, the current SQL statement structure, and the required SQL operations.
What data storage system you use is immaterial. Both MSSQL and MySQL are excellent, (one is free, the other isn't) and ADO communicates equally well with both through OLEDB and ODBC.
by robo_dev Accepted solution
My experience is that it is better to try solving by creating a brand-new database and attempt to import objects from the OLD database, rather than trying to export to a new database. It frequently seems that it ends up being usually one, maybe a couple, of objects that are corrupting the entire database.
Although the form is stored locally, it may have a control source to some linked table. The linked table may be on a database that (was) on the network. Check the form's control source. Use the linked table manager to renew the links as some of them may have had the design altered.
KB article on this error:
http://support.microsoft.com/kb/304548
"When you try to view the code for a module, try to compile a database, try to create an MDE file, or try to execute code in a Microsoft Access 2000 database, you may receive one of the following error messages:
Error accessing file. Network connection may have been lost. "
by aos168b Accepted solution
The error: "Error accessing file. Network connection may have been lost", is a classic sign of an unpatched Access installation. It has nothing to do with network connections. You need to install service pack 3 (SP-3) for Access 2000:
http://support.microsoft.com/?id=304548
Good Luck!
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending