Quantcast
Channel: Microsoft Dynamics CRM
Viewing all 137182 articles
Browse latest View live

Forum Post: RE: MSCRMAsyncservice error

$
0
0
I found it, there was a workflow that ran every time an email was sent, and the owner of that workflow was no longer in the system. Disabled the workflow (wasn't needed any longer) and it's good now.

Forum Post: RE: Trying to show contact fullname - Liquid error: Value cannot be null. Parameter name: key

$
0
0
Martin did you set up Entity Permissions for the Contact entity ? also, how are the users logging in to the portal ? if they are already logging in as a Contact record, you should be able to use {{ user.fullname }} (once the user is logged in)

Forum Post: RE: CrmConnection seems to fail during an attempt at using RetrieveMultiple from an OrganizationService

$
0
0
Okay... Current NuGet list... Windows Identity Foundation is installed as a Windows Feature in Windows 10... And the error I'm getting is... - $exception {"Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=3.17.2.31801, Culture=neutral, PublicKeyToken=####' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"Microsoft.IdentityModel.Clients.ActiveDirectory, Version=3.17.2.31801, Culture=neutral, PublicKeyToken=####"} System.IO.FileLoadException

Forum Post: RE: CrmConnection seems to fail during an attempt at using RetrieveMultiple from an OrganizationService

$
0
0
Remove 3 last packages. All references you need to connect to CRM is:

Forum Post: RE: Still want to email disqualified leads - what to do best?

$
0
0
Hi Naomi. When you close your leads systematically and with correct information, you can keep them. Why not? Your CRM-System is based on a powerfull SQL-Server. In my company we clear our leads after 12 month after closing or last use in a campaign. So you have enough time. Kind regards, Karsten

Forum Post: RE: Two entity Forms of same entity in one web template

$
0
0
Emmanuel there is no restriction are you using the standard {% entityform id: page.adx_entityform.id %} to render the Form ? not sure if I understood the issue you had, but have you tried leaving only one Entity Form at each time using the same Web Template.. to make sure both are ok using that Web Template ?

Forum Post: RE: Microsoft dynamics 365 portal

$
0
0
Vaakura, sorry your request is being too vague Can you post a picture on how it is now and how you wish to be ? Maybe are you referring to Web Links ?

Forum Post: RE: CrmConnection seems to fail during an attempt at using RetrieveMultiple from an OrganizationService

$
0
0
I removed the three packages, and tried running it again. Same error. I tried updating the Microsoft.IdentityModel.Clients.ActiveDirectory package back to the latest stable, and that failed with the same error. I tried changing it to the version you have in your screen shot. Same error. I figured maybe it was a mismatch in the app.config file, and possibly the app.config in the unit test project I'm running the code through. So I matched up the versions from the nuget package to the two app.config files, and still, same error. It does seem to be a version issue though: "does not match the assembly reference". I might try uninstalling all the packages, and cleaning as much out as possible to see if it really is just a version stored somewhere that doesn't match what I'm using. But I'm running out of work day, and I have other responsibilities to attend to tonight. I do appreciate all the help, and I'll be back tomorrow.

Forum Post: RE: Metadata contains a reference that cannot be resolved: 'https://crm.domain/XRMServices/2011/Organization.svc?wsdl&sdkversion=8.2'.

$
0
0
Changing the security setting worked. That was the only thing that worked for me. Thanks mr cha

Forum Post: RE: CRM Connection Error

$
0
0
I have the same issue but the proposed fix does not help. Just getting the same error again.

Forum Post: BusinessUnit With Id = {ID} Does Not Exist

$
0
0
Hi all, In my MS Dynamics CRM 365 organization I'm getting a pretty strange error when trying to create records of a custom entity. Basically, after clicking on "Save" I get the following error: After downloading the error log, I see that the error is: BusinessUnit With Id = {ID} Does Not Exist The thing here is that I've disabled all plugins and Scripts related and I'm keep getting the same error. Also, I'm logged as System admin, so priviledges shouldn't be the problem. Any workarounds? Thanks in advance!

