G
Guest
I have a remoting application that was developed on a Windows XP SP2 machine
with VS2005 SP1. I finally got everything deployed using Wix 3.0, and it
works great. Problem is, when I install the msi on a W23 server SP2, I get
the following error:
System.Runtime.Remoting.RemotingException: Remoting configuration failed
with the exception 'System.Reflection.TargetInvocationException: Exception
has been thrown by the target of an invocation. --->
System.IO.FileNotFoundException: The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
at
Ems.Cloud.Common.Security.SecurityClientChannelSinkProvider..ctor(IDictionary
properties, ICollection providerData)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args,
SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args,
SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder
binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes)
at
System.Runtime.Remoting.RemotingConfigHandler.CreateChannelSinkProvider(SinkProviderEntry entry, Boolean bServer)
at
System.Runtime.Remoting.RemotingConfigHandler.CreateClientChannelSinkProviderChain(ArrayList entries)
at
System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(ChannelEntry entry)
at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlConfigFileData configData, Boolean ensureSecurity)
at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)'.
at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)
at System.Runtime.Remoting.RemotingConfigHandler.DoConfiguration(String
filename, Boolean ensureSecurity)
at System.Runtime.Remoting.RemotingConfiguration.Configure(String
filename, Boolean ensureSecurity)
at Ems.Cloud.LoggingServer.RegisterRemoteObjects()
at Ems.Cloud.RemotingServer.DoStart()
The application is deployed into C:\Program Files\Ems\Cloud. This is where
the Ems.Cloud.Server.exe, Ems.Cloud.Server.exe.config, & Ems.Cloud.Common.dll
files are stored, but the error states that Ems.Cloud.Common.dll is NotFound,
and only on Windows Server 2003... Why? I'm out of ideas. Here is my config
file...
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="protectedSettings"
type="Ems.Cloud.Configuration.ProtectedSettings, Ems.Cloud.Configuration,
Version=1.0.0.0,Culture=neutral, PublicKeyToken=bd1505632153fa83" />
</configSections>
<system.diagnostics>
<trace autoflush="true" indentsize="2">
<listeners>
<remove name="Default"/>
<add name="EventLogListener"
type="System.Diagnostics.EventLogTraceListener"
initializeData="EmsCloudDebugging" traceOutputOptions="DateTime" />
</listeners>
</trace>
<switches>
<add name="DebugMode" value="1" />
</switches>
</system.diagnostics>
<system.runtime.remoting>
<customErrors mode="off" />
<!--Application Domain provided for EMS Remote Objects, only one
application node allowed-->
<application name="EmsCloudServer">
<service>
<!--Remote-Objects provided within this Application Domain-->
<!--type="Namespace + ClassName, ProjectAssemblyName"-->
<wellknown mode="SingleCall" type="Ems.Cloud.DefaultBase,
Ems.Cloud.Logging" objectUri="LoggingClient" />
</service>
<service>
<wellknown mode="SingleCall" type="Ems.Cloud.PciData,
Ems.Cloud.PciData" objectUri="PciData" />
</service>
<channels>
<!--tcp Channel Provided for access to Remote-Objects-->
<channel ref="tcp" port="5010">
<clientProviders>
<!--When acting as a client, the formatter nodes MUST be listed
before the provider node-->
<!--The formatter must be set to 'typeFilterLevel="Full"' or
you'll get Security Exceptions when passing objects-->
<formatter ref="binary" typeFilterLevel="Full" />
<!--Custom EMS Channel Sink that provides integrated AD
Security-->
<!--securityPackage(NTLM, kerberos, negotiate)
impersonationLevel(identify, impersonate, delegate)-->
<!--authenticationLevel(call-nothing, packetIntegrity-signing,
packetPrivacy-encryption-->
<provider
type="Ems.Cloud.Common.Security.SecurityClientChannelSinkProvider,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" securityPackage="negotiate"
impersonationLevel="delegate" authenticationLevel="packetPrivacy"
authenticationHandler="Ems.Cloud.Common.Security.AuthenticationHandler,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" />
</clientProviders>
<serverProviders>
<!--Custom EMS Channel Sink that provides integrated AD
Security-->
<!--securityPackage(NTLM, kerberos, negotiate)
impersonationLevel(identify, impersonate, delegate)-->
<!--authenticationLevel(call-nothing, packetIntegrity-signing,
packetPrivacy-encryption-->
<provider
type="Ems.Cloud.Common.Security.SecurityServerChannelSinkProvider,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" securityPackage="negotiate"
impersonationLevel="delegate" authenticationLevel="packetPrivacy"
authenticationHandler="Ems.Cloud.Common.Security.AuthenticationHandler,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" />
<!--On the server-side formatter nodes MUST be listed after the
provider node-->
<!--The formatter must be set to 'typeFilterLevel="Full"' or
you'll get Security Exceptions when passing objects-->
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
<!--http channel provided for Web/ASP based applications-->
<channel ref="http" port="6010">
<clientProviders>
<!--On the server-side formatter nodes MUST be listed after the
provider node-->
<formatter ref="binary" typeFilterLevel="Full" />
<formatter ref="soap" typeFilterLevel="Full" />
<!--Custom EMS Channel Sink that provides integrated AD
Security-->
<provider
type="Ems.Cloud.Common.Security.SecurityClientChannelSinkProvider,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" securityPackage="negotiate"
impersonationLevel="delegate" authenticationLevel="packetPrivacy"
authenticationHandler="Ems.Cloud.Common.Security.AuthenticationHandler,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" />
</clientProviders>
<serverProviders>
<!--Custom EMS Channel Sink that provides integrated AD
Security-->
<provider
type="Ems.Cloud.Common.Security.SecurityServerChannelSinkProvider,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" securityPackage="negotiate"
impersonationLevel="delegate" authenticationLevel="packetPrivacy"
authenticationHandler="Ems.Cloud.Common.Security.AuthenticationHandler,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" />
<!--On the server-side formatter nodes MUST be listed after the
provider node-->
<formatter ref="soap" typeFilterLevel="Full" />
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="Interfaces;Business Logic" />
</assemblyBinding>
</runtime>
</configuration>
with VS2005 SP1. I finally got everything deployed using Wix 3.0, and it
works great. Problem is, when I install the msi on a W23 server SP2, I get
the following error:
System.Runtime.Remoting.RemotingException: Remoting configuration failed
with the exception 'System.Reflection.TargetInvocationException: Exception
has been thrown by the target of an invocation. --->
System.IO.FileNotFoundException: The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
at
Ems.Cloud.Common.Security.SecurityClientChannelSinkProvider..ctor(IDictionary
properties, ICollection providerData)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args,
SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args,
SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder
binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes)
at
System.Runtime.Remoting.RemotingConfigHandler.CreateChannelSinkProvider(SinkProviderEntry entry, Boolean bServer)
at
System.Runtime.Remoting.RemotingConfigHandler.CreateClientChannelSinkProviderChain(ArrayList entries)
at
System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(ChannelEntry entry)
at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlConfigFileData configData, Boolean ensureSecurity)
at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)'.
at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)
at System.Runtime.Remoting.RemotingConfigHandler.DoConfiguration(String
filename, Boolean ensureSecurity)
at System.Runtime.Remoting.RemotingConfiguration.Configure(String
filename, Boolean ensureSecurity)
at Ems.Cloud.LoggingServer.RegisterRemoteObjects()
at Ems.Cloud.RemotingServer.DoStart()
The application is deployed into C:\Program Files\Ems\Cloud. This is where
the Ems.Cloud.Server.exe, Ems.Cloud.Server.exe.config, & Ems.Cloud.Common.dll
files are stored, but the error states that Ems.Cloud.Common.dll is NotFound,
and only on Windows Server 2003... Why? I'm out of ideas. Here is my config
file...
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="protectedSettings"
type="Ems.Cloud.Configuration.ProtectedSettings, Ems.Cloud.Configuration,
Version=1.0.0.0,Culture=neutral, PublicKeyToken=bd1505632153fa83" />
</configSections>
<system.diagnostics>
<trace autoflush="true" indentsize="2">
<listeners>
<remove name="Default"/>
<add name="EventLogListener"
type="System.Diagnostics.EventLogTraceListener"
initializeData="EmsCloudDebugging" traceOutputOptions="DateTime" />
</listeners>
</trace>
<switches>
<add name="DebugMode" value="1" />
</switches>
</system.diagnostics>
<system.runtime.remoting>
<customErrors mode="off" />
<!--Application Domain provided for EMS Remote Objects, only one
application node allowed-->
<application name="EmsCloudServer">
<service>
<!--Remote-Objects provided within this Application Domain-->
<!--type="Namespace + ClassName, ProjectAssemblyName"-->
<wellknown mode="SingleCall" type="Ems.Cloud.DefaultBase,
Ems.Cloud.Logging" objectUri="LoggingClient" />
</service>
<service>
<wellknown mode="SingleCall" type="Ems.Cloud.PciData,
Ems.Cloud.PciData" objectUri="PciData" />
</service>
<channels>
<!--tcp Channel Provided for access to Remote-Objects-->
<channel ref="tcp" port="5010">
<clientProviders>
<!--When acting as a client, the formatter nodes MUST be listed
before the provider node-->
<!--The formatter must be set to 'typeFilterLevel="Full"' or
you'll get Security Exceptions when passing objects-->
<formatter ref="binary" typeFilterLevel="Full" />
<!--Custom EMS Channel Sink that provides integrated AD
Security-->
<!--securityPackage(NTLM, kerberos, negotiate)
impersonationLevel(identify, impersonate, delegate)-->
<!--authenticationLevel(call-nothing, packetIntegrity-signing,
packetPrivacy-encryption-->
<provider
type="Ems.Cloud.Common.Security.SecurityClientChannelSinkProvider,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" securityPackage="negotiate"
impersonationLevel="delegate" authenticationLevel="packetPrivacy"
authenticationHandler="Ems.Cloud.Common.Security.AuthenticationHandler,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" />
</clientProviders>
<serverProviders>
<!--Custom EMS Channel Sink that provides integrated AD
Security-->
<!--securityPackage(NTLM, kerberos, negotiate)
impersonationLevel(identify, impersonate, delegate)-->
<!--authenticationLevel(call-nothing, packetIntegrity-signing,
packetPrivacy-encryption-->
<provider
type="Ems.Cloud.Common.Security.SecurityServerChannelSinkProvider,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" securityPackage="negotiate"
impersonationLevel="delegate" authenticationLevel="packetPrivacy"
authenticationHandler="Ems.Cloud.Common.Security.AuthenticationHandler,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" />
<!--On the server-side formatter nodes MUST be listed after the
provider node-->
<!--The formatter must be set to 'typeFilterLevel="Full"' or
you'll get Security Exceptions when passing objects-->
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
<!--http channel provided for Web/ASP based applications-->
<channel ref="http" port="6010">
<clientProviders>
<!--On the server-side formatter nodes MUST be listed after the
provider node-->
<formatter ref="binary" typeFilterLevel="Full" />
<formatter ref="soap" typeFilterLevel="Full" />
<!--Custom EMS Channel Sink that provides integrated AD
Security-->
<provider
type="Ems.Cloud.Common.Security.SecurityClientChannelSinkProvider,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" securityPackage="negotiate"
impersonationLevel="delegate" authenticationLevel="packetPrivacy"
authenticationHandler="Ems.Cloud.Common.Security.AuthenticationHandler,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" />
</clientProviders>
<serverProviders>
<!--Custom EMS Channel Sink that provides integrated AD
Security-->
<provider
type="Ems.Cloud.Common.Security.SecurityServerChannelSinkProvider,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" securityPackage="negotiate"
impersonationLevel="delegate" authenticationLevel="packetPrivacy"
authenticationHandler="Ems.Cloud.Common.Security.AuthenticationHandler,
Ems.Cloud.Common, Version=1.0.1.5, Culture=neutral,
PublicKeyToken=bd1505632153fa83" />
<!--On the server-side formatter nodes MUST be listed after the
provider node-->
<formatter ref="soap" typeFilterLevel="Full" />
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="Interfaces;Business Logic" />
</assemblyBinding>
</runtime>
</configuration>