?
Solved

CRM 4.0 error when changing adresses

Posted on 2008-06-11
8
Medium Priority
?
727 Views
Last Modified: 2010-04-21
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
Comment
Question by:socom1985
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 1

Author Comment

by:socom1985
ID: 21759330
CrmException: Public assembly must have public key token
is in the Tracefile...
0
 
LVL 1

Author Comment

by:socom1985
ID: 21759423
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
 
LVL 9

Expert Comment

by:Biffster007
ID: 21764128
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
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
LVL 1

Author Comment

by:socom1985
ID: 21766523
yes it worked with addresses. Yes I removed all the assembly files and made an IISRESET
0
 
LVL 9

Accepted Solution

by:
Biffster007 earned 2000 total points
ID: 21773621
And you removed the plugin registration???
0
 
LVL 1

Author Comment

by:socom1985
ID: 21776395
Yes. I removed everything that had to do with the plugin...
0
 
LVL 9

Expert Comment

by:Biffster007
ID: 21789772
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
 
LVL 1

Author Closing Comment

by:socom1985
ID: 31466105
Some parts where not unregistered. you were right. It works now.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month10 days, 9 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question