|
![]() |
#1 |
Участник
|
Спс за статью, подключался не на тот процесс( В результате дебага вижу следующее
'CrmAsyncService.exe' (Managed (v4.0.30319)): Loaded 'Workflow' 'CrmAsyncService.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_64\ISymWrapper\v4.0_4.0.0.0__b03f5f7f11d50a3a\ISymWrapper.dll', Symbols loaded. Function: CrTas.CrTasPlug.PostЗадачаCreate.ExecutePostЗадачаCreate(CrTas.CrTasPlug.Plugin.LocalPluginContext), Thread: 0x1F94 <No Name> A first chance exception of type 'System.NotSupportedException' occurred in System.Runtime.DurableInstancing.dll A first chance exception of type 'System.NotSupportedException' occurred in System.Runtime.DurableInstancing.dll 'CrmAsyncService.exe' (Managed (v4.0.30319)): Loaded 'Workflow' 'CrmAsyncService.exe' (Managed (v4.0.30319)): Loaded 'Workflow' Function: CrTas.CrTasPlug.PostЗадачаCreate.ExecutePostЗадачаCreate(CrTas.CrTasPlug.Plugin.LocalPluginContext), Thread: 0x1F94 <No Name> Function: CrTas.CrTasPlug.PostЗадачаCreate.ExecutePostЗадачаCreate(CrTas.CrTasPlug.Plugin.LocalPluginContext), Thread: 0xBD8 <No Name> A first chance exception of type 'System.NotSupportedException' occurred in System.Runtime.DurableInstancing.dll A first chance exception of type 'System.NotSupportedException' occurred in System.Runtime.DurableInstancing.dll Function: CrTas.CrTasPlug.PostЗадачаCreate.ExecutePostЗадачаCreate(CrTas.CrTasPlug.Plugin.LocalPluginContext), Thread: 0xBD8 <No Name> A first chance exception of type 'System.NotSupportedException' occurred in System.Runtime.DurableInstancing.dll A first chance exception of type 'System.NotSupportedException' occurred in System.Runtime.DurableInstancing.dll A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll A first chance exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.dll То есть по факту, четыре раза выполняется +1, а в реальности вижу в счетчике 3 |
|
![]() |
#2 |
Заноза в заднице
|
Я, конечно, могу ошибаться, но насколько я помню, SocketException в моей практике возникал тогда, когда выполнялось несколько одновременных подключений к веб-сервису CRM. Возможно, Ваша ошибка является следствием отправки нескольких одновременных запросов на получение/обновление данных.
__________________
Лень мудрого человека - это необходимое средство нейтрализации кипучей активности руководящих им дураков! |
|
|
|