Re: Back End replication error

Tech-Archive recommends: Fix windows errors by optimizing your registry



Elizabeth Lieb <serpais@xxxxxxxxx> wrote in
news:4e2a6f6d-6814-4004-8128-b11834eeeeaf@xxxxxxxxxxxxxxxxxxxxxxxxxxx
m:

Tring to automate synchronization of back end replicas in local
front end.

The following language works when executed from the back end, but
not in the front end. I get an error "Operation is not supported
for this type of object. (Error 3251)"

Not sure why it works in the back end and not the front.

Dim db As Database
Dim str As String
Set db = OpenDatabase("C:\Mall Points\Mall_Services_Mall
Points_be.mdb")
str = "S:\Mall Points\Server_Mall Points_be.mdb"
db.Synchronize str

(you should close the db and set it to Nothing when done, though
this has zilch to do with your problem)

If the code you've pasted in is exactly what's executing in both
situation, then it makes no sense for it to work in one situation
and not in another, because you've hardwired the replicate
path/names.

I suspect you've altered the code for posting. If so, please post
your actual code.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
.



Relevant Pages

  • Re: Exception/error returns - values or raised conditions?
    ... They can be ignored by the process executing when they trigger so I ... handler to be changed by the dynamic execution of the program. ... The key being that each instruction would trap to the handler ... I've not seen types 2 and 3 provided by any language (by the operating ...
    (comp.lang.misc)
  • Obtaining Culture Info ???
    ... I try to obtain the current culture of a server by executing: ... Dim str as String ... but when executing in ASP.NET does the command always return "en-US" ??? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: 406 Not Acceptable (was Re: "--All You Zombies--" title)
    ... Not the libraries, of course, just the core language. ... you can't dedicate to actually executing code fast. ... the incoming machine code into better-performing microcode which is what ...
    (rec.arts.sf.written)
  • Re: 406 Not Acceptable (was Re: "--All You Zombies--" title)
    ... Not the libraries, of course, just the core language. ... you can't dedicate to actually executing code fast. ... really high performance modern CPU. ... the incoming machine code into better-performing microcode which is what ...
    (rec.arts.sf.written)
  • Re: Extract dll from cab file with VBScript
    ... Writing commands to *.cmd files and executing ... it's still really handy from within my HTA. ... Why would the inability for the language to provide native support for CABs ...
    (microsoft.public.scripting.vbscript)