[GH-ISSUE #7] Exchange 2007 #6

Closed
opened 2026-02-26 10:35:10 +03:00 by kerem · 15 comments
Owner

Originally created by @VirtualLaw on GitHub (Jul 8, 2013).
Original GitHub issue: https://github.com/Pro/dkim-exchange/issues/7

Tried to install on Exchange 2007. Should that work, too?

When installing the transport agent I receive an error. The TransportAgentFactory type doesnt exist. It has to be a transport-AgentFactory .net class.

Install-TransportAgent : Der TransportAgentFactory-Typ 'Exchange.DkimSigner.Dkim
SigningRoutingAgentFactory' ist nicht vorhanden. Er muss dem Microsoft .NET-Kla
ssentyp der Transport-Agentfactory entsprechen.
Parametername: TransportAgentFactory
Bei Zeile:1 Zeichen:23

  • Install-TransportAgent <<<<
    • CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], ArgumentException
    • FullyQualifiedErrorId : 758058F3,Microsoft.Exchange.Management.AgentTask
      s.InstallTransportAgent

Is there any way to make this work? Thank you!

Originally created by @VirtualLaw on GitHub (Jul 8, 2013). Original GitHub issue: https://github.com/Pro/dkim-exchange/issues/7 Tried to install on Exchange 2007. Should that work, too? When installing the transport agent I receive an error. The TransportAgentFactory type doesnt exist. It has to be a transport-AgentFactory .net class. Install-TransportAgent : Der TransportAgentFactory-Typ 'Exchange.DkimSigner.Dkim SigningRoutingAgentFactory' ist nicht vorhanden. Er muss dem Microsoft .NET-Kla ssentyp der Transport-Agentfactory entsprechen. Parametername: TransportAgentFactory Bei Zeile:1 Zeichen:23 - Install-TransportAgent <<<< - CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], ArgumentException - FullyQualifiedErrorId : 758058F3,Microsoft.Exchange.Management.AgentTask s.InstallTransportAgent Is there any way to make this work? Thank you!
kerem 2026-02-26 10:35:10 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@Pro commented on GitHub (Jul 8, 2013):

I didn't tried it yet on Exchange 2007 but this error message looks more like the Install-TransportAgent command doesn't find the .dll and thus the Agent Factory:
Der TransportAgentFactory-Typ 'Exchange.DkimSigner.Dkim SigningRoutingAgentFactory' ist nicht vorhanden.

Did you download and copy the .dll into the specified path indicated by AssemblyPath:

Install-TransportAgent -Name "Exchange DKIM" -TransportAgentFactory "Exchange.DkimSigner.DkimSigningRoutingAgentFactory" -AssemblyPath "C:\Program Files\Exchange DKIM\Exchange.DkimSigner.dll"

Try to redownload the file and make sure it is located in the correct path.

If this doesn't help it may be due to the fact that the .dll isn't linked against the Developer .dll for Exchange 2007 (actually it is linked against 2010 SP3).

You can send me the following files (on your Server) so I can link it for 2007 (Maybe V14 is V13 in your case):

C:\Program Files\Microsoft\Exchange Server\V14\Public Microsoft.Exchange.Data.Common.dll Microsoft.Exchange.Data.Common.xml Microsoft.Exchange.Data.Transport.dll Microsoft.Exchange.Data.Transport.xml

<!-- gh-comment-id:20622912 --> @Pro commented on GitHub (Jul 8, 2013): I didn't tried it yet on Exchange 2007 but this error message looks more like the `Install-TransportAgent` command doesn't find the .dll and thus the Agent Factory: `Der TransportAgentFactory-Typ 'Exchange.DkimSigner.Dkim SigningRoutingAgentFactory' ist nicht vorhanden.` Did you download and copy the .dll into the specified path indicated by AssemblyPath: `Install-TransportAgent -Name "Exchange DKIM" -TransportAgentFactory "Exchange.DkimSigner.DkimSigningRoutingAgentFactory" -AssemblyPath "C:\Program Files\Exchange DKIM\Exchange.DkimSigner.dll"` Try to redownload the file and make sure it is located in the correct path. If this doesn't help it may be due to the fact that the .dll isn't linked against the Developer .dll for Exchange 2007 (actually it is linked against 2010 SP3). You can send me the following files (on your Server) so I can link it for 2007 (Maybe V14 is V13 in your case): `C:\Program Files\Microsoft\Exchange Server\V14\Public Microsoft.Exchange.Data.Common.dll Microsoft.Exchange.Data.Common.xml Microsoft.Exchange.Data.Transport.dll Microsoft.Exchange.Data.Transport.xml`
Author
Owner

