Re: object variable error 91 when sync in outlook 2000

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Michael,

Thanks for your reply. I didn't setup the original server so I am new to
this. When I setup the new server, I setup the pop3 account in outlook and
choose the name "Mail Account". I take it I need to do something else apart
from this to create the "Mail Account" item. Can you give me a pointer in
the right direction.

Thanks
Janette

"Michael Bauer" <mb@xxxxxxxx> wrote in message
news:4radh4zv5wqn$.ookdduvadod0$.dlg@xxxxxxxxxxxxx
> Am Thu, 28 Jul 2005 12:14:50 +1000 schrieb Janette:
>
> Hi Janette,
>
> if osync.Start throws that error then osync is Nothing. That is,
> sync.Item("Mail Account") returns Nothing. This in turn means there´s no
> item called "Mail Account" in the sync list.
>
> --
> Viele Gruesse / Best regards
> Michael Bauer - MVP Outlook
>
>
> > Hi,
> >
> > I have a VBA executable that opens a pop3 mail box and after synching,
> > processes the mail. It works on one server but on the other it gives
> "91 :
> > object variable or with block variable not set" when it does the
> following
> >
> > Set olApp = New Outlook.Application
> > Set onMAPI = olApp.GetNamespace("MAPI")
> > onMAPI.Logon , , , True
> > Set sync = onMAPI.SyncObjects
> > Set osync = sync.Item("Mail Account")
> > Set syncevent = New syncevents
> > osync.Start
> > ' **
> > Do Until sync_done
> > DoEvents ' Yield to other processes.
> > Loop
> >
> >
> > It never gets to '** it gives the object variable error. Can anyone
> suggest
> > what might be the problem. I have checked and both servers run the
> same
> > version of outlook 2000.
> >
> > Thanks
> > Janette


.



Relevant Pages

  • Re: Offline files of db to new server using /DisasterRecovery
    ... backup since copying offline files off of old server to temporary server ... E2K3 because now-non-existent 5.5 service account still present in AD config ... AG's msExchLegacyAccount, msExchLegacyDomain, msExchEncryptedPassword ... Setup /DisasterRecovery must have read in AD references somewhere to the old ...
    (microsoft.public.exchange.setup)
  • Re: Whats erasing my OE 6.0 mail & newsgroup accounts?
    ... If you connect to the modem via a router, you should be OK but I'd professionally recommend installing a third-party firewall. ... recently installed owing to this current email account issue. ... & discovered my mail account was wiped clean again. ... However, the server ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: write with cURL
    ... shared hosting account and I will promptly remit payment. ... simply to illustrate that your PHP setup would allow one user on ... information regarding the server name, login, or IP publicly. ... He explained he only does full site development, ...
    (alt.php)
  • Re: write with cURL
    ... each other's files using PHP, you've stated that I would have to pay ... shared hosting account and I will promptly remit payment. ... to illustrate that your PHP setup would allow one user on one account ... information regarding the server name, login, or IP publicly. ...
    (alt.php)
  • Re: Sending mail, error 550 sender verify failed
    ... internet) One of the screens will be email domain name. ... During setup i left it blank. ... >> If you are downloading email from a pop3 account, ... >>> I am testing a SBS server 2003 setup for a small office, with 2 nic's, ...
    (microsoft.public.windows.server.sbs)