473,666 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Object invalid or no longer set

2 New Member
Hello there,
I am trying to get to the bottom of an 'Object invalid or no longer set' issue, but I am not a database programmer.

We have approx 20 users on MS Access 2002 front ends on 2 sites connected by WAN using a SQL 2000 SP4 database backend.

1 site is 24 hours, the other is 9 - 5 operation.

We have a SQL database at both sites using replication. Every 10 minutes the data entered at 24hr site is uploaded to 9-5 site and then merged.

We get intermittent 'Object invalid or no longer set' message pop up on the 24hr site. However having closely monitored the activity it only occurs when there are users usiong the database on the 9-5 site. After a merge has taken place the 'object invalid' message can pop up on 1 workstation at the 24 hour site.

Both sites are running Windows XP SP2 and MS Office XP Pro SP3 (so MS Access 2002 with SP3)

I have checked that all machines are running the correct version of MSJET40.DLL and they all have the correct version 4.0.8618.0

There are no run-time error numbers or any events in Event viewer on the workstations. There are no network connectivity problems (continuous pings from suspect workstation to db server and back again show no loss at all)

Curiously once the 9-5 site have gone home the error never occurs at he 24hr site.

Also the users that experience this don't actually have to be active in the Access front-end.

My first question is, Would this be an Access or SQL issue?

Any pointers woudl be very helpful.
Jul 13 '06 #1
2 5950
zzqxxq
28 New Member
Here is what Microsoft says about the error:

SYMPTOMS
When opening and closing connections or recordsets using the Microsoft ODBC Driver for Access or the Microsoft OLE DB Provider for Jet, the following error may be reported:
Object invalid or no longer set.
After this error is reported, no more recordsets or connections can be opened from the same process.

Other possible error messages reported to the client application include:
Too many tables open.
Cannot open any more tables.

RESOLUTION
To resolve this problem, install the latest Microsoft Jet 4.0 service pack 6. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. (I put them below) This problem was fixed in Jet 4.0 Service Pack 6 (SP6).

Here is the link to the article on the MS Website:
http://support.microsoft.com/default...;en-us;Q304536

• Microsoft Open Database Connectivity Driver for Access 4.0
• Microsoft OLE DB Provider for Jet 4.0

Hope that helps
Jul 13 '06 #2
4bex
2 New Member
Thanks for that, but have already been down this road.
All machines are XP SP2 so have correct version of MSJET40.dll as stated in my original message and according to the microsoft article.

If it is a jet problem - why does it not happen to the machines at the 9-5 site and why does it not happen when the 9-5 site has gone home?

The behaviour is not the same as described in Microsoft article as all the user has to do is o.k. the error message and they can continue working.

We can also have data updates all day from both sites and not have a single object invalid then sometimes there will be 1 a day on different machines and different users.

Thanks for pointer anyway, but it is not a jet issue.
Jul 14 '06 #3

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

Similar topics

15
3584
by: Rick | last post by:
Hi, Does deleting an object more than one times incur undefined behavior? I think it doesn't but just making sure... thanks Rick
7
36696
by: deko | last post by:
I'm getting intermittent "Object Invalid or No Longer Set" errors in my Access 2002 mdb. What causes these errors? Has anyone dealt with this before? I can't trace it because it's not easy to duplicate -- it just show up... I've heard that spurious queries that use Now() or Date() or some other date
4
2232
by: deko | last post by:
RE: "Object Invalid or No Longer Set" errors I've had an angelic visitation and the revelation is that my problem, in essence, is due to the fact that I have multiple forms open at the same time whose recordsources draw data from the same table. I use a tabbed interface: frmMain has 4 tabs. On each tab there is a form and at least one subform (datasheet). So we're talking at least 5 subform datasheets, on different tabs, all open at...
2
1860
by: Galina | last post by:
Hello I have a very complex database application, which have been working fine for several years in Access 97. Now I had to convert it into Access 2000. The main form (course) has got 2 subforms. One subform (course occurrence) has got 4 subforms of its own, another subform (course web description) has got 1. The main form has got navigation buttons, occurrence subform has got navigation buttons (there can be several occurrences of the...
2
4666
by: TSanders | last post by:
Hello everyone, I hope someone here can help. I created an application in MSAccess 2000 using VBA for a local telco to track their DSL orders. The database is split into a front end and a back end. There are approximately 60 users. 4 of the users receive the error "Object invalid or no longer set" at random times while they are using the application. After trying all the suggestions on Microsoft's site, the error is still occurring....
1
2418
by: Jozef | last post by:
HELP! Hi Folks, I'm having trouble referencing these public variables, and I'm not sure why. I use the code below to set open a connection to a database. The variables are public variables and I hadn't had any problems previously, but I seem to be having trouble now. I could have modified it between the time it last worked and now (while I was cleaning up some of the code) but I don't recall touching anything.
15
8307
by: cedgington | last post by:
I wanted to take advantage of the large set of functionality offered by the framework, so for my latest project I'm using managed C++ with .NET v2. I'm using the gcnew operator in two different ways, and I'm confused about the lifetime of objects and whether or not I should be calling delete. Here are two examples: ref class SYMBOL : public IComparable { public: // Constructor / destructor
4
8563
Frinavale
by: Frinavale | last post by:
I currently have a website that collects information (mainly text and integers) inputed by users and stores that information into an object which is in turn stored in Session. Each page has its own object and each object knows if it is valid or not. Everytime the user advances to the next page it checks to see if all of the data collected up to this point is valid by checking the objects which are stored in Session. If the object is...
1
2300
by: mvijaimca | last post by:
When i am executing my project that time indicate the following error: java.sql.SQLException: Object invalid or no longer set. How to solve Object invalid or no longer, this problem? Pls help me? Vijayakumar M
0
8352
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8863
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8549
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8636
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4358
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2765
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2005
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.