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

Preguntas similare

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
Respuesta Responder a este mensaje
#2 Kr1x
07/01/2009 - 12:41 | Informe spam
Ok lo comprobé y era eso. Muchas gracias...aunk después me ha
surgido el siguiente problema al intentar Activarla :

Error al crear objeto receptor de característica desde el ensamblado
"EMIT.DocParaClientes.Portal, Version=1.0.0.0, Culture=neutral,
PublicKeyToken299434c6060c4f", tipo
"EMIT.DocParaClientes.Portal.Receivers.CsJobInstaller" para la
característica b5cf5c33-8178-4cb0-99dc-e14aa04d1c05:
System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at
Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject
() 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)
email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaRespuesta Tengo una respuesta
Search Busqueda sugerida