locked
Cannot open Service Activities RRS feed

  • Question

  • When opening an existing service we get the following message:
    MS CRM 4.0 error: the requested record was not found or you do not have sufficient permissions to view it.

    I have searched everywhere only to find that it might be related to Update Rollup 3 if you are using Bulgarian settings?  Which we are not, we are using English.

    Any help would be appreciated.
    Friday, February 26, 2010 8:12 AM

Answers

  • We resolved the problem...

    Apparently, there was a reference in the ResourceGroupBase table to a team that was not existing anymore.
    • Marked as answer by watdawg Friday, February 26, 2010 7:50 PM
    Friday, February 26, 2010 7:50 PM

All replies

  • It could be as simple as that user not having the security rights to view service cases. Check your secuiryt settings...

    John.
    Friday, February 26, 2010 2:20 PM
  • We have tested this with new service activities and as system administrator with all rights.  It happens no matter what when a service activity is opened.
    Friday, February 26, 2010 7:08 PM
  • We have tested this with new service activities and as system administrator with all rights.  It happens no matter what when a service activity is opened.

    I turned on Tracing and the relevant information I can find is here:

    "

    Error Number: 0x80040217

    Error Message: Pointer record exists but referenced record of type 9 not found: a6076ed2-3dd0-dd11-bc72-0003ffe36666

    Error Details: Pointer record exists but referenced record of type 9 not found: a6076ed2-3dd0-dd11-bc72-0003ffe36666

    Source File: Not available

    Line Number: Not available

    Request URL: http://crm/companyCRM/AppWebServices/ResourceSpecTree.asmx

    Stack Trace Info: [CrmObjectNotFoundException: Pointer record exists but referenced record of type 9 not found: a6076ed2-3dd0-dd11-bc72-0003ffe36666]
       at Microsoft.Crm.Scheduling.Storage.Provider.CrmPointerRecord.PostLoad(SchedulingContext context)
       at Microsoft.Crm.Scheduling.Storage.RecordContainer.RetrieveAllRecords(IList target, SchedulingContext context)
       at Microsoft.Crm.Scheduling.Storage.ContainerLevelCachedContainer.GetAllRecords(SchedulingContext context)
       at Microsoft.Crm.Scheduling.Storage.ContainerLevelCachedContainer.RetrieveRecord(Guid id, SchedulingContext context)
       at Microsoft.Crm.Scheduling.Engine.SchedulingObjectFactoryBase.TryGetResourceGroup(Guid id, SchedulingContext context, IResourceGroup& resourceGroup)
       at Microsoft.Crm.Scheduling.Engine.SchedulingObjectFactoryBase.GetResourceGroup(Guid id, SchedulingContext context)
       at Microsoft.Crm.Scheduling.ResourceGroupMembersCommand.Execute(ISchedulingExecutionContext context)
       at Microsoft.Crm.ObjectModel.ResourceService.RetrieveByGroup(Guid resourceGroupId, EntityExpression entityExpression, ExecutionContext context)

    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
       at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContext context)
       at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.InProcessCrmService.Execute(Object request)
       at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal()
       at Microsoft.Crm.Application.Platform.DataSource.RetrieveByGroupResource(Guid resourceGroupId, QueryExpression query)
       at Microsoft.Crm.Application.WebServices.ResourceSpecTree.GetGroupChildren(Entity group)
       at Microsoft.Crm.Application.WebServices.ResourceSpecTree.AddGroupXml(XmlTextWriter writer, Entity group, Boolean expandGroup)
       at Microsoft.Crm.Application.WebServices.ResourceSpecTree.AddBranchXml(XmlTextWriter writer, Guid parentResourceSpecId, Boolean expandGroup)
       at Microsoft.Crm.Application.WebServices.ResourceSpecTree.BuildTree(Guid resourceSpecId, Boolean expandGroup)
       at Microsoft.Crm.Application.WebServices.ResourceSpecTree.GetTree(Guid id)"
    Friday, February 26, 2010 7:45 PM
  • We resolved the problem...

    Apparently, there was a reference in the ResourceGroupBase table to a team that was not existing anymore.
    • Marked as answer by watdawg Friday, February 26, 2010 7:50 PM
    Friday, February 26, 2010 7:50 PM