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



hi Henning
thanx for ur great help. I am in requirement to make new objects
for the messages i mean CDO.message and want to put them in the public
exchange folder as the .eml file how i can do that ? Please help me its
urgent
Thanx in advance

Regards
Parveen Beniwal
Henning Krause wrote:
Hello,

you must run the regevent.vbs script directly on the Exchange server,
because it uses the ExOLEDB provider, which can only be used locally.

As for the installation of the COM+ component, don't use regasm. Use
regsvcs.exe instead. This will create the COM+ application automatically.
See http://www.infinitec.de/articles/exchange/managedeventsinks.aspx.

Best regards,
Henning Krause

"Parv" <Parveen.Beniwal.Daffodil@xxxxxxxxx> wrote in message
news:1152169820.757739.97330@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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: create folder in public folders using Exchange SDK and C#
    ... This is handled internally by the Exchange server. ... Best regards, ... > installing setUp of my program to register this eventsink on the target ... > Henning Krause wrote: ...
    (microsoft.public.exchange2000.development)
  • Re: Personla Address Book accessed From webDAV
    ... Best regards, ... the address of your mailbox is http:///exchange/ ... where <server> is the name of your server, and is the name of the ... calendar folder, you can see the url in the status bar. ...
    (microsoft.public.exchange2000.development)
  • Re: create folder in public folders using Exchange SDK and C#
    ... Best regards, ... Connection exchConnection = new Connection("Daffoserver", ... Folder folder = new ... Henning Krause wrote: ...
    (microsoft.public.exchange2000.development)
  • Re: create folder in public folders using Exchange SDK and C#
    ... you would get your notifications on a store-wide base. ... Best regards, ... folder is deleted or inserted in the public mail folders. ... > Henning Krause wrote: ...
    (microsoft.public.exchange2000.development)
  • Re: Slow browsing within folders
    ... Best regards ... Meinolf Weber ... with a couple of servers one of which is acting as a file server. ... I had enable folder Quotas but I've removed them hopping that would ...
    (microsoft.public.windows.server.networking)

Loading