Solved

Reserved error(-1517)

Posted on 2003-10-21
6
258 Views
Last Modified: 2012-08-14
Can somebody explain what this error is?
We have a billing, payroll and reporting application that we distribute to about 250 users with an mde every 2 weeks when changes are made. Last week when we sent our new copy out, about 60 users started getting this problem in their app (possibly more were effected). When we replaced the app with the exact same copy it fixed the problem. Also a repair and compact solves the problem. The error pops up in different places accross the app. I would like more information about the possible causes so that we do not have a repeat of this issue this week when we promote a new version. I'll split points and possibly add some more, for the best suggestions.
0
Comment
Question by:iabaker
[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
  • 2
  • 2
  • 2
6 Comments
 
LVL 17

Accepted Solution

by:
walterecook earned 500 total points
ID: 9593776
while this error is itself a bit cryptic, I believe it most often (if not always) stems from a linked table error.  That would help explain why it pops up intermittantly throughout your app.  You may want to try to isolate it though to see if it is ONE table or many tables.  If it is one there may be something quirky about a field name or something.
What is your BE and how are you connecting to it?

That being the case, I'd run some code on open of the database to refresh the links.
You may also consider checking the validity of the link before certain events, too.

Hope that helps
Walt
0
 
LVL 32

Expert Comment

by:jadedata
ID: 9594138
Hey! iabaker,

  Negative error numbers are usually generated by another application and passed back to Access for reporting.
  There should be a text explanation coming thru with the error number, and MAYBE, if your lucky the name of the app ACTUALLY raising the error.

  What external applications, OCX controls or such does this distributable play with during a runtime session?

regards
Jack
0
 
LVL 3

Author Comment

by:iabaker
ID: 9600002
hey guys,

Jadedata, it actually comes through as an error no 3000. the description says "Reserved error (-1517); their is no description for this error."

I think it is a link problem, walter. we've got some startup code that was recently put in that is changing the type of a field on a few linked tables by creating a new field with the new type, updating the new field with the old field data, deleting the old table and renaming the new. Somehow that seems to be screwing up the link in the app. I can't seem to recreate the error on my machine. I have inserted some code to refresh the links after the type change, its testing it that is the problem. Is there a way to get more information about the link. possibly a way to test to see if it is bad? I can open the table fine manually, but the code won't run on it until the link is refreshed.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 17

Expert Comment

by:walterecook
ID: 9600075
Well,
one direct way to test the link in code is try to open a query based on the linked table.  Or try a dlookup on the table itself:
somevar = dlookup("someField", "theTableName")
if that line bombs, clearly it can't open the table.

Walt
0
 
LVL 32

Expert Comment

by:jadedata
ID: 9601408
Add a time-out loop of a few seconds after the changes are made to the tables in the linked file.
It may be that the code engine is over-running Access's ability to refresh the system objects tables before continuing to the code that then tries to use these objects.

Also force the change to the link before you move on to using the objects
currentdb.tabledefs("TableName").connect = currentdb.tabledefs("TableName").connect
(goofy as it may look, it could work....)

It isn't happening on your own machine probably because it knows you'll be very disappointed with it if it screws up.

0
 
LVL 3

Author Comment

by:iabaker
ID: 9628060
It was the link that was messed up. Thanks for the help.
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 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