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

MSCRMWebService - Event ID 18176 Web Service Plugin Failed

$
0
0

In need of help.  Today when trying to mark an opportunity as open or won we receive a plug-in failed error.  Weird thing is it was working yesterday and no changes have been done to the system.  What I really need help with is where to start looking and what I should be looking for.  The below information is from the event viewer on the CRM server.

Log Name:      Application
Source:        MSCRMWebService
Date:          1/27/2016 5:05:24 PM
Event ID:      18176
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      TCCRM.tci.com
Description:
The Web Service plug-in failed in OrganizationId: 69d1ec8d-fc10-4056-9db6-a1bc6d8d16fa; SdkMessageProcessingStepId: c754fdb4-ef2f-4f2c-b49f-186214ab4dcd; EntityName: salesorderdetail; Stage: 5; MessageName: Create; AssemblyName: Microsoft.Crm.ObjectModel.TargetAttributeValidationPlugin, Microsoft.Crm.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.ObjectModel.TargetAttributeValidationPlugin; Exception: Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Microsoft.Crm.ObjectModel.DefaultCurrency.InheritCurrencyFromParent(Entity entity, BusinessEntity entityPreImage, EntityMetadata entityMetadata, String transactionCurrencyEntityName, String transactionCurrencyFieldName, ExecutionContext context, Boolean isCreateOperation, Entity parentEntityInContext)
   at Microsoft.Crm.ObjectModel.DefaultCurrency.Execute(EntityDataInformation entityDataInformation)
   at Microsoft.Crm.ObjectModel.DoubleAttributeValidator.GetRecordCurrency(MoneyAttributeMetadata moneyMetadata, Entity entity, ExecutionContext platformContext)
   at Microsoft.Crm.ObjectModel.DoubleAttributeValidator.UpdatePrecision(Nullable`1 decimalValue, Nullable`1 floatValue, Money moneyValue, DoubleAttributeMetadata doubleMetadata, Entity entity, String propertyName, ExecutionContext platformContext)
   at Microsoft.Crm.ObjectModel.DoubleAttributeValidator.Validate(Entity entity, KeyValuePair`2 property, AttributeMetadata attributeMetadata, ExecutionContext platformContext)
   at Microsoft.Crm.ObjectModel.AttributeValidationPlugin.ValidateAttributeValue(Entity entity, KeyValuePair`2 property, AttributeMetadata attributeMetadata, ExecutionContext context, Entity parentEntity)
   at Microsoft.Crm.ObjectModel.AttributeValidationPlugin.PerformValidation(Entity entity, EntityMetadata entityMetadata, ExecutionContext platformContext, Entity parentEntity)
   at Microsoft.Crm.ObjectModel.AttributeValidationPlugin.Execute(IServiceProvider serviceProvider)
   at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
.
Event Xml:
<Event xmlns="schemas.microsoft.com/.../event">
  <System>
    <Provider Name="MSCRMWebService" />
    <EventID Qualifiers="49152">18176</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-01-27T22:05:24.000000000Z" />
    <EventRecordID>11969415</EventRecordID>
    <Channel>Application</Channel>
    <Computer>TCCRM.xxx.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>69d1ec8d-fc10-4056-9db6-a1bc6d8d16fa</Data>
    <Data>c754fdb4-ef2f-4f2c-b49f-186214ab4dcd</Data>
    <Data>salesorderdetail</Data>
    <Data>5</Data>
    <Data>Create</Data>
    <Data>Microsoft.Crm.ObjectModel.TargetAttributeValidationPlugin, Microsoft.Crm.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</Data>
    <Data>Microsoft.Crm.ObjectModel.TargetAttributeValidationPlugin</Data>
    <Data>Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Microsoft.Crm.ObjectModel.DefaultCurrency.InheritCurrencyFromParent(Entity entity, BusinessEntity entityPreImage, EntityMetadata entityMetadata, String transactionCurrencyEntityName, String transactionCurrencyFieldName, ExecutionContext context, Boolean isCreateOperation, Entity parentEntityInContext)
   at Microsoft.Crm.ObjectModel.DefaultCurrency.Execute(EntityDataInformation entityDataInformation)
   at Microsoft.Crm.ObjectModel.DoubleAttributeValidator.GetRecordCurrency(MoneyAttributeMetadata moneyMetadata, Entity entity, ExecutionContext platformContext)
   at Microsoft.Crm.ObjectModel.DoubleAttributeValidator.UpdatePrecision(Nullable`1 decimalValue, Nullable`1 floatValue, Money moneyValue, DoubleAttributeMetadata doubleMetadata, Entity entity, String propertyName, ExecutionContext platformContext)
   at Microsoft.Crm.ObjectModel.DoubleAttributeValidator.Validate(Entity entity, KeyValuePair`2 property, AttributeMetadata attributeMetadata, ExecutionContext platformContext)
   at Microsoft.Crm.ObjectModel.AttributeValidationPlugin.ValidateAttributeValue(Entity entity, KeyValuePair`2 property, AttributeMetadata attributeMetadata, ExecutionContext context, Entity parentEntity)
   at Microsoft.Crm.ObjectModel.AttributeValidationPlugin.PerformValidation(Entity entity, EntityMetadata entityMetadata, ExecutionContext platformContext, Entity parentEntity)
   at Microsoft.Crm.ObjectModel.AttributeValidationPlugin.Execute(IServiceProvider serviceProvider)
   at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