@VirtualLaw commented on GitHub (Jul 21, 2013):

Hi, I think I did everything right.

Thank you very much for your offer to link it for 2007. I send you the files.
C:\Program Files\Microsoft\Exchange Server\Public on 2007.

Thanks so much!

Peter

<!-- gh-comment-id:21316440 --> @VirtualLaw commented on GitHub (Jul 21, 2013): Hi, I think I did everything right. Thank you very much for your offer to link it for 2007. I send you the files. C:\Program Files\Microsoft\Exchange Server\Public on 2007. Thanks so much! Peter
Author
Owner

@OBIT-Jarrod commented on GitHub (Oct 24, 2013):

Hi, I was looking for the 2007 version of this also, in regards to the dll files would they be the same for all 2007 instances or are they unique to each server?

<!-- gh-comment-id:26969579 --> @OBIT-Jarrod commented on GitHub (Oct 24, 2013): Hi, I was looking for the 2007 version of this also, in regards to the dll files would they be the same for all 2007 instances or are they unique to each server?
Author
Owner

@Pro commented on GitHub (Oct 24, 2013):

They should be equal for all the 2007 servers (at least for the same Update Rollup Pack). Unfortunately I didn't get the files from VirtualLaw.
So maybe you can send them to me. Please also indicate which version of 2007 you exactly have.

<!-- gh-comment-id:26969670 --> @Pro commented on GitHub (Oct 24, 2013): They should be equal for all the 2007 servers (at least for the same Update Rollup Pack). Unfortunately I didn't get the files from VirtualLaw. So maybe you can send them to me. Please also indicate which version of 2007 you exactly have.
Author
Owner

@OBIT-Jarrod commented on GitHub (Oct 24, 2013):

Unfortunately we don't support that file type yet. Please use PNG, GIF, or JPG.
Cant upload dll's and xml's please provide an email address and i can send them

<!-- gh-comment-id:26969827 --> @OBIT-Jarrod commented on GitHub (Oct 24, 2013): Unfortunately we don't support that file type yet. Please use PNG, GIF, or JPG. Cant upload dll's and xml's please provide an email address and i can send them
Author
Owner

@OBIT-Jarrod commented on GitHub (Oct 24, 2013):

Also i am using exchange 2007 sp3

<!-- gh-comment-id:26969838 --> @OBIT-Jarrod commented on GitHub (Oct 24, 2013): Also i am using exchange 2007 sp3
Author
Owner

@Pro commented on GitHub (Oct 24, 2013):

@OBIT-Jarrod I did a rebuild with your provided dlls:
https://github.com/Pro/dkim-exchange/tree/master/Release

Please check if this version is working for you.

<!-- gh-comment-id:27008204 --> @Pro commented on GitHub (Oct 24, 2013): @OBIT-Jarrod I did a rebuild with your provided dlls: https://github.com/Pro/dkim-exchange/tree/master/Release Please check if this version is working for you.
Author
Owner

@OBIT-Jarrod commented on GitHub (Oct 24, 2013):

Hi Pro,thank you so much for taking the time to alter it just for me, I am however still having issues
1: Can't Install the agent as it error s out but its something inside the dll that's causing it.
capture1

2:When I follow the instructions to edit the config file I cannot find the tags
capture2

Again thank you for all your help with this