Forum Post: RE: Resource Capacity

$
0
0
Maybe you can add more incident types? Such as for example: Incident Type - Repair (Very Fast) Characteristic - Very Fast Repair Incident Type - Repair (Fast) Characteristic - Fast Repair Its kind of crude but it could do the job?

Forum Post: Dynamics 365 - Show all the activities for the opportunites that originates from a lead on the lead form

$
0
0
Hi, Is it possible to show all the activities for the opportunites that originates from a lead on the lead form's activity pane, just like the way that on account form the activity pane pulls all the activities from its contacts? Thanks. Thanks, Ares

Forum Post: RE: CrmConnection seems to fail during an attempt at using RetrieveMultiple from an OrganizationService

$
0
0
Is it custom plugin or workflow? If yes you will have include references into your project and build it. And also make sure for version 9.0 you are using either 4.5.2 or 4.6.2 .Net Framework.

Forum Post: RE: Inline lookup in CRM 2015 is not sorted - It doent honour lookup view sorting

$
0
0
Just realized this will only work for the 10 entrees it returns. But the 10 entrees could be random out of your data set. So basically you're screwed. Build your own lookup control that's what I'm thinking.

Blog Post: Dynamics 365 Configuration Data Mover v2.4

$
0
0
I've released an updated version of my popular Dynamics 365 Configuration Data Mover utility that was built with .Net 4.7 to address the new requirement to use TLS 1.2 (or better) for connections to Dynamics 365 online instances as described in this entry on the Microsoft Dynamics 365 team blog: https://blogs.msdn.microsoft.com/crm/2017/09/28/updates-coming-to-dynamics-365-customer-engagement-connection-security . This upgrade is fully compatible with existing job files. Getting the Dynamics 365 Configuration Data Mover The source code is available in my GitHub repository here . A compiled version can be downloaded here .

Forum Post: Programmatically execute post configuration refresh command

$
0
0
Using the CRM package deployment tool, it is required to programmatically to refresh the post configurations before custom entities can be enabled. This is requirement to be able to autonomously publish a solution via AppSourse with partner post install configuration. Can anyone suggest a c# logic solution to activity feed wall refresh? I have the logic to enable the posts for the entity but missing the ability to refresh the list before a custom entity can be set.

Forum Post: Timeout max pool size was reached & timed-out at the Sandbox Client

