Re: create folder in public folders using Exchange SDK and C#



Hi henning
i am executing the script on my development PC. I want that while
installing setUp of my program to register this eventsink on the target
server. is it possible ? if yes then how ? and if not then what is
other option for me ?
for the second one what shd be the exact procdure ?
i have created a registery key using

regasm MyEventSink.dll /regfile:MyEventSink.reg

copied this on the target server and then start the com
application. But my event is still not firing. What may be the reason
or what i am doing wrong.

Henning Krause wrote:
Hello,

are you running the registration script directly on the Exchange Server?

Is you eventsink property registered as a COM+ application?

Best regards,
Henning Krause

"Parv" <Parveen.Beniwal.Daffodil@xxxxxxxxx> wrote in message
news:1152161981.845045.327230@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello

I have written a class implementing the IExStoreAsyncEvents but
while regstering it using the

cscript RegEvent.vbs add "onsave;ondelete" MyEventSink.ExchEventSink
file://./backofficestorage/server.Homevines.com/mbx/parveen.beniwal -p
100 -m deep

i am getting following error

Error Opening Connection : 3706 Provider cannot be found. It may not be
properly installed.

Please help me its urgent.

Regards
Parveen Beniwal

Henning Krause wrote:
Hello,

you can use a global eventsink (OnSyncSave / OnSyncDelete). This way, you
would get your notifications on a store-wide base. If you are only
interested in modifications on a one-level base, you can use normal event
sinks. See http://msdn.microsoft.com/exchange for more information.

Best regards,
Henning Krause

"Parv" <Parveen.Beniwal.Daffodil@xxxxxxxxx> wrote in message
news:1151986098.377153.179780@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hi

yes, You are right i want me to intimate whenever any mail or
folder is deleted or inserted in the public mail folders.

Regards
Parveen Beniwal

Henning Krause wrote:
Hello,

I don't know if I understand you correctly. Do you (or a program
respectively) want to get notified if someone creates or deletes a
folder
on
your server?

Best regards,
Henning Krause


"Parv" <Parveen.Beniwal.Daffodil@xxxxxxxxx> wrote in message
news:1151929923.022609.318550@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello Henning

One more favour..... Can you guide me how to add listener to
intimate me on adding or deleting any mail from a exchange store
folder
?

Regards
Parveen Beniwal


Henning Krause wrote:
Hello Parv,

a collision error could indicate that there already exists a folder
with
the
new name of the folder.

Best regards,
Henning Krause

"Parv" <Parveen.Beniwal.Daffodil@xxxxxxxxx> wrote in message
news:1151920216.044015.227800@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
i am trying to rename folder Test by the following
Folder oFD = (Folder)oFolders.get_Item("Test");
oFD.Name = "newName";

but i am getting following exception while doing so

System.Runtime.InteropServices.COMException (0x80040604):
[Collaboration Data Objects - [MAPI_E_COLLISION(80040604)]]
at System.RuntimeType.ForwardCallToInvokeMember(String
memberName,
BindingFlags flags, Object target, Int32[] aWrapperTypes,
MessageData&
msgData)
at Interop.cdo.Folder.set_Name(Object )
at MyEventSink.GetPublicFolders.Main(String[] args)

What is wrong here ?

Regards
Parveev Beniwal

Parv wrote:
Hi Henning

Is there any way to rename a folder in your assembly.

Regards
Parveev Beniwal





.



Relevant Pages

  • Re: My Documents
    ... What and where you really need to do this is using the SMS Server Mangement ... Go to Users and in the Manage Users area you will see the ... on the Target tab you do not see "Target location ... folder" with the 3 option buttons. ...
    (microsoft.public.windows.server.sbs)
  • Re: VB6 Regfree Com
    ... MSVBVM60.DLL is on the target machine, then I can just include this DLL, the ... The COM server file may be anywhere on disk, ... Register the COM server you want to use *on the development pc*. ...
    (microsoft.public.vb.general.discussion)
  • Re: ABE in a DFS Environment
    ... Yes, right click the root in the DFS management, and then add new link. ... > I understand that you installed ABE on both SBS 2K3 Server and Windows ... did you access the shared folder by ... > root target you created and select New Link? ...
    (microsoft.public.windows.server.sbs)
  • Re: Script to Copy multiple folders from one Server to another
    ... The target folder names are identical to the users' account names. ... this will copy the source folders to the target Server ... The home directories on the source Server have a home directory ...
    (microsoft.public.scripting.wsh)
  • Re: Script to Copy multiple folders from one Server to another
    ... The target folder names are identical to the users' account names. ... this will copy the source folders to the target Server ... The home directories on the source Server have a home directory ...
    (microsoft.public.scripting.wsh)