SBS 2008 and InstallAgent error -> What the issue is. (Install permissions changed)

Coordinator
Mar 1, 2009 at 12:00 AM

Several people have reported the following eror an error during the install on SBS 2008. Th error returned by install-transportagent is:

Something along the lines of:
 
Install-TransportAgent : Invalid agent configuration in file 'C:\Program Files\
Microsoft\Exchange Server\TransportRoles\Shared\agents.config'.
At line:1 char:23
+ install-transportagent  <<<< -Name "CatchAll Agent" -TransportAgentFactory:Ca
tchAll.CatchAllFactory -AssemblyPath:"C:\catchallagent\CatchAllAgent.dll"

Tom Finnis found the issue and emailed me about it. SBS 2008 creates a special Admin account which doesn't have permission to the Exchang agent configuation file, which gets modified by the install-transportagent task. Some people have worked around that by modifying the file manually, possibly sneaking in an XML error.

Thanks Tom!!!

The solution: Run the steps as Exchange Administrator, and not the SBS 2008 Administrator.

I will modify the installation steps in the READM file.

Thanks, Wilbert