<!-- gh-comment-id:27037731 --> @OBIT-Jarrod commented on GitHub (Oct 24, 2013): Hi Pro,thank you so much for taking the time to alter it just for me, I am however still having issues 1: Can't Install the agent as it error s out but its something inside the dll that's causing it. ![capture1](https://f.cloud.github.com/assets/5762906/1403913/97085ac0-3cfb-11e3-961b-79a79eb5f584.JPG) 2:When I follow the instructions to edit the config file I cannot find the <domaininfo> tags ![capture2](https://f.cloud.github.com/assets/5762906/1403920/9a9da212-3cfb-11e3-85f3-444c69a0c396.JPG) Again thank you for all your help with this
Author
Owner

@Pro commented on GitHub (Oct 25, 2013):

First of all, are you using the correct config file:
https://github.com/Pro/dkim-exchange/blob/master/Release/Exchange.DkimSigner.dll.config

Then make sure that .NET Framework 3.5 is installed on your server.

Then you can also try to copy the dlls (which you sent me) in the same folder where the dkim-exchange dll is placed in.

You can also check out this answer: http://stackoverflow.com/questions/12135925/error-while-trying-to-run-projectthe-module-was-expected-to-contain-an-assembly

<!-- gh-comment-id:27064117 --> @Pro commented on GitHub (Oct 25, 2013): First of all, are you using the correct config file: https://github.com/Pro/dkim-exchange/blob/master/Release/Exchange.DkimSigner.dll.config Then make sure that .NET Framework 3.5 is installed on your server. Then you can also try to copy the dlls (which you sent me) in the same folder where the dkim-exchange dll is placed in. You can also check out this answer: http://stackoverflow.com/questions/12135925/error-while-trying-to-run-projectthe-module-was-expected-to-contain-an-assembly
Author
Owner

@Pro commented on GitHub (Nov 3, 2013):

@OBIT-Jarrod did you manage to successfully setup DKIM for Exchange 2007?

<!-- gh-comment-id:27641874 --> @Pro commented on GitHub (Nov 3, 2013): @OBIT-Jarrod did you manage to successfully setup DKIM for Exchange 2007?
Author
Owner

@OBIT-Jarrod commented on GitHub (Nov 3, 2013):

Unfortunately not, Still erroring, got a bit snowed under with other projects so haven’t had much of a chance to look at it lately. Any help would be appreciated but no rush.

<!-- gh-comment-id:27657520 --> @OBIT-Jarrod commented on GitHub (Nov 3, 2013): Unfortunately not, Still erroring, got a bit snowed under with other projects so haven’t had much of a chance to look at it lately. Any help would be appreciated but no rush.
Author
Owner

@OBIT-Jarrod commented on GitHub (Nov 3, 2013):

Sorry images didnt attach in reply email, please see attached screenshots
capture
capture2

<!-- gh-comment-id:27657873 --> @OBIT-Jarrod commented on GitHub (Nov 3, 2013): Sorry images didnt attach in reply email, please see attached screenshots ![capture](https://f.cloud.github.com/assets/5762906/1462083/2c855d64-44e0-11e3-9f03-be3e0f6d1b26.JPG) ![capture2](https://f.cloud.github.com/assets/5762906/1462084/2ef0dcd6-44e0-11e3-8d20-e9567aa559f1.JPG)
Author
Owner

@Pro commented on GitHub (Nov 7, 2013):

Also have a look at the following issue #3

You can try to rename the .dll to not contain periods.

<!-- gh-comment-id:27992601 --> @Pro commented on GitHub (Nov 7, 2013): Also have a look at the following issue #3 You can try to rename the .dll to not contain periods.
Author
Owner

@Pro commented on GitHub (Nov 8, 2013):

I did another rebuild. Please try the new ones.
Also try to remove the periods from the filename.

I close the issue for now, if you encounter any problems please resond in this thread.

<!-- gh-comment-id:28067698 --> @Pro commented on GitHub (Nov 8, 2013): I did another rebuild. Please try the new ones. Also try to remove the periods from the filename. I close the issue for now, if you encounter any problems please resond in this thread.
Author
Owner

@Pro commented on GitHub (Nov 26, 2013):

Today I commited a new install script. This should fix common problems.
Simply follow the the instructions here: https://github.com/Pro/dkim-exchange#update-from-version-05 or install from scratch https://github.com/Pro/dkim-exchange#installing-the-transport-agent

<!-- gh-comment-id:29334827 --> @Pro commented on GitHub (Nov 26, 2013): Today I commited a new install script. This should fix common problems. Simply follow the the instructions here: https://github.com/Pro/dkim-exchange#update-from-version-05 or install from scratch https://github.com/Pro/dkim-exchange#installing-the-transport-agent
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dkim-exchange-Pro#6
No description provided.