</Data>
  </EventData>
</Event>


CRM Migration Code Help

$
0
0

First off, I'm not a developer so excuse the terminology that is, most likely, completely off.

I'll try and describe my issue in the clearest possible way with pictures to try and make up for that.

I'm using a tool called Data Synchronization Studio to migrate data from Microsoft Dynamics CRM 2011 to Microsoft Dynamics CRM 2016. 

I have some code in place (written by a developer in another country) to perform a specific task.

The code references a field in the source system, the field happens to be called 'from'. Now I'm not entirely sure what to name it, but by any chance is 'from' also some kind of function? 

In the image below string[] NewToValues = DataSchemaTypeConverter.ConvertTo<string[]>(this.to);

Notice how the .to is black.

However if I now change it to reference the Field called 'from' in the source system notice how the from is now blue (as if it's now some kind of function):

I'm getting an error when building the 'from' version of the code but not the 'to' version. I think this stems from the from. I need this to be the same as the to (i.e. black and not whatever the blue is). Is there anyway I can do this?

Custom Ribbon Button not visible in Tablet (Ipad)

$
0
0

Dear All,

We added a custom ribbon button in the Lead entity. We added the button under Flyout menu for Qualify that comes out of box in Leads entity. This button is visible if we use the web app and not visible through ipad. We haven't add any rules to disable in ipad. Any thoughts on this?

Thanks

Drew

Business Rule on Form load

$
0
0

Hi

I have a parameterized entity form. Based on the parameter, i am setting an attribute value (E.g RequestType  which is an Optionset type) using the script on form load. I have a requirement, i need to show/hide couple of fields based on the parameter.

I wrote a business rule, setting a SetVisibility rule for those fields based on the "RequestType". The scope of the Business rule is "Specific Form" (I tried setting All forms as well).

It appears that the Business rule does not considering the RequestType value which i was setting on form load and executes other condition. But it executes correctly when opening the existing record.

That clarifies me - the value which i was setting on form load does not passing through Business rule on form load.

Can some one help me how to overcome this issue? How to use business rule?

Thanks in advance.

 

import access team error - cannot assign roles or profiles to an access team

$
0
0

I tried to import 200 access teams. The import panel shows: total processed 200; errors 200. Looked into the "Failures" and found 200 "The Microsoft Dynamics CRM record could not be created" with more information "cannot assign roles or profiles to an access team.

However, I did see 200 access teams created in my organization and everything looked fine.

What does the error message mean? Is there potential issue if I ignore the errors and use the imported 200 access teams?

Thanks,

Hao

How can I track what users are searching in CRM?

$
0
0

Is it possible to track users who are using "Advance Find" or who are using a specific filter in "Advanced Find" 

Example: John clicked on Advance Find and he is searching a certain lead that was created today?

Will I be able to see that on the logs or somewhere?

Do I need to create a plug in of some kind or a view or a dashboard?

Thanks

Dynamics CRM for Phones Express (iOS) latency issues in China

$
0
0

My company is running CRM 2013 and has recently deployed the Dynamics CRM for Phones Express app.  It is working well for all users in the US and EMEA regions, but our users in China are unable to use the app, due to the extreme latency (15 min to log in).  All users are using the same device type (iPhone 5s with iOS 7.0 or later).  Our users in China have tried connecting over 4G VPN connection, wifi VPN connection and directly through the office network, all with a similar result.  Some users are receiving the error "Sorry, something went wrong. Please try again, or restart the app.  Error code 0x8005f211".

I have tried to call the support desk here in the US a number of times (number 877-276-2464), with no resolution.

Thanks in advanced for any insight/suggestions you might have!

user with essential license at office 365 and having administrator role in crm

$
0
0

hi 

as per my understanding user with essential licence can only access the custom entity and activities at most in crm.

but i noticed that user can access all the system entities in CRM if a apply the administrator in CRM not on office 365.

thanks and regards

Subhash Mahato.


How can i retrieve dynamic CRM online audit summary with CRM SDK?

$
0
0

 I want to get a list of entities which are deleted recently. from audit summary view, we can see which entity is deleted. But how can do it with CRM SDK(C# code)? Is it possible to write a query expression(with specified operation, date filter...) to query audit summary?

Unable to understand purpose of record based security when MS CRM has role based security

$
0
0

Hi ,

I went through several links trying to understand simple concept of record based security.

msdn.microsoft.com/.../gg334673.aspx

Microsoft says 

"Record-based security in Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online applies to individual records. It is provided by using access rights.

The relationship between an access right and a privilege is that access rights apply only after privileges have taken effect. For example, if a user does not have the privilege to read accounts, that user is unable to read any account, regardless of the access rights another user might grant to a specific account through sharing."

I am confused as if particular user has read privilege on entity by means of his role then what is the purpose of adding one more security level they called Record Based Security and give him same read privilege but on record level.

I would be grateful is someone can assist me regarding this.

Any suggestions are more than welcome.

Thanks

Om

MSCRM 2016 Online - Knowledge Article question..

$
0
0

Dear all,

I'm using CRM 2016 Online.. I'm trying to figure out how to use Knowledge Article functionality in CRM..


After I have created a new Knowledge Article.. the record is forever in "Draft" & Read only mode.. I'm the system administrator with full permission, but I still cannot update any value after I saved the record. I'm trying to look for some article but I cant get any solution..

Does any1 have this experience to manipulate the Knowledge Article? Please help.. thanks

Adding a Web Resource in a Custom Entity/ System Entity Home Page

$
0
0

Is there any possibility to add a Web Resource in a Custom/System Entity Home page.

If so, How?

Need solution for it.

USD: Open a new tab for a specific entity on click of a record from a SUBGRID (e.g. Products) on a contact record.

$
0
0

I have a Contact tab open inside USD, the Contact form contains a SUBGRID for product records.

I would like to be able to open a new tab for PRODUCTS on click of a product record from the said subgrid.

Can anyone guide me on how i'll be able to achieve this?

What i have tried: 
- Created a WNR with the following info: (did not work)

Thanks!

How to pass a value from a Form to a Quick Create Form ?

$
0
0

We are using CRM2013 SP1 on premise.

I need to pass a value from a Form A (based on Entity A) to an Associated Quick Create Form B (based on Entity B) using javascript

The relationship between entity A and B is 1:N.  On the Form A there is a subgrid for Entity B. The requirement is to set some default values on the Quick Create Form B based on values from Form A. Is there a way to do this using javascript?

Many thanks

Alen

can we pass the url of custom/system entity in a web Resource

$
0
0

can we pass the URL of custom/system entity in a web Resource - and if i put that web resource in another entity form, i need to get the entity we pass in the URL

is this possible?

if so how?


Business process flow fields to be locked onStageSelected event.

$
0
0

I want to lock all the fields in a stage of  the business process flow(when any is selected randomly) i.e onStageSelected event. Any suggestions how to implement this?

Thanks in advance!!!

Status of All Workflow Changed to Draft After Integration With AdxStudio

$
0
0

Hi Geeks

Recently i integrated AdxStudio Portal with Dynamics CRM 2015(Online) ..But After Integration 

All The Existing Workflow(in CRM) Status changed to Draft...Can Any One Tell me ..Is it OOB Feature or Any Issue..and How to Avoid such Existing Changes During Integration ...?

Add Jquery in HTML web Resource.

$
0
0

Hi:
How can I include jQuery file in HTML web resource?

I included the file and it is shown in page Source (Inspect Element).

but when I call a method that is using jQuery, it is throwing.

ReferenceError: $ is not defined $(document).ready(function(){

although jquery in shown in page source.

any helpful suggestion is appericiated?

Thanks.

Here is complete source code.

<html><head>

<script src="new_Jquery"></script>
		<script src="new_Json2"></script>
		<script>
		function loadTargets(){
			$(document).ready(function(){
			try{
				for(i = 1; i <= 10; i++){
					$('div.result').append("<div id='div"+ (i) +"'>Target-" + i +"</div>");
				}
				for(i = 1; i <= 4; i++){
					$('div.usres').append("<div id='div"+ (i) +"'>User-" + i +"</div>");
				}
				//ExecuteQuery("/new_studentSet?");
				}
				catch(exp)
				{
					alert("Exception: " + exp);
				}
			});
		}
		
		function ExecuteQuery(ODataQuery) {
			var serverUrl = Xrm.Page.context.getServerUrl();
			// Adjust URL for differences between on premise and online
			if (serverUrl.match(/\/$/)) {
			serverUrl = serverUrl.substring(0, serverUrl.length - 1);
			}
			var ODataURL = serverUrl + "/XRMServices/2011/OrganizationData.svc" + ODataQuery;
			$.ajax({
				type: "GET",
				contentType: "application/json; charset=utf-8",
				datatype: "json",
				url: ODataURL,
				beforeSend: function (XMLHttpRequest) {
					XMLHttpRequest.setRequestHeader("Accept", "application/json");
				},
				success: function (data, textStatus, XmlHttpRequest) {
					//
					// Handle result from successful execution
					//
					// e.g. data.d.results
					alert("Data Loaded Successfully, Thanks.");
				},
				error: function (XmlHttpRequest, textStatus, errorObject) {
					//
					// Handle result from unsuccessful execution
					//
					alert("OData Execution Error Occurred");
				}
			});
		}
		
		//
		// Error Handler
		//
		function ErrorHandler(XMLHttpRequest, textStatus, errorObject)
		{ alert("Error Occurred : " + textStatus + ": " + JSON.parse(XMLHttpRequest.responseText).error.message.value); }
		</script>
		<meta><meta><meta><meta></head>
		<body style="word-wrap: break-word;">
		<p>Show here a list of all targets...</p>
		<input type="button" value="Load Targets" onclick="loadTargets()">
		<div class="result"></div>
		<div class="usres"></div>
		</body></html>

Problem when accessing Data from url using javascript

$
0
0

Can any one please help me get the data of given variables. I have seen many codes on Stack overflow and MSDN page but I could not frame a logic on my own. It's my lack of knowledge.

Any help would be great!!!

I have a URL as below

http://crm/&lt;server name>/WebResources/abaxis_popup?Data=recordid%3dElectrolyte%26sometext%3daw_device%26somemoretext%3dpolyclinic

I have variables and data as follows

------------------------------------------------------------------------------------------

var addParams =encodeURIComponent( "recordid=" + entityLabel + "&sometext=" + entityName + "&somemoretext=" +entityId);
Xrm.Utility.openWebResource('abaxis_popup',addParams ,280,200);

------------------------------------------------

recordId=Electrolyte

sometext =aw_device

somemoretext=polyclinic

------------------------------------------------------------------------

Upgrading MD CRM 2011 to MD CRM 2013

$
0
0

Hi, I have the following question on upgrading CRM 2011 to CRM 2013, particularly regarding how the settings will migrate between the two instances. Is it possible to upgrade MD CRM 2011 to MD CRM 2013 as a fresh installation with default settings rather than keeping the previous CRM 2011 settings?

Thanks!

Viewing all 55831 articles
Browse latest View live


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