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

App error

1
Hi
There is a simple task, you need to run the access 2003 database on access 2019. After the conversion, before starting the application, I get 2 errors
5: CM_replicator.Class_Initialize: Invalid procedure call or argument
and
91: CM_replicator.Get_replication: Object variable or With block variable not set.
The question is how to fix them?

I found these two parameters in Class Modules -> CM_replicator
Expand|Select|Wrap|Line Numbers
  1. Public Property Get replication() As Boolean
  2. On Error GoTo exception
  3.  
  4. replication = datadb.Properties(REPLICATION_PROCEED)
  5. Exit Property
  6.  
  7. exception:
  8. If Err.Number = PROPERTY_NOT_FOUND Then
  9.     createProperties
  10.     Resume
  11. Else
  12.     MsgBox Err.Number & ": CM_replicator.Get_replication: " & Err.DESCRIPTION, vbOKOnly, "Error!"
  13. End If
  14. End Property
Expand|Select|Wrap|Line Numbers
  1. exception:
  2. MsgBox Err.Number & ": CM_replicator.Class_Initialize: " & Err.DESCRIPTION, , "Error!"
  3. End Sub
Thanks
Feb 23 '22 #1
3 5502
NeoPa
32,556 Expert Mod 16PB
How to fix?

Well, start by compiling the project. When it reports errors then look more closely at what's reported and where it's reported in your code.
5: CM_replicator.Class_Initialize: Invalid procedure call or argument
This indicates an error in your code found within the Class_Initialize method. You include other code but not that. Think about including the code the error points to.

Let's do one issue at a time.
Feb 23 '22 #2
cactusdata
214 Expert 128KB
Access 2003 was the last version supporting replication. That may be the cause for your trouble.
Feb 23 '22 #3
isladogs
455 Expert Mod 256MB
This link may be helpful Replication removal
Feb 23 '22 #4

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

Similar topics

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....
1
by: developer | last post by:
Hi All I have made a .NET project. the files included are borland c++ files that i am migrate to VC++ .NET I am using Microsoft Visual C++ .NET 2003. the compilation goes through properly,...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
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...
15
by: madhu.ab | last post by:
Hi All, I am getting the following errors when i am including header file winuser.h I dont know whats happening. How will an error occur in winuser.h?? Please help. \microsoft visual...
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...
5
by: yashu0209 | last post by:
I have an error occurring when i try to compile the program and the error is: D:\Program Files\visual studio 6.0\MSDev98\MyProjects\GLEnabledView\GLNew.cpp(164) : error C2653: 'CGLEnabledView' :...
2
by: randa zaghdan | last post by:
Hi I have a problem with my program in vc 2008 When I compile it, the following errors are listed. I try to resolve it but no hope Does any one can help me ? thanks . Linking......
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.