Solved

CRM 4.0 error when changing adresses

Posted on 2008-06-11
8
721 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 500 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 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