[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 735
  • Last Modified:

CRM 4.0 error when changing adresses

I installed crm 4.0 and everything worked fine. Our developer made some pluging and now I get an error when i want to change adresses. He sayed that he unregistered everything and so on. I also tryied to set up trace with the diagnostics tool but it doesn't generate any logfiles in the directory. Anyone got an idea how to fix this?
0
socom1985
Asked:
socom1985
  • 5
  • 3
1 Solution
 
socom1985Author Commented:
CrmException: Public assembly must have public key token
is in the Tracefile...
0
 
socom1985Author Commented:
2008-06-11 14:26:37.0] Process: w3wp |Organization:1df31833-4a34-4567-a854-e04da9ed04c4 |Thread:    1 |Category: Platform.Sdk |User: f0705f92-76c0-44cd-adfd-f8b91cfb9c1a |Level: Info | CrmCache`1.AddEntryWithExactKey
      at CrmCache`1.AddEntryWithExactKey(String exactCacheKey, Object value, CacheDependency parent, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority itemPriority)
      at CrmCache`1.InternalAddEntry(String cacheKey, Object value, String[] dependencyKeys)
      at CrmCache`1.AddEntryNoLock(String key, TValue value, String[] dependencyKeys)
      at CrmSharedMultiOrgCache`2.AddEntryCallback(String key, TValue value, Object parameter)
      at CrmSharedMultiOrgCache`2.AddEntryFromLookupCallback(String key, TValue value, Object parameter)
      at CrmCache`1.AddEntry(String key, TValue value, AddEntryCallback callback, Object callbackParameter)
      at CrmSharedMultiOrgCache`2.AddEntryFromLookup(String key, TValue value)
      at CrmSharedMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)
      at PluginTypeCache.LookupEntry(Guid pluginTypeId, IOrganizationContext context)
      at PluginStep..ctor(Guid stepId, StepDescriptionCache stepDescriptionCache, SecureConfigurationCache stepSecureConfigurationCache, StepImageDescriptionCache stepImageDescriptionCache, CrmEventLog eventLog, IOrganizationContext context)
      at PipelineStepFactory.CreateInstance(Guid stepId, IOrganizationContext context)
      at PipelineStepCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
      at ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
      at CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)
      at CrmSharedMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)
      at ImageRetrievalStep.MergeEntityRequests(PipelineExecutionContext context, Dictionary`2 entityRequests)
      at ImageRetrievalStep.Execute(PipelineExecutionContext context)
      at Pipeline.Execute(PipelineExecutionContext context)
      at MessageProcessor.Execute(PipelineExecutionContext context)
      at InternalMessageDispatcher.Execute(PipelineExecutionContext context)
      at ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
      at RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
      at RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
      at CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
      at InProcessCrmService.Execute(Object request)
      at PlatformCommand.ExecuteInternal()
      at UpdateCommand.Execute()
      at EntityProxy.Update(Boolean performDuplicateCheck)
      at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck)
      at AppForm.RaiseDataEvent(FormEventId eventId)
      at EndUserForm.Initialize(Entity entity)
      at CustomizableForm.Execute(Entity entity, String formType)
      at AccountDetailPage.ConfigureForm()
      at AppUIPage.OnPreRender(EventArgs e)
      at Control.PreRenderRecursiveInternal()
      at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      at Page.ProcessRequest()
      at Page.ProcessRequest(HttpContext context)
      at europa3000_sfa_accts_edit_aspx.ProcessRequest(HttpContext context)
      at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
      at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
      at ApplicationStepManager.ResumeSteps(Exception error)
      at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
      at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
      at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
      at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>Cache item with key PluginTypeCache{1df31833-4a34-4567-a854-e04da9ed04c4}084c9f8f-78cd-dc11-8187-00187186ff8e was added to cache PluginTypeCache
[2008-06-11 14:26:37.6] Process: w3wp |Organization:1df31833-4a34-4567-a854-e04da9ed04c4 |Thread:    1 |Category: Exception |User: f0705f92-76c0-44cd-adfd-f8b91cfb9c1a |Level: Error | CrmException..ctor
      at CrmException..ctor(Int32 errorCode, Object[] arguments)
      at PluginAssemblyFactory.VerifyPublicKeyToken(Assembly assembly)
      at PluginStep..ctor(Guid stepId, StepDescriptionCache stepDescriptionCache, SecureConfigurationCache stepSecureConfigurationCache, StepImageDescriptionCache stepImageDescriptionCache, CrmEventLog eventLog, IOrganizationContext context)
      at PipelineStepFactory.CreateInstance(Guid stepId, IOrganizationContext context)
      at PipelineStepCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
      at ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
      at CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)
      at CrmSharedMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)
      at ImageRetrievalStep.MergeEntityRequests(PipelineExecutionContext context, Dictionary`2 entityRequests)
      at ImageRetrievalStep.Execute(PipelineExecutionContext context)
      at Pipeline.Execute(PipelineExecutionContext context)
      at MessageProcessor.Execute(PipelineExecutionContext context)
      at InternalMessageDispatcher.Execute(PipelineExecutionContext context)
      at ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
      at RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
      at RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
      at CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
      at InProcessCrmService.Execute(Object request)
      at PlatformCommand.ExecuteInternal()
      at UpdateCommand.Execute()
      at EntityProxy.Update(Boolean performDuplicateCheck)
      at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck)
      at AppForm.RaiseDataEvent(FormEventId eventId)
      at EndUserForm.Initialize(Entity entity)
      at CustomizableForm.Execute(Entity entity, String formType)
      at AccountDetailPage.ConfigureForm()
      at AppUIPage.OnPreRender(EventArgs e)
      at Control.PreRenderRecursiveInternal()
      at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      at Page.ProcessRequest()
      at Page.ProcessRequest(HttpContext context)
      at europa3000_sfa_accts_edit_aspx.ProcessRequest(HttpContext context)
      at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
      at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
      at ApplicationStepManager.ResumeSteps(Exception error)
      at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
      at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
      at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
      at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>Crm Exception: Message: Public assembly must have public key token., ErrorCode: -2147204756
0
 
Biffster007Commented:
Hi,

Did his plugin work with addresses or was it working with another entity??

Have you performed an IISRESET and removed the DLL's from the server or was it a database deploy??

MH
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
socom1985Author Commented:
yes it worked with addresses. Yes I removed all the assembly files and made an IISRESET
0
 
Biffster007Commented:
And you removed the plugin registration???
0
 
socom1985Author Commented:
Yes. I removed everything that had to do with the plugin...
0
 
Biffster007Commented:
Hmmmm....

Strange one that this is happening even after the Plugin's been unregistered!!!

I'm not too sure sorry.  I'll have a look around and see if I can come up with something.

MH
0
 
socom1985Author Commented:
Some parts where not unregistered. you were right. It works now.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now