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

odbcserv error

I have an Access database that is populated with data from our
building security, that logs who has used their card to open a door.
Frequently in the eventviewer there is error. The type is ODBCServ,
the event ID:1 and the description is Invalid Security Block. Then the
service that runs the client stops because it can't connect to the
database.

Does anyone have an idea how to prevent this?

Thanks.

Jane
Jul 14 '08 #1
1 1298
Hi Jane,

This seems like an issue with the comms from the PLC to the PC that
talks to it. It seems that there is an issue with the data that comes
to the PC that it cant handle. Then the PC tries to 'update' the
database file, or simply crashes out leaving an 'exclusive' connection
not properly closed or able to be re-established.

I would suggest that there are two possible places to look for a
problem here that you might be able to influence. The first would be
to see if there is a DSN created that contains the connection info for
the database, and check to see if the settings match those that the
manufacturer requires. The second would be to check if there is a
matching communication error at or around the same time the database
error / connection error occurs.

Quite often with PLC's (the panel on the wall), when data is being
pushed from the PLC to a PC over a network, or even sometime via a
direct serial connection, the internal buffering on the PLC can
overflow if there is significant enough traffic. The reason for this
is that the amount of data that the associated field panels (door
controllers etc...) collect is usually fed to a primary PLC that has
only a limited throughput. More data coming in than can go out from
the PLC can cause buffer overflow problems and all sorts of strange
errors depending on how the firmware was written. Likewise the comms
from the PLC to the PC tend to have a proprietary structure to the
data payload, which can be sensitive to information corruption across
networks if the network comms arent handled properly. If using a
serial comms scenario then perhaps the cable itself is susceptable to
interference.

So, in short, check the PC for a DSN and that all the settings are in
accordance with the manufacturers specs, and also check for
communications errors (particularly network ones) around the same time
as the error is created with the DB. Does it happen at particualr
times of the day? Is it always on particular days of the week. Does it
happen only when there is a lot of door traffic? Only when there is a
lot of network traffic? When a piece of heavy equipment starts up or
stops? Is the earthing of the system functioning properly? I cant
remember the number of times a problem has come down to faulty
earthing of the the PLC('s). Just a few things for you to look at. I
would suspect however that it is not the DB itself.

Cheers

The Frog
Jul 16 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
1
by: Aravind | last post by:
we have two files: 1. rc4.c (defines one function "create_pin()") 2. MyImpl.c(calling the function "create_pin()"),This implements JNI method. 1.When I am trying to create .dll file with one...
1
by: yanwan | last post by:
I met this problem in executing a c++ project in visual studio. Does anyone have suggestions to resolve "error lnk 2001"? --------------------Configuration: reconstruction - Win32...
5
by: Enos Meroka | last post by:
Hallo, I am a student doing my project in the university.. I have been trying to compile the program using HP -UX aCC compiler, however I keep on getting the following errors. ...
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: 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....
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.