none
CRM 2011 - Errore Report dopo rollup 4

    問題

  • Ciao a tutti.

    Dopo ave messo la rollup 4, su tutti i componenti (server, srs, router, bids), non riesco più ad eseguire nessun report.

    In pratica si apre la finetra del report, in alto di vedono le caselle degli eventuali parametri, ma il resto della finestra rimane bianco. Non parte nemmeno quella specie di loader al centro della pagina. Viene solo visualizzato un warning nella parte in basso a sinistra.

     

    Inoltre nel visualizzatore eventi viene registrato questo errore:

    Nome registro: Application
    Origine:       ASP.NET 4.0.30319.0
    Data:          23/09/2011 17:32:51
    ID evento:     1309
    Categoria attività:(3)
    Livello:       Avviso
    Parole chiave: Classico
    Utente:        N/D
    Computer:      SRV-CRM.domain.it
    Descrizione:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 23/09/2011 17:32:51
    Event time (UTC): 23/09/2011 15:32:51
    Event ID: 12febc3a69c943e983328bf848ec3297
    Event sequence: 4240
    Event occurrence: 168
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/2/ROOT-1-129612610046938250
        Trust level: Full
        Application Virtual Path: /
        Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\
        Machine name: SRV-CRM
     
    Process information:
        Process ID: 3812
        Process name: w3wp.exe
        Account name: domain\SERVIZI5
     
    Exception information:
        Exception type: KeyNotFoundException
        Exception message: The given key was not present in the dictionary.
       at Microsoft.Crm.Metadata.PreloadedMetadataInitializationContext.GetEntityProvider(Guid entityId)
       at Microsoft.Crm.Metadata.PreloadedMetadataCacheDataProvider.AddRelationshipsToCollections(IPreloadedMetadataInitializationContext context)
       at Microsoft.Crm.Metadata.PreloadedMetadataCacheDataProvider.Initialize(IOrganizationContext organizationContext, MetadataContainer container, LoadMasks masks)
       at Microsoft.Crm.Metadata.MultiOrgSharableMetadataCacheLoader.CreateMetadataCacheDataProvider(MetadataContainer container, IOrganizationContext context, LoadMasks masks, CounterList counter)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.BuildMetadataCacheFromMetadataContainer(MetadataContainer container, LoadMasks masks, IOrganizationContext context, CounterList counter)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, IOrganizationContext context, CounterList counter)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks masks, IOrganizationContext context, CounterList counter)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context)
       at Microsoft.Crm.Metadata.MetadataCache.LoadCache(IOrganizationContext context, Boolean fileOnlyIfExists)
       at Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.BusinessEntityMoniker..ctor(Guid id, String entityName, Guid organizationId)
       at Microsoft.Crm.Caching.UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
       at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.CrmMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetUserInfoCommon(IOrganizationContext context, Guid userGuid)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId)
       at Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId)
       at Microsoft.Crm.Authentication.WindowsAuthenticationProviderBase.Authenticate(HttpApplication application, WindowsIdentity userIdentity)
       at Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application)
       at Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application)
       at Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     
     
    Request information:
        Request URL: http://srv-crm:5555/WebResource.axd?d=kcAFL-ah5BzBaPuRFXWcTw2&t=634479843602689624
        Request path: /WebResource.axd
        User host address: 172.18.4.6
        User: domain\user 
        Is authenticated: True
        Authentication Type: Negotiate
        Thread account name: domain\user
     
    Thread information:
        Thread ID: 21
        Thread account name: domain\user 
        Is impersonating: True
        Stack trace:    at Microsoft.Crm.Metadata.PreloadedMetadataInitializationContext.GetEntityProvider(Guid entityId)
       at Microsoft.Crm.Metadata.PreloadedMetadataCacheDataProvider.AddRelationshipsToCollections(IPreloadedMetadataInitializationContext context)
       at Microsoft.Crm.Metadata.PreloadedMetadataCacheDataProvider.Initialize(IOrganizationContext organizationContext, MetadataContainer container, LoadMasks masks)
       at Microsoft.Crm.Metadata.MultiOrgSharableMetadataCacheLoader.CreateMetadataCacheDataProvider(MetadataContainer container, IOrganizationContext context, LoadMasks masks, CounterList counter)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.BuildMetadataCacheFromMetadataContainer(MetadataContainer container, LoadMasks masks, IOrganizationContext context, CounterList counter)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, IOrganizationContext context, CounterList counter)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks masks, IOrganizationContext context, CounterList counter)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context)
       at Microsoft.Crm.Metadata.MetadataCache.LoadCache(IOrganizationContext context, Boolean fileOnlyIfExists)
       at Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.BusinessEntityMoniker..ctor(Guid id, String entityName, Guid organizationId)
       at Microsoft.Crm.Caching.UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
       at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.CrmMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetUserInfoCommon(IOrganizationContext context, Guid userGuid)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId)
       at Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId)
       at Microsoft.Crm.Authentication.WindowsAuthenticationProviderBase.Authenticate(HttpApplication application, WindowsIdentity userIdentity)
       at Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application)
       at Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application)
       at Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     

    Crm e SQL sono sulla stessa macchina. L'errrore si prensenta su tutti i report, custom e standart.

     

    Qualcuno ha qualche idea?

    Grazir
     

    2011年9月23日 15:48

