tag:blogger.com,1999:blog-1541119677388434036.post808986751327014123..comments2024-03-28T13:09:49.789+01:00Comments on CRM Answers: Get the current user inside a WorkflowGuidohttp://www.blogger.com/profile/09944164687094653429noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-1541119677388434036.post-45691185977224158512017-09-22T10:56:33.563+02:002017-09-22T10:56:33.563+02:00Thanks a lot for this useful information, I didn&#...Thanks a lot for this useful information, I didn't find it anywhere else!Giorgiohttps://www.blogger.com/profile/17223646072967238621noreply@blogger.comtag:blogger.com,1999:blog-1541119677388434036.post-90613863072900616932014-03-14T04:56:34.792+01:002014-03-14T04:56:34.792+01:00Great article!Great article!Anonymoushttps://www.blogger.com/profile/16599550003692282472noreply@blogger.comtag:blogger.com,1999:blog-1541119677388434036.post-14925608830003363442014-02-08T02:12:37.315+01:002014-02-08T02:12:37.315+01:00Hi Karsten,
please check again the code, the synta...Hi Karsten,<br />please check again the code, the syntax highlighter removed some characters by mistake, I updated it.Guidohttps://www.blogger.com/profile/09944164687094653429noreply@blogger.comtag:blogger.com,1999:blog-1541119677388434036.post-61924864771609369042014-02-08T02:07:15.382+01:002014-02-08T02:07:15.382+01:00Hi Karsten,
which version is your instance? CRM 20...Hi Karsten,<br />which version is your instance? CRM 2011 or 2013? online or onpremise? are you using the plugin registration tool from the latest sdk?Guidohttps://www.blogger.com/profile/09944164687094653429noreply@blogger.comtag:blogger.com,1999:blog-1541119677388434036.post-58983654880603782252014-02-07T12:06:09.854+01:002014-02-07T12:06:09.854+01:00Hello.
I have a little problem after Register the...Hello.<br /><br />I have a little problem after Register the new assembly with help of the Plugin Registration Tool.<br /><br />Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The type OutArgument of the property CurrentUser is not supported. <br />Detail: <br /> -2147200995<br /> <br /> <br /> CallStack<br /> at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)<br /> at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)<br /> at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)<br /> at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)<br /> at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)<br /> at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)<br /> at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Create(Entity entity, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)<br /> <br /> <br /> The type OutArgument of the property CurrentUser is not supported. <br /> 2014-02-07T11:04:51.8339154Z<br /> <br /> -2147200995<br /> <br /> <br /> CallStack<br /> at Microsoft.Crm.ObjectModel.WorkflowActivityValidator.ValidateDotNet4CustomActivity(Type activityType)<br /> at Microsoft.Crm.ObjectModel.PluginValidatorBase.Validate()<br /> at Microsoft.Crm.ObjectModel.PluginTypeValidator.ValidateInternal()<br /> at Microsoft.Crm.ObjectModel.PluginValidatorBase.Validate()<br /> at Microsoft.Crm.ObjectModel.PluginTypeServiceInternal`1.Create(IBusinessEntity entity, ExecutionContext context)<br /> <br /> <br /> The type OutArgument of the property CurrentUser is not supported. <br /> 2014-02-07T11:04:51.8339154Z<br /> <br /> <br /> <br /> <br /><br /><br />Server stack trace: <br /> at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)<br /> at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)<br /> at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)<br /> at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)<br /><br />Exception rethrown at [0]: <br /> at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)<br /> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)<br /> at Microsoft.Xrm.Sdk.IOrganizationService.Create(Entity entity)<br /> at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.CreateCore(Entity entity)<br /> at PluginRegistrationTool.RegistrationHelper.RegisterPlugin(CrmOrganization org, CrmPlugin plugin)<br /> at PluginRegistrationTool.PluginRegistrationForm.btnRegister_Click(Object sender, EventArgs e)Anonymoushttps://www.blogger.com/profile/11684486252934173942noreply@blogger.com