none
Routing Transport Agent Kills EdgeTransport.exe RRS feed

  • Question

  • Hello All,

     

    I have developed a simple Routing Transport Agent for Exchnage Server 2007 (64bit). After I install it, Enable it and restart Exchange Transport Service. When I send any test email Whatsoever, EdgeTransport.exe which hosts my Dll terminates.

    I never got any calls to my Factory or OnSubmittedEvent Handler.

    Anyhelp would be apprecited am I missinge something

    Thanks

    Ahmad


    Ahmad , Microsoft Student Partner - India
    Wednesday, March 9, 2011 6:01 AM

All replies

  • You need to see what's happening with your code by using the debugger.  To do this:

     

    1. Use Powershell to Install-TransportAgent the DEBUG version of your agent.
    2. Use Powershell to Enable-TransportAgent your agent.
    3. From within Visual Studio (must have the debug version of your code up) set a breakpoint on the CreateAgent call - this is where Exchange will first call you.

    Now send a test email, and when the debugger breaks, start stepping thru your code until you see it blow up!  You have now found your problem.

     

    Rob

     

    Wednesday, March 9, 2011 10:08 PM