Registering agent
Could not load file or assembly 'file:///C:\Program Files\Exchange CatchAll\ExchangeCatchAll.dll' or one of its
dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
+ CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], FileLoadException
+ FullyQualifiedErrorId : [Server=EXCHANGE2013,RequestId=c4faf8ee-f91c-4548-bd1f-4ebaf6bb0e0d,TimeStamp=02/03/2014
11:39:42] [FailureCategory=Cmdlet-FileLoadException] E9E2E55C,Microsoft.Exchange.Management.AgentTasks.InstallTra
nsportAgent
+ PSComputerName : exchange2013.xxx.xxx.xxx
check if the .dll's are unlocked:
- open the folder containing the downloaded .zip contents
- open the folder
.\CatchAllAgent\bin\
- select the corresponding Exchange version
- for all the .dll files in this folder (
ExchangeCatchAll.dll
andmysql.data.dll
) make sure that they are unlocked: - Click Properties
- Go to the "General" tab
- Click on "Unlock file"
- Click OK
copy-item : The process cannot access the file 'C:\Program Files\Exchange CatchAll\ExchangeCatchAll.dll' because it is
being used by another process.
- Open Powershell
- Execute
net stop W3SVC
- Delete the file
C:\Program Files\Exchange CatchAll\ExchangeCatchAll.dll
- Execute
net start W3SVC
- Rerun the install script
Registering agent:
Could not load file or assembly '...' or one of its dependencies. The module was expected to contain an assembly manifest
The .dll may be corrupted. Possible cause: you are using a FTP Client to put the .dll on the server.
You need to directly download the .zip from github to the server or transfer the files via Windows Share.