Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

CRM 2011 Outlook plugin has a problem with webformshost.exe on Win 10 + Office 2016

$
0
0

Hi everyone,

I had some problems with CRM2011 Outlook plugin on Win10+Office 2016. Since it seems to be an Office problem that seems to come up in similar fashion elsewhere, I hope that maybe someone could help even though there is some confusion whether or not CRM2011 will be supported and these difficulties might be fixed in RU19 (whenever this will be released).

The problem is that I can open the CRM2011 but everytime there should be a pop up it does not work. So, I did a little digging...

It seems to be a problem with the WebFormsHost. If ther is noMicrosoft.Crm.Application.Outlook.WebFormsHost.exe.config present in

C:\Program Files (x86)\Microsoft Dynamics CRM\Client\res\web\bin I receive

an error message that the webform host crashed, I can go to the CRM but if I choose something the whole Outlook crashes. Then i get the following error in the log file for each click on an entry

[2016-01-07 16:20:14.964] Process:Microsoft.Crm.Application.Outlook.WebFormsHost |Organization:00000000-0000-0000-0000-000000000000 |Thread:    1 |Category: Shared |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId:  | OutlookClientContextFactory.OutlookContext  ilOffset = 0x2
at OutlookClientContextFactory.OutlookContext()  ilOffset = 0x2
at Program.SetupClientContext()  ilOffset = 0xF
at Program.Main(String[] args)  ilOffset = 0x90
>Microsoft CRM Web Host Unhandled Exception
Message: Object reference not set to an instance of an object.
StackTrace    at Microsoft.Crm.Application.Utility.OutlookClientContextFactory.OutlookContext()
  at Microsoft.Crm.Outlook.Services.WebFormsHost.Program.SetupClientContext()
  at Microsoft.Crm.Outlook.Services.WebFormsHost.Program.Main(String[] args)

If there is an empty Microsoft.Crm.Application.Outlook.WebFormsHost.exe.config, Outlook opens without error pop ups, I can see the CRM entries but cannot do anything that creates a new webform, e.g., editing. In the log file there is the following:

>WebFormHostProxy::CheckREtryCountAndKill
[2016-01-07 16:28:33.718] Process:OUTLOOK |Organization:4371b8ba-8101-4a85-baf3-e3b64d735f2a |Thread:    8 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId:  | ContinuationTaskFromTask.InnerInvoke  ilOffset = 0x49
at ContinuationTaskFromTask.InnerInvoke()  ilOffset = 0x49
at Task.Execute()  ilOffset = 0x10
at Task.ExecutionContextCallback(Object obj)  ilOffset = 0xB
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x79
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x9
at Task.ExecuteWithThreadLocal(Task& currentTaskSlot)  ilOffset = 0xE1
at Task.ExecuteEntry(Boolean bPreventDoubleExecution)  ilOffset = 0x94
at Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()  ilOffset = 0x8
at ThreadPoolWorkQueue.Dispatch()  ilOffset = 0xA4
at _ThreadPoolWaitCallback.PerformWaitCallback()  ilOffset = 0x0
> RemoteActionHandler::Authenticate Exception: Unhandled Exception: Microsoft.Crm.CrmException: Failed to open WebFormHost Retries Exceeded
  at Microsoft.Crm.Outlook.Services.ClientProcessRetryHandler.CheckRetryCountAndKill(Process process)
  at Microsoft.Crm.Outlook.Services.WebFormHostProxyInstance.ActivateProcess(Guid endPointNameId, Boolean noAuthRequired, CrmServerType serverType, Boolean forceRestart)
  at Microsoft.Crm.Outlook.ClientProcessProxy.InnerCreateProxy(Guid endPointId, Boolean noAuthRequired, CrmServerType serverType)
  at Microsoft.Crm.Outlook.ClientProcessProxy.CreateProxy(Guid endPointId, Boolean noAuthRequired)
  at Microsoft.Crm.Outlook.Services.RemoteActionHandler.<>c__DisplayClass2c.<Authenticate>b__28()
  at System.Threading.Tasks.Task.InnerInvoke()
  at System.Threading.Tasks.Task.Execute()

And if i put something in it, e.g. a copy of Microsoft.Crm.Application.Hoster.exe.config containing:

<configuration>
<system.net>
<defaultProxy useDefaultCredentials="true" />
</system.net>
</configuration>

nothing I get the same result as I do not have anything... Since we don't have a proxy I could not put anything else in it. Maybe someone has an idea. I googled for hours and did not get anything.

In a nutshell, it seems that it is no problem of Win 10 but rather it is something else, so it might could moved to another forum, but for now I leave it here.

Thanks in advance,

Cheers,

Patrick


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>