Solved

CRM 4.0 error when changing adresses

Posted on 2008-06-11
8
710 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
  • 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
 
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now