locked
error after adding a N:1 RRS feed

  • Question

  • i just created a new entity called callreportdetail that has a N:1 to accounts. when i try to access the accounts from the new entity i get the below error any ideals

     

    Microsoft CRM Error Report:
    Error Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Error Details:
    Exception of type 'System.Web.HttpUnhandledException' was thrown.

    Full Stack:
    [InvalidOperationException: No default view was found for object type 1 and query type 2]
      at Microsoft.Crm.Caching.DefaultSavedQueryIdCacheLoader.LoadCacheData(SavedQueryIdCacheKey key, IOrganizationContext context)
      at Microsoft.Crm.Caching.CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)
      at Microsoft.Crm.Caching.CrmSharedMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)
      at Microsoft.Crm.Caching.SavedQueryCache.LookupEntry(Int32 objectType, Int32 savedQueryType, Guid organizationId)
      at Microsoft.Crm.Caching.ViewLoader.GetView(Int32 objectType, Int32 savedQueryType)
      at Microsoft.Crm.Application.Controls.AppAreaPage.ConfigureAreaPageSubGridFromCustomEntity(Int32 objectTypeCode)
      at Microsoft.Crm.Application.Pages.UserDefined.AreaPage.ConfigureTabs()
      at Microsoft.Crm.Application.Controls.AppAreaPage.ConfigurePage()
      at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
      at System.Web.UI.Control.PreRenderRecursiveInternal()
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    
    [HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]
      at System.Web.UI.Page.HandleError(Exception e)
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      at System.Web.UI.Page.ProcessRequest()
      at System.Web.UI.Page.ProcessRequest(HttpContext context)
      at ASP.crm_userdefined_areas_aspx.ProcessRequest(HttpContext context)
      at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    
    

    Other Message:
    Error Number:
    Source File:
    Not available

    Line Number:
    Not available


    Date: 05-11-2011

    Time: 20:33:26

    Server: erp-crm
    Request URL:
    http://erp-crm:5555/CRM/userdefined/areas.aspx?oId={9B8B1BBA-467C-E011-B425-001EC9EF6ED4}&oType=10027&security=65591&tabSet=asc_asc_callreportdetail_account

    Thursday, May 12, 2011 3:46 AM

Answers

  • Make sure you have not deleted the associated view on account entity (you might need to re-create it).

    Thursday, May 12, 2011 11:22 AM
    Moderator

All replies

  • Make sure you have not deleted the associated view on account entity (you might need to re-create it).

    Thursday, May 12, 2011 11:22 AM
    Moderator
  • Unable to delete it says "system-defined views cannot be deleted
    Tuesday, May 24, 2011 5:36 PM