Hi,
I've had a handful of users "corrupt" their CRM for Outlook entities to where the entity isn't accessible except through the IE client. For the entity that fails to load, this message shows in the ribbon: "Waiting for a page to be retrieved from a CRM server". If they wait long enough it might show, "Retrieval of a page from a CRM server failed due to an error."
Causes:
1) Having a pinned view that contains a column of a deleted field
2) Possibly somehow editing the views in a way (whether using Outlook features or CRM) that causes a glitch in GUID formatting on the database, causing the below errors.
Resolutions:
1) Remove the deleted field from the advanced find view columns in advanced find.
2) We'll be looking at the table entries in the SQL database to see how the GUID formatting looks and compare it to healthy tables. It is likely something wrong with the GUID formatting in one specific pinned advanced find view for the Activities entity in CRM for Outlook. We may end up having the user delete/edit the identified problematic advanced find view, delete all personal views for the Activities entity, or in a worst case scenario, we'll need to recreate the CRM user record to force it to unpin the view.
3) I found a SQL script to run against the CRM database, but running SQL against the database isn't supported...
update UserEntityUISettings
set TabOrderXml = NULL
where OwnerId = '645CF03B-ECE5-E011-9978-00155D650A09'
and ObjectTypeCode = 1
Source: http://social.microsoft.com/Forums/en/crm/thread/4649c2c7-31d9-4ef7-909e-4c312cbd8f73
Here's the log file errors generated while replicating the issue:
>ShellFrame constructor: Grid control initialized [2012-08-02 10:17:34.101] Process:OUTLOOK |Organization:2********-****-****-****-***********6 |Thread: 1 | Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | GuidResult.SetFailure at GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument,
String failureArgumentName, Exception innerException)
at Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at Guid..ctor(String g)
at CrmTabContainer.CreateStartingTabs()
at CrmTabContainer..ctor(ShellFrame shell, String entityType)
at <>c__DisplayClass6.<.ctor>b__0()
at ExceptionFilter.TryFilter(Action body, Predicate`1 filter, Action`1 catchClause)
at ShellFrame..ctor(ExplorerWrapper explorerWrapper)
at ShellManager.GetShellFromEntityType(Explorer explorer, String entityType, IClientOrganizationContext context)
at ExplorerWrapper.SetupMenus(String context, Boolean removeCurrentMenus)
at ExplorerWrapper.AttachToFolder()
at ExplorerWrapper.<CheckFolderSwitch>b__12()
at ExceptionFilter.TryFilterAllCatch(Action body, Action`1 filter)
at ExplorerWrapper.CheckFolderSwitch()
at ExplorerWrapper.explorer_FolderSwitch()
at RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at Delegate.DynamicInvokeImpl(Object[] args)
at DelegateWrapper.Invoke(Object[] args)
at ComEventsMethod.Invoke(Object[] args)
at ComEventsSink.System.Runtime.InteropServices.NativeMethods.IDispatch.Invoke(Int32 dispid, Guid& riid, Int32 lcid, INVOKEKIND wFlags, DISPPARAMS& pDispParams, IntPtr pvarResult, IntPtr pExcepInfo, IntPtr puArgErr)
> *** MSCRM:ASSERTEX *** - Shell error: Unrecognized Guid format.
[2012-08-02 10:17:34.105] Process:OUTLOOK |Organization:2********-****-****-****-***********6 |Thread: 1 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | ExplorerWrapper.<CheckFolderSwitch>b__14
at ExplorerWrapper.<CheckFolderSwitch>b__14(Exception ex)
at <>c__DisplayClassa.<TryFilterAllCatch>b__8(Exception ex)
at ExceptionFilter.TryFilterAllCatch(Action body, Action`1 filter)
at GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument,
String failureArgumentName, Exception innerException)
at Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at Guid..ctor(String g)
at CrmTabContainer.CreateStartingTabs()
at CrmTabContainer..ctor(ShellFrame shell, String entityType)
at <>c__DisplayClass6.<.ctor>b__0()
at ExceptionFilter.TryFilter(Action body, Predicate`1 filter, Action`1 catchClause)
at ShellFrame..ctor(ExplorerWrapper explorerWrapper)
at ShellManager.GetShellFromEntityType(Explorer explorer, String entityType, IClientOrganizationContext context)
at ExplorerWrapper.SetupMenus(String context, Boolean removeCurrentMenus)
at ExplorerWrapper.AttachToFolder()
at ExplorerWrapper.<CheckFolderSwitch>b__12()
at ExceptionFilter.TryFilterAllCatch(Action body, Action`1 filter)
at ExplorerWrapper.CheckFolderSwitch()
at ExplorerWrapper.explorer_FolderSwitch()
at RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at Delegate.DynamicInvokeImpl(Object[] args)
at DelegateWrapper.Invoke(Object[] args)
at ComEventsMethod.Invoke(Object[] args)
at ComEventsSink.System.Runtime.InteropServices.NativeMethods.IDispatch.Invoke(Int32 dispid, Guid& riid, Int32 lcid, INVOKEKIND wFlags, DISPPARAMS& pDispParams, IntPtr pvarResult, IntPtr pExcepInfo, IntPtr puArgErr)
> HandleException: Unhandled Exception: System.FormatException: Unrecognized Guid format.
at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at System.Guid..ctor(String g)
at Microsoft.Crm.Application.SMWrappers.CrmTabContainer.CreateStartingTabs()
at Microsoft.Crm.Application.SMWrappers.CrmTabContainer..ctor(ShellFrame shell, String entityType)
at Microsoft.Crm.Application.SMWrappers.ShellFrame.<>c__DisplayClass6.<.ctor>b__0()
at Microsoft.ExceptionHelper.ExceptionFilter.TryFilter[TEx](Action body, Predicate`1 filter, Action`1 catchClause)
at Microsoft.Crm.Application.SMWrappers.ShellFrame..ctor(ExplorerWrapper explorerWrapper)
at Microsoft.Crm.Application.SMWrappers.ShellManager.GetShellFromEntityType(Explorer explorer, String entityType, IClientOrganizationContext context)
at Microsoft.Crm.Outlook.ExplorerWrapper.SetupMenus(String context, Boolean removeCurrentMenus)
at Microsoft.Crm.Outlook.ExplorerWrapper.AttachToFolder()
at Microsoft.Crm.Outlook.ExplorerWrapper.<CheckFolderSwitch>b__12()
at Microsoft.ExceptionHelper.ExceptionFilter.TryFilterAllCatch(Action body, Action`1 filter)
Any other methods/ideas?