解答

  • Problem solved uninstalling and reinstallin crm server.

     

    Seems that the MSCRM_CONFIG was corrupted.

    • 已標示為解答 Thesalex 2011年10月28日 8:50
    2011年10月28日 8:50

所有回覆

  • Hai provato a re-installare le Reporting Extensions e poi a ri-applicare la RU?

    Fammi sapere

    G


    Giorgio Garcia-Agreda MVP Microsoft Dynamics CRM
    2011年9月25日 17:11
  • Si, già tentata la strada della reinstallazione del delle Extensions e della RU ma il problema rimane.

     

    Inoltre la rollup server non è disisntallabile, quindi non posso fare altre prove.

    2011年9月26日 7:11
  • Ho letto con attenzione il tuo log, e ad occhio a me sembra sia un problema di autenticazione, per questo ti avevo detto di re-installare le Extensions, ma se lo hai già fatto... :(

    La cosa strana è il messaggio di errore che ricevi nella finestra del report, per cui ti chiederei un doppio click sul triangolo con punto esclamativo giallo e magari ripostare o lo screenshot o i dettagli dell'errore.

    Attendo...

    G


    Giorgio Garcia-Agreda MVP Microsoft Dynamics CRM
    2011年9月27日 7:55
  • Si, in effetti sembra proprio un errore causato dalle reporting extension e infatti la loro reinstallazione, con relativa rollup, è stata la prima cosa che ho fatto, ma purptoppo nessun risultato.

    Mi sta venendo il dubbio di reinstallare anche la rollup del server, ma ormai ho aperto anche l'incident con microsoft e non vorrei mescolare le carte in tavola.

    L'errore nella finstra del report, secondo me è generico e conseguente all'errore che avviente lato platform, che si vede nell'event viewer e che riesco a vedere anche con il crmdiagtool, ma senza ulteriori dettagli.

    Questi sono gli errori della pagina:

    Dettagli errore pagina Web
    
    Agente utente: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
    Timestamp: Tue, 27 Sep 2011 15:17:24 UTC
    
    
    Messaggio: Errore di sintassi
    Linea: 2
    Carattere: 1
    Codice: 0
    URI: http://srv-crm:5555/WebResource.axd?d=kcAFL-ah5BzBaPuRFXWcTw2&t=634479843602689624
    
    
    Messaggio: Errore di sintassi
    Linea: 2
    Carattere: 1
    Codice: 0
    URI: http://srv-crm:5555/ScriptResource.axd?d=xgyzAa2kY1-xmwt2Sp_elgNB65aktSsnwliph4A5MJKOmaWH8me9ioBSDxdHTQF7jB08US16II6mZboSGHZ_aMbCwM0RQ279YjzB5v3XfOc1&t=16ab2387
    
    
    Messaggio: Errore di sintassi
    Linea: 2
    Carattere: 1
    Codice: 0
    URI: http://srv-crm:5555/ScriptResource.axd?d=xgyzAa2kY1-xmwt2Sp_elgNB65aktSsnwliph4A5MJKOmaWH8me9ioBSDxdHTQF7w61_guRzKmRg62ovpPxDgT6rPvRgn_HWdwcOBrK8WhE1&t=16ab2387
    
    
    Messaggio: Errore di sintassi
    Linea: 2
    Carattere: 1
    Codice: 0
    URI: http://srv-crm:5555/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=10.0.30319.1&Name=ViewerScript
    
    
    Messaggio: Errore di sintassi
    Linea: 2
    Carattere: 1
    Codice: 0
    URI: http://srv-crm:5555/ScriptResource.axd?d=xgyzAa2kY1-xmwt2Sp_elgNB65aktSsnwliph4A5MJKOmaWH8me9ioBSDxdHTQF7EyaqzGDxAVHbqliwL0tfO-zIbb3pMttB_JWRkk85Fkw1&t=16ab2387
    
    
    Messaggio: 'Sys' non è definito
    Linea: 54
    Carattere: 1
    Codice: 0
    URI: http://srv-crm:5555/ORGNAME/CRMReports/rsviewer/reportviewer.aspx
    
    
    Messaggio: 'Sys' non è definito
    Linea: 315
    Carattere: 1
    Codice: 0
    URI: http://srv-crm:5555/ORGNAME/CRMReports/rsviewer/reportviewer.aspx
    
    

    Grazie.

    2011年9月27日 15:39
  • Problem solved uninstalling and reinstallin crm server.

     

    Seems that the MSCRM_CONFIG was corrupted.

    • 已標示為解答 Thesalex 2011年10月28日 8:50
    2011年10月28日 8:50