Solved

Paid Software Development Support

Posted on 2004-04-21
11
247 Views
Last Modified: 2010-04-15
Can someone provide me with some resources for paid technical support?

I am having trouble with Event Sinks, getting my COM dll to pickup the Exchange Store Events.

I am sure a phone call would fix my problem....I just need to know WHO to call.
0
Comment
Question by:Tom Knowlton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
11 Comments
 
LVL 14

Accepted Solution

by:
AvonWyss earned 500 total points
ID: 10886378
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 10890155
Avon:

I have definitely tried your link above....in fact my entire problem is focused on getting that tutorial to WORK.

My step by step process, and problem is documented here:

http://www.knowltonfamily.com/es_troubleshoot.htm


Let me know if you can help.
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 10904670
I stumbled upon the answer I needed.

Turns out RegEvent.vbs is not needed.

Exchange Explorer  (found with Exchange 2003 SDK Tools) does the exact same thing.

Go here for details:

http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_20962654.html

All I had to do was right-click on the Component Services COM App....and click START.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 14

Expert Comment

by:AvonWyss
ID: 10904712
I'm happy that you found the solution, and also that you posted the link where I can find more details. In fact, I'm going to write an Exchange event sink next week and this information will certainly be very helpful. During my research on the topic, I found the above link, and so I thought I'd post it for you - not knowing that you were actually already working with that.

That said, I feel that my post was pretty useless; I planned to post again after I'd tried it myself next week. But now that you found the solution, it will make my job easier, and I'd like to thank you for that! (And I wouldn't have minded if you requested a deletion of this Q instead of awarding me the points; I didn't really deserve them... yet)

Have a nice weekend!
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 10904766
Avon:

Don't worry about the points....anyone who comes here will still get very useful information.

You could come back to this question and post a link to your Even Sink tutorial, if you create one at some future date.


The tutorial at this link:

http://www.codeproject.com/csharp/CsManagedEventSinksHooks.asp


is very very good......................but it does have some flaws.

1)  You do NOT need to run RegEvent.vbs AT ALL......ignore this suggestion in the tutorial.  Instead, download and install the SDK Tools and run Exchange Explorer instead to register the Event and hook it into the EventSink code.

2)  I recommend using regsvcs /appname:YourAppName <full path to your DLL including extension>      from the command line, instead of using the Component Services GUI to register the COM DLL.  I have to do some further testing to see if the GUI works...but I know for sure the command line route using REGSVCS works well.

3)  After you have registered the COM DLL (your event sink) in Component Services......then go and register the Exchange Store Event using Exchange Explorer.   THEN go back to Component Services....right-click on your App Name and click on START.   This is what actually starts the EventSink (your C# DLL) talking to the Exchange Store.  Until you do this nothing will happen.   This was left out of the tutorial.  A small thing, but an important thing to mention.
0
 
LVL 14

Expert Comment

by:AvonWyss
ID: 10904813
Thank you very, very much for your additional information, it will come in handy for sure! I really appreciate that.
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 10904831
No problem.

I worked on this pretty much solid for 3 to 4 days!!!!!!!!!!!!!!!!

The biggest thing I learned is DO NOT USE  REGEVENT.VBS as the tutorial recommends......that was where I wasted 80% of my time trying to get that stupid vbscript to work.

Like I said.....it turns out (in the end) that the Exchagne Explorer Tool does EVERYTHING you need as far as the Exchange Server Store is concerned.   Then you just have to go back and turn on the EventSink you registered in Component Services!!!!!

Have a nice weekend.....good luck.  Contact me on my Profile addy if you run into trouble...I can probably help!!!!!
0
 
LVL 14

Expert Comment

by:AvonWyss
ID: 10904836
I'll certainly do that, thank you! I'll try to return the favor someday...
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 10904840
:)
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 11119945
UPDATE:

Well, guess what?

I finally had a major breakthrough on this @!#$^% problem that has been driving me crazy for the last few weeks!!!!!!!


It is a very small change.

Apparently the method   MoveFirst(   ) does not work so well with Exchange.

This was the cause of my COMException:   "Interface not registered" error message this entire time.


The solution is to use    Move(1,0)     instead of MoveFirst(  ).


That's it.   Simple.

This answer came courtesy of Tom Rizzo, an author who was kind enough to correspond with me and help me figure-out finally what the problem was.:

Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint?  Check out http://www.microsoft.com/MSPress/books/5517.asp

My I aslo reommend:

.NET and COM: The Complete Interoperability Guide  ISBN:067232170X
http://www.amazon.ca/exec/obidos/ASIN/067232170X/componentsnot-20/701-9386310-4703553
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 11120274
More on the MoveFirst problem I described:

http://support.microsoft.com/default.aspx?scid=kb;en-us;273791


If you are getting into Event Sinks....I recommend the following tutorial:

http://www.codeproject.com/csharp/CsManagedEventSinksHooks.asp

Make sure and read the article questions and follow-ups at the bottom!

There are a few caveats.  E-mail me at my Profile e-mail address and we can talk about them.  :)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C# Desktop Application 3 65
how to remove duplicate code from my project 5 48
abstract class C# 1 37
WPF user control poped up from a window 1 35
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question