Solved

CRM 4.0 error when changing adresses

Posted on 2008-06-11
8
713 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

22 Experts available now in Live!

Get 1:1 Help Now