$
0
0
Hi All, I am getting Timeout errors when performing load test for Maximum User count 50 . Log file Details - Timeout error 1 - The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. Sync workflow failed with error message - Unhandled Exception: Microsoft.Crm.CrmException: Error while calling OnBeginRequest on WorkflowTransactionContext. at System.Activities.WorkflowApplication.Invoke(Activity activity, IDictionary`2 inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout) at System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary`2 inputs, TimeSpan timeout, WorkflowInstanceExtensionManager extensions) at Microsoft.Crm.Workflow.SynchronousRuntime.SynchronousWorkflowActivityHost.ExecuteWorkflowUsingInvoker(Activity workflow, ICommonWorkflowContext context) at Microsoft.Crm.Workflow.SynchronousRuntime.SynchronousWorkflowActivityHost.StartWorkflow(WorkflowActivationData activationData, ICommonWorkflowContext context) Inner Exception: System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.Crm.CrmDbConnection.InternalOpenWithRetry(IDbConnection connection, String descriptionText) at Microsoft.Crm.CrmDbConnection.GetCreateAndOpenConnection() at Microsoft.Crm.CrmDbConnection.Open() at Microsoft.Crm.SqlExecutionContext.OnBeginRequest(Boolean startTransaction, IsolationLevel isoLevel, SolutionOperationContext operationContext, Guid solutionId, String workloadGroup) at Microsoft.Crm.BusinessEntities.ExecutionContext.OnBeginRequest(Guid userId, Boolean startTransaction, IsolationLevel isolationLevel, ExecutionOperationContext operationContext, CallerOriginToken originToken) at Microsoft.Crm.Workflow.WorkflowTransactionContext.StartTransaction() at Microsoft.Crm.Workflow.WorkflowTransactionContext.OnBeginRequest() at Microsoft.Crm.Workflow.Services.ActivityServiceBase.ExecuteInTransactedContext(ActivityDelegate activityDelegate) , error code - -2147220970 Timeout error 2 - The plug-in execution failed because the operation has timed-out at the Sandbox Client. Sync workflow failed with error message - Unhandled Exception: Microsoft.Crm.Workflow.Services.InvalidCustomActivityExecutionException: The plug-in execution failed because the operation has timed-out at the Sandbox Client. System.TimeoutException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #94691529 at System.Activities.WorkflowApplication.Invoke(Activity activity, IDictionary`2 inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout) at System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary`2 inputs, TimeSpan timeout, WorkflowInstanceExtensionManager extensions) at Microsoft.Crm.Workflow.SynchronousRuntime.SynchronousWorkflowActivityHost.ExecuteWorkflowUsingInvoker(Activity workflow, ICommonWorkflowContext context) at Microsoft.Crm.Workflow.SynchronousRuntime.SynchronousWorkflowActivityHost.StartWorkflow(WorkflowActivationData activationData, ICommonWorkflowContext context) , error code - -2147220891 Thanks, Ram.

Forum Post: How to disable a field after Save with out closing the form in CRM365

$
0
0
I would like to disable a field after first save. The case is: I have an application form which has application type(Picklist). The moment I save the Application I want to disable the Application Type so users can not change it. I put a function on the form load to disable the Application Type if Xrm.Page.ui.getFormType() != 1 This works correctly if I save and close the application record and reopen it again and Application Type field will be disabled. The problem that I have is for the first Save . If user saves the record and do not close the form, the application Type field will not be disabled :(. I debugged the code it and after record is saved the onload event of the form will be kicked again but the form type is still 1 (which is create). Any help how can I achieve this will be really appreciated! Please note that my Legacy rendering in the system setting is set to yes as well.

Forum Post: RE: How to add a dictionary object to shared variable of plugin context

$
0
0
You question does not make it clear of the code context where you have the dictionary object but I think it is possible using one of the following approaches This script I have copied below demonstrates sharing a dictionary object between prevalidation, preoperation and postoperation stages for the create, update or delete messages. Note that the preoperation and postoperation stages actually have to access the parent context to get a shared variable from the prevalidation message If the context where you have the dictionary is outside of a plugin, and you want to pass the dictionary into code in the plugin message, you would probably have to use a custom field(s). You could set a text field to the serialised dictionary, then get and deserialise it inside the plugin if(IsStage(PluginStage.PreValidationEvent)) { var dictionary = new Dictionary { { "Key1", "Value1" }, { "Key2", "Value2" }, { "Key3", "Value3" }, }; IPluginExecutionContext.SharedVariables.Add("DICTIONARY1", dictionary); } if (IsStage(PluginStage.PreOperationEvent)) { var getDictionary = (Dictionary )IPluginExecutionContext.ParentContext.SharedVariables["DICTIONARY1"]; var dictionary2 = new Dictionary { { "Key1", "Value1" }, { "Key2", "Value2" }, { "Key3", "Value3" }, }; IPluginExecutionContext.SharedVariables.Add("DICTIONARY2", dictionary2); } if (IsStage(PluginStage.PostEvent)) { var getDictionary1 = (Dictionary )IPluginExecutionContext.ParentContext.SharedVariables["DICTIONARY1"]; var getDictionary2 = (Dictionary )IPluginExecutionContext.SharedVariables["DICTIONARY2"]; }
Viewing all 137182 articles
Browse latest View live


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