I'm a non-developer too, that's the problem ;-)

First let's mention that the permission problem was fixed by adding the
account executing regevent.vbs has been added as an owner for the Calendar
folder in Outlook.

Next, maybee i don't quite get that scoping stuff. I want the events i
want to register to act on every OnSave and OnSyncDelete in the Calendar
folder. It just so happens that i have an example of how it should look
like. Below is the output for the registered event on a different calendar
folder:

C:\>cscript regevent.vbs enum
"file://./backofficestorage/exchangedemo.local/mbx
/administrator/calendar" all

Which displays:

DAV:contentclass, urn:content-class:storeeventreg

http://schemas.microsoft.com/exchange/events/EventMethod, OnSyncDelete

http://schemas.microsoft.com/exchange/events/SinkClass,
OfficeCalendar.SyncEvents

***********************************************

DAV:contentclass, urn:content-class:storeeventreg

http://schemas.microsoft.com/exchange/events/EventMethod, onSave

http://schemas.microsoft.com/exchange/events/SinkClass,
OfficeCalendar.AsyncEvents

***********************************************
And here is what they look like on the Berry Calendar folder:

DAV:contentclass, urn:content-class:storeeventreg

http://schemas.microsoft.com/exchange/events/EventMethod, onSave

http://schemas.microsoft.com/exchange/events/SinkClass,
OfficeCalendar.AsyncEvents

http://schemas.microsoft.com/exchange/events/Scope,
file://./backofficestorage/exchangedemo.local/mbx/berry/calendar/MyEventItem2


***********************************************

DAV:contentclass, urn:content-class:storeeventreg

http://schemas.microsoft.com/exchange/events/EventMethod, onSyncDelete

http://schemas.microsoft.com/exchange/events/SinkClass,
OfficeCalendar.SyncEvents

http://schemas.microsoft.com/exchange/events/Scope,
file://./backofficestorage/e
xchangedemo.local/mbx/berry/calendar/MyEventItem1

***********************************************

The actual events don't fire when putting or changing something in my
calendar. And they do fire on the Administrator's Calendar.

> I'm just a non-developer whose only claim to fame is knowing the difference
> between "your" and "you're", but I believe that your registration syntax is
> incorrect. The URL you are using refers to an item which already exists..
> The calendar folder of the mailbox Berry (i.e. Your scope is incorrect). I
> believe you want to use something like:
> file://./backofficestorage/exchangedemo.local/mbx/Berry/calendar/EventRegIte
> m1 
> 
> Depending on the scope of the sync you may also want to include additional
> command line parameters (e.g. -deep).
> 
> 
> 
> > From: "Berry Schreuder" <[EMAIL PROTECTED]>
> > Reply-To: "Exchange Discussions" <[EMAIL PROTECTED]>
> > Date: Wed, 6 Aug 2003 14:04:42 -0700
> > To: "Exchange Discussions" <[EMAIL PROTECTED]>
> > Subject: Event Sink problems
> > 
> > Hello,
> > 
> > I am trying to register an event sink on a calendar folder in a mailbox. I
> > have used this command:
> > 
> > C:\>cscript regevent.vbs add onSyncDelete OfficeCalendar.SyncEvents
> > file://./backofficestorage/exchangedemo.local/mbx/Berry/calendar
> > 
> > It then produces the following output:
> > 
> > Microsoft (R) Windows Script Host Version 5.6
> > Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
> > 
> > Error Opening Record : -2147217768 Object cannot be created at this URL
> > because
> > an object named by this URL already exists.
> > 
> > I've searched on both 2147217768 and 0x80040e98 (hex value) in the
> > Knowledge Base and in Google (newsgroups)
> > 
> > I run the script on an Exchange 2003 server on Windows Server 2003. I am
> > logged on as Domain Administrator and have full permissions on that
> > specific user's mailbox
> > 
> > Suggestions anyone?
> > 
> > _________________________________________________________________
> > List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
> > Web Interface: 
> > http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&text_mode=&lang=e
> > nglish
> > To unsubscribe:         mailto:[EMAIL PROTECTED]
> > Exchange List admin:    [EMAIL PROTECTED]
> >

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface: 
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&text_mode=&lang=english
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

Reply via email to