Transport Service Stopping

Jul 11, 2009 at 7:54 PM

I am getting this error

The creation of an agent factory for the agent 'CatchAll Agent' failed with error 'Failed to create type 'CatchAll.CatchAllFactory' from assembly 'C:\catchallagent\CatchAllAgent.dll' due to error 'Could not load file or assembly 'file:///C:\catchallagent\CatchAllAgent.dll' or one of its dependencies. Access is denied.'.'. Verify that the corresponding transport agent assembly and dependencies with the correct version are installed.

For more information, see Help and Support Center at


running as administrator any advice would be greatly appreciated


Aug 18, 2009 at 3:01 PM

Try adding the "NETWORK SERVICE" permission on the two files.


Alternatively, install the agent along with the other Exchange agents:-

Eg:- C:\Program Files\Microsoft\Exchange Server\TransportRoles\agents\catchall

When I did the above, it automatically added the "NETWORK SERVICE" permission to both files. You'll need to adjust the install procedure as follows:-


install-transportagent -Name "CatchAll Agent" -TransportAgentFactory:CatchAll.CatchAllFactory -AssemblyPath:"C:\Program Files\Microsoft\Exchange Server\TransportRoles\agents\catchall\CatchAllAgent.dll"


enable-transportagent "CatchAll Agent"

net stop MSExchangeTransport

net start MSExchangeTransport


If you are having issues (and you want to uninstall the CatchAll agent):-

net stop MSExchangeTransport

uninstall-transportagent "CatchAll Agent"

net start MSExchangeTransport



Hope that helps!

Semple1 :-)