ServicedComponents doesn't install -
11-28-2004
, 04:38 AM
Hi everyone,
I get the an error when trying to install a library containing 2
ServicedComponents into the Windows Component Services. The message said the
details is in the event log and here it is
Installation of 'N:\Judi.Models.Servers.dll' into
'{93D2B6B8-16D1-4EBD-861B-5FA70431F5F3}' failed with an exception:
System.IO.FileLoadException: The located assembly's manifest definition with
name 'Judi.CommonRTL' does not match the assembly reference.
File name: "Judi.CommonRTL"
Server stack trace:
at System.Reflection.RuntimeMethodInfo.InternalGetRet urnType()
at System.Reflection.RuntimeMethodInfo.get_ReturnType ()
at
System.EnterpriseServices.ServicedComponentInfo.Is ExecuteMessageValid2(MemberInfo
m)
at System.EnterpriseServices.ServicedComponentInfo.MI CachedLookup(MemberInfo
m)
at
System.EnterpriseServices.RegistrationDriver.Check AssemblySCValidity(Assembly
asm)
at System.EnterpriseServices.RegistrationDriver.NewLo adAssembly(String
assembly)
at
System.EnterpriseServices.RegistrationDriver.Insta llAssembly(RegistrationConfig
regConfig, Object obSync)
at
System.EnterpriseServices.RegistrationHelperTx.Ins tallAssemblyFromConfig(RegistrationConfig&
regConfig, Object sync)
at System.Runtime.Remoting.Messaging.Message.Dispatch (Object target, Boolean
fExecuteInContext)
at
System.Runtime.Remoting.Messaging.StackBuilderSink .SyncProcessMessage(IMessage
msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage
reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData&
msgData, Int32 type)
at
System.EnterpriseServices.RegistrationHelperTx.Ins tallAssemblyFromConfig(RegistrationConfig&
regConfig, Object sync)
at
System.EnterpriseServices.RegistrationHelper.TryTr ansactedInstall(RegistrationConfig
regConfig)
at
System.EnterpriseServices.RegistrationHelper.Insta llAssemblyFromConfig(RegistrationConfig&
regConfig)
at System.EnterpriseServices.RegistrationHelper.Insta llAssembly(String
assembly, String& application, String partition, String& tlb,
InstallationFlags installFlags)
at
System.EnterpriseServices.Internal.ComManagedImpor tUtil.InstallAssembly(String
asmpath, String parname, String appname)
=== Pre-bind state information ===
LOG: DisplayName = Judi.CommonRTL, Version=1.0.0.1, Culture=neutral,
PublicKeyToken=8810640f00000000
(Fully-specified)
LOG: Appbase = C:\WINDOWS\System32\
LOG: Initial PrivatePath = NULL
Calling assembly : Judi.Models.Servers, Version=1.0.0.1, Culture=neutral,
PublicKeyToken=6d8ee6531328fec1.
===
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\confi g\machine.config.
LOG: Post-policy reference: Judi.CommonRTL, Version=1.0.0.1,
Culture=neutral, PublicKeyToken=8810640f00000000
LOG: Attempting download of new URL
file:///C:/WINDOWS/System32/Judi.CommonRTL.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/System32/Judi.CommonRTL/Judi.CommonRTL.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/System32/Judi.CommonRTL.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/System32/Judi.CommonRTL/Judi.CommonRTL.EXE.
LOG: Attempting download of new URL file:///n:/Judi.CommonRTL.DLL.
WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN
I'm using Delphi 8, WinXP SP2, both Judi.CommonRTL and Judi.Models.Servers
are strongly named and installed in the GAC.
Do anyone know the cause of this problem and how to solve it?
TIA,
M.Sameer |