ERROR al activar Featured

22/12/2008 - 12:31 por Kr1x | Informe spam
Hola,

Tengo el siguiente problema al activar una Feature de un job, a ver si
alguién me puede decir algo !!!


No se pudo instalar la característica 'ca213ed0-3898-4136-83ee-
ed86bc481c5e', error al cargar ensamblado del receptor de eventos
"EMIT.DocumentacionClientes.Portal, Version=1.0.0.0, Culture=neutral,
PublicKeyToken22e834c9c493f3b": System.IO.FileNotFoundException:
Could not load file or assembly 'EMIT.DocumentacionClientes.Portal,
Version=1.0.0.0, Culture=neutral, PublicKeyToken22e834c9c493f3b' or
one of its dependencies. The system cannot find the file specified.
File name: 'EMIT.DocumentacionClientes.Portal, Version=1.0.0.0,
Culture=neutral, PublicKeyToken22e834c9c493f3b'
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName
assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark,
Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at
Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject
()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM
\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value [HKLM\Software
\Microsoft\Fusion!EnableLog].
at
Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject
()
at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean
fActivate, Boolean fForce)
at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb
webParent, SPFeaturePropertyCollection props, Boolean fForce)
at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid
featureId, SPFeaturePropertyCollection properties, Boolean force,
Boolean fMarkOnly)
at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId)
at
Microsoft.SharePoint.WebControls.FeatureActivator.BtnActivateFeature_Click
(Object objSender, EventArgs evtargs)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument)
at
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent
(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection
postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

y la Feature :

<?xml version="1.0" encoding="utf-8" ?>
<Feature Id="{CA213ED0-3898-4136-83EE-ED86BC481C5E}"

Title="$Resources:EMIT.DocumentacionClientes.Portal.Resources,Feature_TimerJob_Titulo;"

Description="$Resources:EMIT.DocumentacionClientes.Portal.Resources,Feature_TimerJob_Descripcion;"
Version="1.0.0.0"
Scope="Site"
Hidden="FALSE"
ActivateOnDefault="False"
ReceiverAssembly = "EMIT.DocumentacionClientes.Portal,
Version=1.0.0.0, Culture=neutral, PublicKeyToken22e834c9c493f3b"
ReceiverClass
="EMIT.DocumentacionClientes.Portal.Code.Receivers.CsJobInstaller"
xmlns="http://schemas.microsoft.com/sharepoint/"
SolutionId="4a7905c2-01bd-4522-9572-5c9c4869c17d"





</Feature>



Saludos y muchas gracias
 

Leer las respuestas

#1 David Martos
23/12/2008 - 23:28 | Informe spam
Hola,

por lo que comentas parece ser que la DLL con strong name
EMIT.DocumentacionClientes.Portal, Version=1.0.0.0, Culture=neutral,
PublicKeyToken22e834c9c493f3b no está instalada en el GAC del servidor. O
esa, o cualquier otra DLL que esté referenciada por esta. Puedes utilizar
varias herramientas para ver las referencias que tiene tu DLL (yo suelo
utilizar Reflector) aunque si el código es tuyo lo sabrás sin tenerlo que
mirar.

Saludos,
David Martos
http://david-martos.blogspot.com

"Kr1x" wrote in message
news:
Hola,

Tengo el siguiente problema al activar una Feature de un job, a ver si
alguién me puede decir algo !!!


No se pudo instalar la característica 'ca213ed0-3898-4136-83ee-
ed86bc481c5e', error al cargar ensamblado del receptor de eventos
"EMIT.DocumentacionClientes.Portal, Version=1.0.0.0, Culture=neutral,
PublicKeyToken22e834c9c493f3b": System.IO.FileNotFoundException:
Could not load file or assembly 'EMIT.DocumentacionClientes.Portal,
Version=1.0.0.0, Culture=neutral, PublicKeyToken22e834c9c493f3b' or
one of its dependencies. The system cannot find the file specified.
File name: 'EMIT.DocumentacionClientes.Portal, Version=1.0.0.0,
Culture=neutral, PublicKeyToken22e834c9c493f3b'
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName
assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark,
Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at
Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject
()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM
\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value [HKLM\Software
\Microsoft\Fusion!EnableLog].
at
Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject
()
at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean
fActivate, Boolean fForce)
at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb
webParent, SPFeaturePropertyCollection props, Boolean fForce)
at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid
featureId, SPFeaturePropertyCollection properties, Boolean force,
Boolean fMarkOnly)
at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId)
at
Microsoft.SharePoint.WebControls.FeatureActivator.BtnActivateFeature_Click
(Object objSender, EventArgs evtargs)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument)
at
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent
(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection
postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

y la Feature :

<?xml version="1.0" encoding="utf-8" ?>
<Feature Id="{CA213ED0-3898-4136-83EE-ED86BC481C5E}"

Title="$Resources:EMIT.DocumentacionClientes.Portal.Resources,Feature_TimerJob_Titulo;"

Description="$Resources:EMIT.DocumentacionClientes.Portal.Resources,Feature_TimerJob_Descripcion;"
Version="1.0.0.0"
Scope="Site"
Hidden="FALSE"
ActivateOnDefault="False"
ReceiverAssembly = "EMIT.DocumentacionClientes.Portal,
Version=1.0.0.0, Culture=neutral, PublicKeyToken22e834c9c493f3b"
ReceiverClass
="EMIT.DocumentacionClientes.Portal.Code.Receivers.CsJobInstaller"
xmlns="http://schemas.microsoft.com/sharepoint/"
SolutionId="4a7905c2-01bd-4522-9572-5c9c4869c17d"




</Feature>



Saludos y muchas gracias

Preguntas similares