HighTechTalks DotNet Forums  

ServicedComponents doesn't install

Dotnet Framework (Component Services) microsoft.public.dotnet.framework.component_services


Discuss ServicedComponents doesn't install in the Dotnet Framework (Component Services) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
M.Sameer
 
Posts: n/a

Default 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




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.