[GH-ISSUE #17] Exchange 2010 SP2 #12

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

Originally created by @networkthinking on GitHub (Mar 11, 2014).
Original GitHub issue: https://github.com/Pro/dkim-exchange/issues/17

Hello,
Where can I download the version for Exchange 2010 SP2? I saw there was a bug and then a fix and wondering if I can get that version. The newest version seems not to be working for me.

Wally

Originally created by @networkthinking on GitHub (Mar 11, 2014). Original GitHub issue: https://github.com/Pro/dkim-exchange/issues/17 Hello, Where can I download the version for Exchange 2010 SP2? I saw there was a bug and then a fix and wondering if I can get that version. The newest version seems not to be working for me. Wally
kerem 2026-02-26 10:35:12 +03:00
  • closed this issue
  • added the
    invalid
    label
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

Did you use the install script as described in the install instructions? (https://github.com/Pro/dkim-exchange#installing-the-transport-agent)
The install script automatically takes this version: https://github.com/Pro/dkim-exchange/tree/master/Src/Exchange.DkimSigner/bin/Exchange%202010%20SP2

Do you get any error message or exception in the event log?

<!-- gh-comment-id:37340255 --> @Pro commented on GitHub (Mar 11, 2014): Did you use the install script as described in the install instructions? (https://github.com/Pro/dkim-exchange#installing-the-transport-agent) The install script automatically takes this version: https://github.com/Pro/dkim-exchange/tree/master/Src/Exchange.DkimSigner/bin/Exchange%202010%20SP2 Do you get any error message or exception in the event log?
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

No errors but unable the start Exchange Transport. Let me try manually applying that DLL to see if that resolves. I had tried the latest and was not working. I then tried an older version that I used before and knew it worked. Let me try old version with this DLL and see what happens.

Wally

<!-- gh-comment-id:37342658 --> @networkthinking commented on GitHub (Mar 11, 2014): No errors but unable the start Exchange Transport. Let me try manually applying that DLL to see if that resolves. I had tried the latest and was not working. I then tried an older version that I used before and knew it worked. Let me try old version with this DLL and see what happens. Wally
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

If the Exchange Transport doesn't start, there should be at least two error entries in the Event Log (under Administrative Events). Please post all the error descriptions you get.

<!-- gh-comment-id:37342952 --> @Pro commented on GitHub (Mar 11, 2014): If the Exchange Transport doesn't start, there should be at least two error entries in the Event Log (under Administrative Events). Please post all the error descriptions you get.
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

The install did not run correct
bomgar- pinned -gbhexch02-20140311131259

<!-- gh-comment-id:37344001 --> @networkthinking commented on GitHub (Mar 11, 2014): The install did not run correct ![bomgar- pinned -gbhexch02-20140311131259](https://f.cloud.github.com/assets/6453390/2390359/a59e5948-a959-11e3-814b-3ca164115ffc.png)
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

Uninstalled and try to reinstall with the version on the main page. No luck at all, same error.

<!-- gh-comment-id:37345442 --> @networkthinking commented on GitHub (Mar 11, 2014): Uninstalled and try to reinstall with the version on the main page. No luck at all, same error.
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

Can you tell me the version of the following .dlls on your server (right click, properties, details, file version):

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

If you want to try older versions, you can get them here: https://github.com/Pro/dkim-exchange/releases

<!-- gh-comment-id:37346477 --> @Pro commented on GitHub (Mar 11, 2014): Can you tell me the version of the following .dlls on your server (right click, properties, details, file version): ``` C:\Program Files\Microsoft\Exchange Server\V14\Public Microsoft.Exchange.Data.Common.dll Microsoft.Exchange.Data.Transport.dll ``` If you want to try older versions, you can get them here: https://github.com/Pro/dkim-exchange/releases
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

14.2.328.9

<!-- gh-comment-id:37347484 --> @networkthinking commented on GitHub (Mar 11, 2014): 14.2.328.9
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

Are those files put there by Exchange or your program?

<!-- gh-comment-id:37347962 --> @networkthinking commented on GitHub (Mar 11, 2014): Are those files put there by Exchange or your program?
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

These are from Exchange. I'm currently testing which error message is shown if the .dll is compiled for the wrong Exchange Version (because your version 14.2.328.9 is Exchange 2010 SP2 including Update Rollup 5 but the .dll was compiled with the .dll's for Exchange 2010 SP2 without any Update Rollup).
You mentioned that a previous version worked? Did you install the Update Rollup in the meantime?

<!-- gh-comment-id:37348463 --> @Pro commented on GitHub (Mar 11, 2014): These are from Exchange. I'm currently testing which error message is shown if the .dll is compiled for the wrong Exchange Version (because your version 14.2.328.9 is Exchange 2010 SP2 including Update Rollup 5 but the .dll was compiled with the .dll's for Exchange 2010 SP2 without any Update Rollup). You mentioned that a previous version worked? Did you install the Update Rollup in the meantime?
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

Can you upload the .dll's somewhere and I'll try to recompile the DKIM Agent for this version:

C:\Program Files\Microsoft\Exchange Server\V14\Public
Microsoft.Exchange.Data.Common.dll
Microsoft.Exchange.Data.Transport.dll
<!-- gh-comment-id:37350128 --> @Pro commented on GitHub (Mar 11, 2014): Can you upload the .dll's somewhere and I'll try to recompile the DKIM Agent for this version: ``` C:\Program Files\Microsoft\Exchange Server\V14\Public Microsoft.Exchange.Data.Common.dll Microsoft.Exchange.Data.Transport.dll ```
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

No, we just took over this server and reluctant to patch until we have firm grasp.

<!-- gh-comment-id:37351028 --> @networkthinking commented on GitHub (Mar 11, 2014): No, we just took over this server and reluctant to patch until we have firm grasp.
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

dkim zip

<!-- gh-comment-id:37351251 --> @networkthinking commented on GitHub (Mar 11, 2014): ![dkim zip](https://f.cloud.github.com/assets/6453390/2391089/9ec7f490-a962-11e3-8f15-14880fce7d58.png)
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

Remove the PNG and it will be a zip file with the DLL

<!-- gh-comment-id:37351287 --> @networkthinking commented on GitHub (Mar 11, 2014): Remove the PNG and it will be a zip file with the DLL
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

Ok, now try this version: https://dl.dropboxusercontent.com/u/3233048/V1/ExchangeDkimSigner.dll
And let my know the result

<!-- gh-comment-id:37352090 --> @Pro commented on GitHub (Mar 11, 2014): Ok, now try this version: https://dl.dropboxusercontent.com/u/3233048/V1/ExchangeDkimSigner.dll And let my know the result
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

I think this error message is related to a corrupted .dll (see https://www.devexpress.com/Support/Center/Question/Details/Q241478). I manually corrupted a .dll by adding some letters at the beginning and got exactly the same (irritating) message.

How exactly did you put the .dll on your server? Using a FTP server may cause the problem. Please try to use folder shares or directly download the .zip from github to your server.

<!-- gh-comment-id:37353434 --> @Pro commented on GitHub (Mar 11, 2014): I think this error message is related to a corrupted .dll (see https://www.devexpress.com/Support/Center/Question/Details/Q241478). I manually corrupted a .dll by adding some letters at the beginning and got exactly the same (irritating) message. How exactly did you put the .dll on your server? Using a FTP server may cause the problem. Please try to use folder shares or directly download the .zip from github to your server.
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

Suggestions on which version I should download and how to get back to square one?

Registering agent
Could not load file or assembly 'file:///C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll' or one of its dep
endencies. The module was expected to contain an assembly manifest.
    + CategoryInfo          : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException
    + FullyQualifiedErrorId : 3ADC3419,Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent

Enabling agent
Transport agent "Exchange DkimSigner" isn't found.
Parameter name: Identity
    + CategoryInfo          : InvalidArgument: (:) [Enable-TransportAgent], ArgumentException
    + FullyQualifiedErrorId : 78942B43,Microsoft.Exchange.Management.AgentTasks.EnableTransportAgent
<!-- gh-comment-id:37354139 --> @networkthinking commented on GitHub (Mar 11, 2014): Suggestions on which version I should download and how to get back to square one? ``` Registering agent Could not load file or assembly 'file:///C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll' or one of its dep endencies. The module was expected to contain an assembly manifest. + CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException + FullyQualifiedErrorId : 3ADC3419,Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent Enabling agent Transport agent "Exchange DkimSigner" isn't found. Parameter name: Identity + CategoryInfo : InvalidArgument: (:) [Enable-TransportAgent], ArgumentException + FullyQualifiedErrorId : 78942B43,Microsoft.Exchange.Management.AgentTasks.EnableTransportAgent ```
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

First of all, delete the directory C:\Program Files\Exchange DkimSigner

Then download https://github.com/Pro/dkim-exchange/archive/master.zip directly on your server (don't use FTP to transfer the files to the server).
Then use the install script.

<!-- gh-comment-id:37354302 --> @Pro commented on GitHub (Mar 11, 2014): First of all, delete the directory `C:\Program Files\Exchange DkimSigner` Then download https://github.com/Pro/dkim-exchange/archive/master.zip directly on your server (don't use FTP to transfer the files to the server). Then use the install script.
Author
Owner

@AlexLaroche commented on GitHub (Mar 11, 2014):

May be, it’s a problem with the new implementation for support both .NET 3.5 and .NET4.

Stefan, are you sure about your implementation for generate all the build with your last changes?

The project description file for the generation are much more complicated… I have work on your code and I have difficultly to understand your last changes…

<!-- gh-comment-id:37354467 --> @AlexLaroche commented on GitHub (Mar 11, 2014): May be, it’s a problem with the new implementation for support both .NET 3.5 and .NET4. Stefan, are you sure about your implementation for generate all the build with your last changes? The project description file for the generation are much more complicated… I have work on your code and I have difficultly to understand your last changes…
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

Sorry - not working

Registering agent
Could not load file or assembly 'file:///C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll' or one of its dep
endencies. The module was expected to contain an assembly manifest.
    + CategoryInfo          : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException
    + FullyQualifiedErrorId : 3ADC3419,Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent

Enabling agent
Transport agent "Exchange DkimSigner" isn't found.
Parameter name: Identity
    + CategoryInfo          : InvalidArgument: (:) [Enable-TransportAgent], ArgumentException
    + FullyQualifiedErrorId : 78942B43,Microsoft.Exchange.Management.AgentTasks.EnableTransportAgent


RunspaceId            : 2f32e4bd-72b2-4cfc-9376-d5da0408abeb
Enabled               : True
Priority              : 1
TransportAgentFactory : Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.TransportRuleAgentFactory
AssemblyPath          : C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\agents\Rule\Microsoft.Exchange.Me
                        ssagingPolicies.TransportRuleAgent.dll
Identity              : Transport Rule Agent
IsValid               : True


RunspaceId            : 2f32e4bd-72b2-4cfc-9376-d5da0408abeb
Enabled               : True
Priority              : 2
TransportAgentFactory : Microsoft.Exchange.TextMessaging.MobileDriver.TextMessagingRoutingAgentFactory
AssemblyPath          : C:\Program Files\Microsoft\Exchange Server\V14\bin\Microsoft.Exchange.MobileDriver.dll
Identity              : Text Messaging Routing Agent
IsValid               : True


RunspaceId            : 2f32e4bd-72b2-4cfc-9376-d5da0408abeb
Enabled               : True
Priority              : 3
TransportAgentFactory : Microsoft.Exchange.TextMessaging.MobileDriver.TextMessagingDeliveryAgentFactory
AssemblyPath          : C:\Program Files\Microsoft\Exchange Server\V14\bin\Microsoft.Exchange.MobileDriver.dll
Identity              : Text Messaging Delivery Agent
IsValid               : True
<!-- gh-comment-id:37354754 --> @networkthinking commented on GitHub (Mar 11, 2014): Sorry - not working ``` Registering agent Could not load file or assembly 'file:///C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll' or one of its dep endencies. The module was expected to contain an assembly manifest. + CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException + FullyQualifiedErrorId : 3ADC3419,Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent Enabling agent Transport agent "Exchange DkimSigner" isn't found. Parameter name: Identity + CategoryInfo : InvalidArgument: (:) [Enable-TransportAgent], ArgumentException + FullyQualifiedErrorId : 78942B43,Microsoft.Exchange.Management.AgentTasks.EnableTransportAgent RunspaceId : 2f32e4bd-72b2-4cfc-9376-d5da0408abeb Enabled : True Priority : 1 TransportAgentFactory : Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.TransportRuleAgentFactory AssemblyPath : C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\agents\Rule\Microsoft.Exchange.Me ssagingPolicies.TransportRuleAgent.dll Identity : Transport Rule Agent IsValid : True RunspaceId : 2f32e4bd-72b2-4cfc-9376-d5da0408abeb Enabled : True Priority : 2 TransportAgentFactory : Microsoft.Exchange.TextMessaging.MobileDriver.TextMessagingRoutingAgentFactory AssemblyPath : C:\Program Files\Microsoft\Exchange Server\V14\bin\Microsoft.Exchange.MobileDriver.dll Identity : Text Messaging Routing Agent IsValid : True RunspaceId : 2f32e4bd-72b2-4cfc-9376-d5da0408abeb Enabled : True Priority : 3 TransportAgentFactory : Microsoft.Exchange.TextMessaging.MobileDriver.TextMessagingDeliveryAgentFactory AssemblyPath : C:\Program Files\Microsoft\Exchange Server\V14\bin\Microsoft.Exchange.MobileDriver.dll Identity : Text Messaging Delivery Agent IsValid : True ```
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

@AlexLaroche The project definition should be fine. To build the .dll's you need to select either the desired version directly, then VS takes automatically the correct project (3.5 or 4.0). To build all the .dll you need to use Batch-Build and select the configurations accordingly:
build1
I tested the newly built .dll on my Exchange 2010 SP3 and it's working without any problems so the build process should be correct.
Maybe you are confused a bit about the Travis CI files, those are only used for CI (continuous integration testing).

@networkthinking Do you have the possibility to execute "ildasm.exe" on your server (http://msdn.microsoft.com/en-en/library/f7dy01k1%28v=vs.110%29.aspx). I think it can be found in http://www.microsoft.com/en-us/download/details.aspx?id=24826
With ildasm.exe you can check if the .dll contains the manifest. On my PC the .dll (which is exactly the same as on github) outputs:
ildasm
And the manifest (from ildasm) itself contains:

// Metadata version: v2.0.50727
.assembly extern System.Configuration
{
  .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )                         // .?_....:
  .ver 2:0:0:0
}
.assembly extern mscorlib
{
  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         // .z\V.4..
  .ver 2:0:0:0
}
.assembly extern Microsoft.Exchange.Data.Transport
{
  .publickeytoken = (31 BF 38 56 AD 36 4E 35 )                         // 1.8V.6N5
  .ver 14:2:214:0
}
.assembly extern System.Core
{
  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         // .z\V.4..
  .ver 3:5:0:0
}
.assembly extern System
{
  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         // .z\V.4..
  .ver 2:0:0:0
}
.assembly extern Microsoft.Exchange.Data.Common
{
  .publickeytoken = (31 BF 38 56 AD 36 4E 35 )                         // 1.8V.6N5
  .ver 14:2:214:0
}
.assembly ExchangeDkimSigner
{
  .custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78   // ....T..WrapNonEx
                                                                                                             63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 )       // ceptionThrows.
  .custom instance void [mscorlib]System.Reflection.AssemblyDescriptionAttribute::.ctor(string) = ( 01 00 22 53 69 67 6E 73 20 6F 75 74 62 6F 75 6E   // .."Signs outboun
                                                                                                    64 20 65 2D 6D 61 69 6C 73 20 75 73 69 6E 67 20   // d e-mails using 
                                                                                                    44 4B 49 4D 2E 00 00 )                            // DKIM...
  .custom instance void [mscorlib]System.Reflection.AssemblyConfigurationAttribute::.ctor(string) = ( 01 00 07 52 45 4C 45 41 53 45 00 00 )             // ...RELEASE..
  .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 ) 
  .custom instance void [mscorlib]System.Reflection.AssemblyCopyrightAttribute::.ctor(string) = ( 01 00 25 47 6E 75 20 47 50 4C 20 33 20 62 79 20   // ..%Gnu GPL 3 by 
                                                                                                  53 74 65 66 61 6E 20 50 72 6F 66 61 6E 74 65 72   // Stefan Profanter
                                                                                                  20 C2 A9 20 32 30 31 33 00 00 )                   //  .. 2013..

  // --- The following custom attribute is added automatically, do not uncomment -------
  //  .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 02 00 00 00 00 00 ) 

  .custom instance void [mscorlib]System.Reflection.AssemblyTitleAttribute::.ctor(string) = ( 01 00 18 44 4B 49 4D 20 53 69 67 6E 65 72 20 66   // ...DKIM Signer f
                                                                                              6F 72 20 45 78 63 68 61 6E 67 65 00 00 )          // or Exchange..
  .custom instance void [mscorlib]System.Reflection.AssemblyCompanyAttribute::.ctor(string) = ( 01 00 0E 67 69 74 68 75 62 2E 63 6F 6D 2F 50 72   // ...github.com/Pr
                                                                                                6F 00 00 )                                        // o..
  .custom instance void [mscorlib]System.Reflection.AssemblyProductAttribute::.ctor(string) = ( 01 00 0D 45 78 63 68 61 6E 67 65 20 44 4B 49 4D   // ...Exchange DKIM
                                                                                                00 00 ) 
  .custom instance void [mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) = ( 01 00 24 46 41 30 44 37 36 32 38 2D 37 30 32 41   // ..$FA0D7628-702A
                                                                                                  2D 34 34 35 42 2D 39 43 37 38 2D 38 38 37 38 37   // -445B-9C78-88787
                                                                                                  34 42 32 31 32 42 41 00 00 )                      // 4B212BA..
  .custom instance void [mscorlib]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( 01 00 05 31 2E 37 2E 30 00 00 )                   // ...1.7.0..
  .custom instance void [mscorlib]System.Runtime.InteropServices.ComVisibleAttribute::.ctor(bool) = ( 01 00 00 00 00 ) 
  .custom instance void [mscorlib]System.Reflection.AssemblyTrademarkAttribute::.ctor(string) = ( 01 00 00 00 00 ) 
  .custom instance void [mscorlib]System.CLSCompliantAttribute::.ctor(bool) = ( 01 00 01 00 00 ) 
  .custom instance void [mscorlib]System.Resources.NeutralResourcesLanguageAttribute::.ctor(string) = ( 01 00 05 65 6E 2D 55 53 00 00 )                   // ...en-US..
  .hash algorithm 0x00008004
  .ver 1:7:0:0
}
.mresource public Exchange.DkimSigner.Properties.Resources.resources
{
  // Offset: 0x00000000 Length: 0x00000AEF
}
.module ExchangeDkimSigner.dll
// MVID: {99557607-6432-4CDA-8A43-EA720A970009}
.imagebase 0x10000000
.file alignment 0x00000200
.stackreserve 0x00100000
.subsystem 0x0003       // WINDOWS_CUI
.corflags 0x00000001    //  ILONLY
// Image base: 0x02790000
<!-- gh-comment-id:37356307 --> @Pro commented on GitHub (Mar 11, 2014): @AlexLaroche The project definition should be fine. To build the .dll's you need to select either the desired version directly, then VS takes automatically the correct project (3.5 or 4.0). To build all the .dll you need to use Batch-Build and select the configurations accordingly: ![build1](https://f.cloud.github.com/assets/251973/2391741/ecef3b3c-a96d-11e3-9fa4-9978faba606e.PNG) I tested the newly built .dll on my Exchange 2010 SP3 and it's working without any problems so the build process should be correct. Maybe you are confused a bit about the Travis CI files, those are only used for CI (continuous integration testing). @networkthinking Do you have the possibility to execute "ildasm.exe" on your server (http://msdn.microsoft.com/en-en/library/f7dy01k1%28v=vs.110%29.aspx). I think it can be found in http://www.microsoft.com/en-us/download/details.aspx?id=24826 With ildasm.exe you can check if the .dll contains the manifest. On my PC the .dll (which is exactly the same as on github) outputs: ![ildasm](https://f.cloud.github.com/assets/251973/2391871/77937054-a96f-11e3-8cc1-d2dc6ac32e57.PNG) And the manifest (from ildasm) itself contains: ``` // Metadata version: v2.0.50727 .assembly extern System.Configuration { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) // .?_....: .ver 2:0:0:0 } .assembly extern mscorlib { .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .ver 2:0:0:0 } .assembly extern Microsoft.Exchange.Data.Transport { .publickeytoken = (31 BF 38 56 AD 36 4E 35 ) // 1.8V.6N5 .ver 14:2:214:0 } .assembly extern System.Core { .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .ver 3:5:0:0 } .assembly extern System { .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .ver 2:0:0:0 } .assembly extern Microsoft.Exchange.Data.Common { .publickeytoken = (31 BF 38 56 AD 36 4E 35 ) // 1.8V.6N5 .ver 14:2:214:0 } .assembly ExchangeDkimSigner { .custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows. .custom instance void [mscorlib]System.Reflection.AssemblyDescriptionAttribute::.ctor(string) = ( 01 00 22 53 69 67 6E 73 20 6F 75 74 62 6F 75 6E // .."Signs outboun 64 20 65 2D 6D 61 69 6C 73 20 75 73 69 6E 67 20 // d e-mails using 44 4B 49 4D 2E 00 00 ) // DKIM... .custom instance void [mscorlib]System.Reflection.AssemblyConfigurationAttribute::.ctor(string) = ( 01 00 07 52 45 4C 45 41 53 45 00 00 ) // ...RELEASE.. .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 ) .custom instance void [mscorlib]System.Reflection.AssemblyCopyrightAttribute::.ctor(string) = ( 01 00 25 47 6E 75 20 47 50 4C 20 33 20 62 79 20 // ..%Gnu GPL 3 by 53 74 65 66 61 6E 20 50 72 6F 66 61 6E 74 65 72 // Stefan Profanter 20 C2 A9 20 32 30 31 33 00 00 ) // .. 2013.. // --- The following custom attribute is added automatically, do not uncomment ------- // .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 02 00 00 00 00 00 ) .custom instance void [mscorlib]System.Reflection.AssemblyTitleAttribute::.ctor(string) = ( 01 00 18 44 4B 49 4D 20 53 69 67 6E 65 72 20 66 // ...DKIM Signer f 6F 72 20 45 78 63 68 61 6E 67 65 00 00 ) // or Exchange.. .custom instance void [mscorlib]System.Reflection.AssemblyCompanyAttribute::.ctor(string) = ( 01 00 0E 67 69 74 68 75 62 2E 63 6F 6D 2F 50 72 // ...github.com/Pr 6F 00 00 ) // o.. .custom instance void [mscorlib]System.Reflection.AssemblyProductAttribute::.ctor(string) = ( 01 00 0D 45 78 63 68 61 6E 67 65 20 44 4B 49 4D // ...Exchange DKIM 00 00 ) .custom instance void [mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) = ( 01 00 24 46 41 30 44 37 36 32 38 2D 37 30 32 41 // ..$FA0D7628-702A 2D 34 34 35 42 2D 39 43 37 38 2D 38 38 37 38 37 // -445B-9C78-88787 34 42 32 31 32 42 41 00 00 ) // 4B212BA.. .custom instance void [mscorlib]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( 01 00 05 31 2E 37 2E 30 00 00 ) // ...1.7.0.. .custom instance void [mscorlib]System.Runtime.InteropServices.ComVisibleAttribute::.ctor(bool) = ( 01 00 00 00 00 ) .custom instance void [mscorlib]System.Reflection.AssemblyTrademarkAttribute::.ctor(string) = ( 01 00 00 00 00 ) .custom instance void [mscorlib]System.CLSCompliantAttribute::.ctor(bool) = ( 01 00 01 00 00 ) .custom instance void [mscorlib]System.Resources.NeutralResourcesLanguageAttribute::.ctor(string) = ( 01 00 05 65 6E 2D 55 53 00 00 ) // ...en-US.. .hash algorithm 0x00008004 .ver 1:7:0:0 } .mresource public Exchange.DkimSigner.Properties.Resources.resources { // Offset: 0x00000000 Length: 0x00000AEF } .module ExchangeDkimSigner.dll // MVID: {99557607-6432-4CDA-8A43-EA720A970009} .imagebase 0x10000000 .file alignment 0x00000200 .stackreserve 0x00100000 .subsystem 0x0003 // WINDOWS_CUI .corflags 0x00000001 // ILONLY // Image base: 0x02790000 ```
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

Did you also try this version (compiled for Ex 2010 SP2 CU5) posted before? https://dl.dropboxusercontent.com/u/3233048/V1/ExchangeDkimSigner.dll

<!-- gh-comment-id:37356849 --> @Pro commented on GitHub (Mar 11, 2014): Did you also try this version (compiled for Ex 2010 SP2 CU5) posted before? https://dl.dropboxusercontent.com/u/3233048/V1/ExchangeDkimSigner.dll
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

Stefan - This is where you lose me. I can download that DLL but at what point do I put that in the directory? During the install?

<!-- gh-comment-id:37357185 --> @networkthinking commented on GitHub (Mar 11, 2014): Stefan - This is where you lose me. I can download that DLL but at what point do I put that in the directory? During the install?
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

Ah, ok, sorry.
Download the .dll and put it into C:\Program Files\Exchange DkimSigner (replace the existing one).

Then execute the following commands in your Exchange Management Shell:

net stop MSExchangeTransport 

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

enable-transportagent -Identity "Exchange DkimSigner"

net start MSExchangeTransport

Does this produce any error?

<!-- gh-comment-id:37357479 --> @Pro commented on GitHub (Mar 11, 2014): Ah, ok, sorry. Download the .dll and put it into `C:\Program Files\Exchange DkimSigner` (replace the existing one). Then execute the following commands in your Exchange Management Shell: ``` net stop MSExchangeTransport Install-TransportAgent -Name "Exchange DkimSigner" -TransportAgentFactory "Exchange.DkimSigner.DkimSigningRoutingAgentFactory" -AssemblyPath "C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll" enable-transportagent -Identity "Exchange DkimSigner" net start MSExchangeTransport ``` Does this produce any error?
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

If you get any error, post it here, then try again the same steps with these .dlls:
(these are different build versions all for Ex 2010 SP2)
v1.7.0 (before switching build process): https://github.com/Pro/dkim-exchange/raw/1ef73d29a9e50b5b88eb7bb01da80174c6e76ea9/Src/Exchange.DkimSigner/bin/Exchange%202010%20SP2/ExchangeDkimSigner.dll
v1.6.0 https://github.com/Pro/dkim-exchange/raw/v1.6.0/Src/Exchange.DkimSigner/bin/Exchange%202010%20SP2/ExchangeDkimSigner.dll
v1.5.2 https://github.com/Pro/dkim-exchange/raw/v1.5.2/Src/Exchange.DkimSigner/bin/Exchange%202010%20SP2/ExchangeDkimSigner.dll

Please post all the errors you get.

<!-- gh-comment-id:37357963 --> @Pro commented on GitHub (Mar 11, 2014): If you get any error, post it here, then try again the same steps with these .dlls: (these are different build versions all for Ex 2010 SP2) **v1.7.0** (before switching build process): https://github.com/Pro/dkim-exchange/raw/1ef73d29a9e50b5b88eb7bb01da80174c6e76ea9/Src/Exchange.DkimSigner/bin/Exchange%202010%20SP2/ExchangeDkimSigner.dll **v1.6.0** https://github.com/Pro/dkim-exchange/raw/v1.6.0/Src/Exchange.DkimSigner/bin/Exchange%202010%20SP2/ExchangeDkimSigner.dll **v1.5.2** https://github.com/Pro/dkim-exchange/raw/v1.5.2/Src/Exchange.DkimSigner/bin/Exchange%202010%20SP2/ExchangeDkimSigner.dll Please post all the errors you get.
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

I will try other versions but first try give me this

[PS] C:\dkim>Install-TransportAgent -Name "Exchange DkimSigner" -TransportAgentFactory "Exchange.DkimSigner.DkimSigningR
outingAgentFactory" -AssemblyPath "C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll"
Could not load file or assembly 'file:///C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll' or one of its dep
endencies. The module was expected to contain an assembly manifest.
+ CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException
+ FullyQualifiedErrorId : 3ADC3419,Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent

<!-- gh-comment-id:37359551 --> @networkthinking commented on GitHub (Mar 11, 2014): I will try other versions but first try give me this [PS] C:\dkim>Install-TransportAgent -Name "Exchange DkimSigner" -TransportAgentFactory "Exchange.DkimSigner.DkimSigningR outingAgentFactory" -AssemblyPath "C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll" Could not load file or assembly 'file:///C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll' or one of its dep endencies. The module was expected to contain an assembly manifest. + CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException + FullyQualifiedErrorId : 3ADC3419,Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

1.52

[PS] C:\dkim>Install-TransportAgent -Name "Exchange DkimSigner" -TransportAgentFactory "Exchange.DkimSigner.DkimSigningR
outingAgentFactory" -AssemblyPath "C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll"
Could not load file or assembly 'file:///C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll' or one of its dep
endencies. The module was expected to contain an assembly manifest.
+ CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException
+ FullyQualifiedErrorId : 3ADC3419,Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent

[PS] C:\dkim>

<!-- gh-comment-id:37359726 --> @networkthinking commented on GitHub (Mar 11, 2014): 1.52 [PS] C:\dkim>Install-TransportAgent -Name "Exchange DkimSigner" -TransportAgentFactory "Exchange.DkimSigner.DkimSigningR outingAgentFactory" -AssemblyPath "C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll" Could not load file or assembly 'file:///C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll' or one of its dep endencies. The module was expected to contain an assembly manifest. + CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException + FullyQualifiedErrorId : 3ADC3419,Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent [PS] C:\dkim>
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

1.60

[PS] C:\dkim>Install-TransportAgent -Name "Exchange DkimSigner" -TransportAgentFactory "Exchange.DkimSigner.DkimSigningR
outingAgentFactory" -AssemblyPath "C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll"
Could not load file or assembly 'file:///C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll' or one of its dep
endencies. The module was expected to contain an assembly manifest.
+ CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException
+ FullyQualifiedErrorId : 3ADC3419,Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent

<!-- gh-comment-id:37359839 --> @networkthinking commented on GitHub (Mar 11, 2014): 1.60 [PS] C:\dkim>Install-TransportAgent -Name "Exchange DkimSigner" -TransportAgentFactory "Exchange.DkimSigner.DkimSigningR outingAgentFactory" -AssemblyPath "C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll" Could not load file or assembly 'file:///C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll' or one of its dep endencies. The module was expected to contain an assembly manifest. + CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException + FullyQualifiedErrorId : 3ADC3419,Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent
Author
Owner

@networkthinking commented on GitHub (Mar 11, 2014):

1.7

[PS] C:\dkim>Install-TransportAgent -Name "Exchange DkimSigner" -TransportAgentFactory "Exchange.DkimSigner.DkimSigningR
outingAgentFactory" -AssemblyPath "C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll"
Could not load file or assembly 'file:///C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll' or one of its dep
endencies. The module was expected to contain an assembly manifest.
+ CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException
+ FullyQualifiedErrorId : 3ADC3419,Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent

<!-- gh-comment-id:37359972 --> @networkthinking commented on GitHub (Mar 11, 2014): 1.7 [PS] C:\dkim>Install-TransportAgent -Name "Exchange DkimSigner" -TransportAgentFactory "Exchange.DkimSigner.DkimSigningR outingAgentFactory" -AssemblyPath "C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll" Could not load file or assembly 'file:///C:\Program Files\Exchange DkimSigner\ExchangeDkimSigner.dll' or one of its dep endencies. The module was expected to contain an assembly manifest. + CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException + FullyQualifiedErrorId : 3ADC3419,Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent
Author
Owner

@Pro commented on GitHub (Mar 11, 2014):

Ok, this is very strange. Those versions definitely worked on Exchange 2010 SP2 (at least without any Update Rollup)! Can you try to read out the manifest using the ildasm tool on your server as described above.

Can you install Exchange 2010 SP3 on your server. Then we can test with the same exchange version which i've installed.

<!-- gh-comment-id:37360159 --> @Pro commented on GitHub (Mar 11, 2014): Ok, this is very strange. Those versions definitely worked on Exchange 2010 SP2 (at least without any Update Rollup)! Can you try to read out the manifest using the `ildasm` tool on your server as described above. Can you install Exchange 2010 SP3 on your server. Then we can test with the same exchange version which i've installed.
Author
Owner

@Pro commented on GitHub (Mar 12, 2014):

@networkthinking A wonder happened. I ran into the same problem today (got the same Exception).
I fixed it by restarting the WWW-Publishing Service (which is responsible for the execution of the Install-TransportAgent command).
In your Exchange Management Shell type in the following commands:

net stop W3SVC
net start W3SVC

Then use the install script to install the agent.

If this doesn't help, try to reboot the server.
Please let me know if this helps!

<!-- gh-comment-id:37448345 --> @Pro commented on GitHub (Mar 12, 2014): @networkthinking A wonder happened. I ran into the same problem today (got the same Exception). I fixed it by restarting the `WWW-Publishing Service` (which is responsible for the execution of the `Install-TransportAgent` command). In your Exchange Management Shell type in the following commands: ``` net stop W3SVC net start W3SVC ``` Then use the install script to install the agent. If this doesn't help, try to reboot the server. Please let me know if this helps!
Author
Owner

@networkthinking commented on GitHub (Mar 13, 2014):

Let me try that tonight. Thanks for tip!

<!-- gh-comment-id:37581748 --> @networkthinking commented on GitHub (Mar 13, 2014): Let me try that tonight. Thanks for tip!
Author
Owner

@networkthinking commented on GitHub (Mar 16, 2014):

Restarted W3SVC, removed all DKIM and started from scratch with new download today. I also changed from having the key in C:\dkim to a subdirectory under the install directory and called it "keys".

Works perfect now. Thanks for help everyone!

<!-- gh-comment-id:37771302 --> @networkthinking commented on GitHub (Mar 16, 2014): Restarted W3SVC, removed all DKIM and started from scratch with new download today. I also changed from having the key in C:\dkim to a subdirectory under the install directory and called it "keys". Works perfect now. Thanks for help everyone!
Author
Owner

@Pro commented on GitHub (Mar 16, 2014):

Nice, thanks for your feedback!

<!-- gh-comment-id:37772219 --> @Pro commented on GitHub (Mar 16, 2014): Nice, thanks for your feedback!
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#12
No description provided.