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

Dynamic CRM 2016 server error install

$
0
0

Hi,

i'm try install the Dynamic CRM 2016 workgroup server and appear the following error.

The log file is

18:09:21|   Info| C:\Windows\Microsoft.NET\Framework64\v4.0.30319\\aspnet_regiis.exe -s W3SVC/1/ROOT
18:09:24|   Info| Microsoft (R) ASP.NET RegIIS version 4.0.30319.0 Administration utility to install and uninstall ASP.NET on the local machine. Copyright (C) Microsoft Corporation.  All rights reserved. Start registering ASP.NET (4.0.30319.0) recursively at W3SVC/1/ROOT. Finished registering ASP.NET (4.0.30319.0) recursively at W3SVC/1/ROOT.
18:09:24|   Info| Adding script element: xamlx-ISAPI-4.0_64bit
18:09:24|   Info| Adding script element: rules-ISAPI-4.0_64bit
18:09:24|   Info| Adding script element: xoml-ISAPI-4.0_64bit
18:09:24|   Info| Adding script element: svc-ISAPI-4.0_64bit
18:09:24|   Info| Adding script element: AXD-ISAPI-4.0_64bit
18:09:24|   Info| Adding script element: PageHandlerFactory-ISAPI-4.0_64bit
18:09:24|   Info| Adding script element: SimpleHandlerFactory-ISAPI-4.0_64bit
18:09:24|   Info| Adding script element: WebServiceHandlerFactory-ISAPI-4.0_64bit
18:09:24|   Info| Adding script element: HttpRemotingHandlerFactory-rem-ISAPI-4.0_64bit
18:09:24|   Info| Adding script element: HttpRemotingHandlerFactory-soap-ISAPI-4.0_64bit
18:09:24|   Info| Adding script element: aspq-ISAPI-4.0_64bit
18:09:24|   Info| Adding script element: cshtm-ISAPI-4.0_64bit
18:09:25|   Info| Adding script element: cshtml-ISAPI-4.0_64bit
18:09:25|   Info| Adding script element: vbhtm-ISAPI-4.0_64bit
18:09:25|   Info| Adding script element: vbhtml-ISAPI-4.0_64bit
18:09:25|   Info| Adding script element: ExtensionlessUrlHandler-ISAPI-4.0_64bit
18:09:25|   Info| CrmAction execution time; EnableAspNetOnWebsiteAction; 00:00:05.4402477
18:09:25|   Info| Executing Install action: Microsoft.Crm.Setup.Server.EnableWCFCompression
18:09:25|   Info| Not enabling wcf compression for Soap-Xml. WCF compression should be enabled only for online environment.
18:09:25|   Info| CrmAction execution time; EnableWCFCompression; 00:00:00.0312506
18:09:25|   Info| Executing Install action: Microsoft.Crm.Setup.Server.EnableJSONCompression
18:09:25|   Info| CrmAction execution time; EnableJSONCompression; 00:00:00.0468741
18:09:25|   Info| Executing Install action: Microsoft.Crm.Setup.Server.EnableIntegratedModeAction
18:09:25|Verbose| Method entry: Microsoft.Crm.Setup.Shared.IIsUtility.SetIntegratedMode
18:09:25|   Info| Migrating CRM App Pool: CRMAppPool
18:09:26|Verbose| Method exit: Microsoft.Crm.Setup.Shared.IIsUtility.SetIntegratedMode
18:09:26|   Info| CrmAction execution time; EnableIntegratedModeAction; 00:00:00.7500041
18:09:26|   Info| Executing Install action: Microsoft.Crm.Setup.Server.RestartWebApplicationAction
18:09:26|   Info| Calling iisreset
18:09:42|   Info|  Attempting stop... Internet services successfully stopped Attempting start... Internet services successfully restarted
18:09:42|   Info| CrmAction execution time; RestartWebApplicationAction; 00:00:15.9407833
18:09:42|   Info| Executing Install action: Microsoft.Crm.Setup.Server.StartAppPoolAction
18:09:42|   Info| CrmAction execution time; StartAppPoolAction; 00:00:00.5781287
18:09:42|   Info| Executing Install action: Microsoft.Crm.Setup.Server.StartWebsiteAction
18:09:42|   Info| CrmAction execution time; StartWebsiteAction; 00:00:00.1093732
18:09:42|   Info| Executing Install action: Microsoft.Crm.Setup.Server.EnableCompressionAction
18:09:44|  Error| System.Exception: Action Microsoft.Crm.Setup.Server.EnableCompressionAction failed. ---> System.Runtime.InteropServices.COMException: The system cannot find the path specified.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at Microsoft.Crm.Setup.Server.EnableCompressionAction.EnableIisCompression(DirectoryEntry entry)
   at Microsoft.Crm.Setup.Server.EnableCompressionAction.SetupCompressionType(String path)
   at Microsoft.Crm.Setup.Server.EnableCompressionAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---, Error, RetryCancel, Option1
18:30:51|   Info| InputResult: Retry
18:30:51|   Info| CrmAction execution time; EnableCompressionAction; 00:21:09.0369783
18:30:52|  Error| System.Exception: Action Microsoft.Crm.Setup.Server.EnableCompressionAction failed. ---> System.Runtime.InteropServices.COMException: The system cannot find the path specified.

The IIS compression role is install and enable.

I try install again and appear the same error.

Please any ideas.

Thank you,

Joel


Dynamics 365 9.0 Version ADFS 3.0/4.0integration with Azure AD

$
0
0

Hello,

Can I Integrate CRM 365 9.0 On_premise( IFD) ADFS 3.0/40 integrate with Azure AD? 

Scenario:

we have a Dynamics 365 CE 9.0 version On-Premise IFD mode, using ADFS 3.0 at Production. Using OAuth for CRM 365 WEB API. Here I have a question.

Can I integrate with Azure AD without the impact of CRM 365 WEB API?

Venkatta

Rollback from dynamics 365 onpremise to CRM2016

$
0
0

Can anyone help me with rollback of dynamics 365 onpremise to CRM2016, a step-by-step procedure. I could not find any article relevant to my search.

Regarding Asynchronous Workflow execution owner issue

$
0
0

Hi,

We have a workflow created with the name of one of the Admin wherein the background workflow run on custom status field change. The scope of the workflow is Organization and it starts when a record field changes.

The issue is whenever the status filed changes the it shows the modified by filed with Admin even when the status is changed by another user. The workflow scope is Organization and the current user has permissions in their role the workflow will execute as the current user but this does not seem to be happening.

Is there anything that we can do to change the modified by field whenever the workflow get triggered with the user who logged in or who made changes instead of owner of the workflow Admin. Any information on this will help. Thanks.

Custom fields of the entity is not visible in the plugin

$
0
0

Hello All,

We have added a couple of custom of fields to the contact entity and added them to the form.
The new fields work fine. But when we try to get hold of the entity in the plugin presave using the generic Entity object,

Entity entity = (Entity)context.InputParameters["Target"];

we cant find the custom fields as a part of the entity object.
Should we typecast the generic entity to "contact" using a proxy class that's generated with  "CrmSvcUtil"?

Thanks & Regards,
Clement

Microsoft Portal configuration on dynamics 365 onpremise

$
0
0

I m trying to install Microsoft portal version 8.3 on Dynamics 365 onpremise version 8.2. I tried to follow Microsoft  document to install the required solutions through power shell command . This causes issues during the installation process and i m not able to install all the required components for the portal configuration. I tried to install manually through the application but this takes a lot of time and the application hangs and crashes. Can someone please suggest how to proceed further on this?

Thanks

Im trying to find out if Dynamics CRM 2011 is compatible with SQL Server 2017 running in 2008 R2 compatibility mode

$
0
0

we are looking to upgrade our existing SQL 2008 R2 instance and would rather move to 2017 rather than SQL 2012 if possible. Im trying to find out if Dynamics CRM 2011 is compatible with SQL Server 2017 running in 2008 R2 compatibility mode.

I've had a look at the 'Compatibility with Microsoft Dynamics CRM 2011' and the most recent version of SQL it contains is 2014.  can someone help this ?

Uninstalling Attachment Management Solution

$
0
0

Hi guys, 

I have installed successfully the Attachment Management solution in Dynamics CRM Online by using Azure Blob Storage. It works very well, now I would like to understand how to uninstall it and get things back to normal?

I am sure someone else has come across this, isn't it? 

Thanks in advance.


Site Map view issues

$
0
0

My Site map is being viewed in side menu bar as in below screen shot:

But I want it to be displayed in upper menu bar like below screenshot:

Could you please let me know how to do that

The Consequences of Having Many Custom Entities in Dynamics 365

$
0
0

What are the consequences of having many custom entities in Dynamics 365 on-premise ? Should we implement our solutions with as few entities as we can or not ?

For example: I can implement two functionalities in one entity and also I can implement them in two separate entities. What's  the accurate solution for adding custom entities ? thanks.

Dynamics Portal: Customizing Registration Page.

$
0
0

Hi,

I want to edit the OOB Registration page. At the moment we are able to add few fields thorough content snippet, but the issues we are unable to pass it as a part of form data (we are storing it as local storage). Please help. 

Dynamics 365 9.0 on-premise IFD configuration: Error Invalid provider type specified

$
0
0

Hello,

I have installed D365 9.0 on-premise on my hyper-V machines and I am configuring claims-based auth and IFD, I have used AD CA to request a domain wildcard certificate, after configuration of claims-based auth. I have tried this url https://internalcrm.kcenter.com:444/federationmetadata/2007-06/federationmetadata.xml but have the following error message.  the url https://adfs.kcenter.com/federationmetadata/2007-06/federationmetadata.xml works well.

<?xml version="1.0"?>

-<error xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema">

<exception>Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Security.Cryptography.CryptographicException: Invalid provider type specified. at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer) at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle) at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair() at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySize) at System.Security.Cryptography.X509Certificates.X509Certificate2.get_PrivateKey() at System.IdentityModel.Tokens.X509AsymmetricSecurityKey.get_PrivateKey() at System.IdentityModel.Tokens.X509AsymmetricSecurityKey.GetSignatureFormatter(String algorithm) at System.IdentityModel.SignedXml.ComputeSignature(SecurityKey signingKey) at System.IdentityModel.EnvelopedSignatureWriter.ComputeSignature() at System.IdentityModel.EnvelopedSignatureWriter.OnEndRootElement() at System.IdentityModel.Metadata.MetadataSerializer.WriteEntityDescriptor(XmlWriter inputWriter, EntityDescriptor entityDescriptor) at System.IdentityModel.Metadata.MetadataSerializer.WriteMetadata(Stream stream, MetadataBase metadata) at Microsoft.Crm.Authentication.Claims.MetadataGenerator.GenerateCrmFederationMetadata(Stream stream) at Microsoft.Crm.Application.Components.Handlers.FederationMetadata.ProcessRequestInternal(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #52B75F04Detail: <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts"> <ActivityId>d096958b-7e1b-4d58-a0d0-cf1724fe05a4</ActivityId> <ErrorCode>-2147220970</ErrorCode> <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" /> <Message>System.Security.Cryptography.CryptographicException: Invalid provider type specified. at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer) at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle&amp; safeProvHandle, SafeKeyHandle&amp; safeKeyHandle) at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair() at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySize) at System.Security.Cryptography.X509Certificates.X509Certificate2.get_PrivateKey() at System.IdentityModel.Tokens.X509AsymmetricSecurityKey.get_PrivateKey() at System.IdentityModel.Tokens.X509AsymmetricSecurityKey.GetSignatureFormatter(String algorithm) at System.IdentityModel.SignedXml.ComputeSignature(SecurityKey signingKey) at System.IdentityModel.EnvelopedSignatureWriter.ComputeSignature() at System.IdentityModel.EnvelopedSignatureWriter.OnEndRootElement() at System.IdentityModel.Metadata.MetadataSerializer.WriteEntityDescriptor(XmlWriter inputWriter, EntityDescriptor entityDescriptor) at System.IdentityModel.Metadata.MetadataSerializer.WriteMetadata(Stream stream, MetadataBase metadata) at Microsoft.Crm.Authentication.Claims.MetadataGenerator.GenerateCrmFederationMetadata(Stream stream) at Microsoft.Crm.Application.Components.Handlers.FederationMetadata.ProcessRequestInternal(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #52B75F04</Message> <Timestamp>2019-03-22T06:30:25.9316984Z</Timestamp> <ExceptionRetriable>false</ExceptionRetriable> <ExceptionSource i:nil="true" /> <InnerFault i:nil="true" /> <OriginalException i:nil="true" /> <TraceText i:nil="true" /> </OrganizationServiceFault> </exception>

<parameters xsi:nil="true"/>

<displaytitle/>

<displaytextencoded/>

<displaytext/>

<description>Invalid provider type specified. </description>

<file>Not available</file>

<line>Not available</line>

<details>Not available</details>

<traceInfo/>

<requesturl>internalcrm.kcenter.com/.../FederationMetadata.ashx&lt;/requesturl>

<pathAndQuery>/Handlers/FederationMetadata.ashx</pathAndQuery>

<source>ASHX_XML</source>

<stacktrace/>

</error>


I had also try another certificate with the lasted web server template (V4, Win server 2016) but still have the same error.

I had tried to find a free wildcard certificate from internet but it seems difficult for an internal domain name. 

Thanks for any ideas

Song

Outlook Client and automatic tracking of meeting

$
0
0

Hello All Experts,

Is it possible to automatically track the meetings from outlook to crm.

one more condition here is that when meeting gets automatically tracked then it should be tracked to the crm account as well as regarding item.

any help will be appreciable.

Team does not exist error message when assigning case

$
0
0

Someone who knows why I get this message when I assign a case to a team. The team exists and has security role as other teams where it works to assign cases to?!?

How to format email description in a table or line by line using c#

$
0
0

Hi 

I am retrieving crm records and sending email to users using c#. How can I format description to show records line by line or in table format ?

email["subject"] = "Contact Created This Week";

email["description"] = FL;

Fl is the string list containing record names. Thanks


Difference between Parent.Xrm.Page.GetAttrinute(...) and Xrm.Page.GetAttribute(...)

$
0
0

Hello,

What is the difference between Parent.Xrm.Page.GetAttrinute(...) and Xrm.Page.GetAttribute(...).

Regards,

Best Practice Analyzer issue after upgrading USD

$
0
0

Hello,

I am looking to get some assistance with Best Practice Analyzer setup inside Unified Service Desk (USD). I have noticed that this BPA installation comes as a part of USD 4.0 installer/deployer tool.

In my case please note that I am upgrading the USD from 2.x to 4.0 and I have found that the BPA related Assembly files are already there in the final upgraded USD setup. I am also able to use the same to configure BPA as a toolbar menu (+Action Call) just fine. I could also run it to generate the report.

The main question that I have is >>> Do I still need to worry about installing the BPA as a separate package (using the option that appears in USD 4.0 installer) or above auto-inclusion of BPA using the upgrade path to USD 4.0 is just sufficient.

Any help would be appreciated. Thanks, AR

Unified Service Desk "Back" issue with Agent Script

$
0
0

Hello,
I am after some help the USD setup where the “Go Back” Action call used in the agent script is not working any more after upgrade USD
to one of the lastest version.
Details:
-------------
There is an Agent Script which calls another agent script to form two levels of navigation between them and the attached session
starts based on the Email activity.
When I click on first Agent Script it switches to second script and keeps the second Agent Script drop down selected at the top. The
second script has few action calls (e.g. Search Contact etc.) including one for "GoBack" where its settings are >> HostControl =
Agent Scripting and Action = "Back".

At this stage if I click on "Go Back" (an action call which is created using USD's standard "Back" action) then its making the Call
Script drop down empty instead of going a go back operation to take me to the previous Agent script.

Please note that this has worked for me earlier in my USD 2.2 setup but after upgrade to 3.3+ version of USD I am getting the above
behaviour of Agent Scrip drop down becoming empty.

Can I get some help here? Thanks, AR

Problem with CRM for outlook

$
0
0

Hi everyone, i have the following problem... hope anybody can help me.

i have CRM 2015 and Outlook 2016. i installed Microsoft Dynamics CRM 2015 for Microsoft Office Outlook.

when I enter the CRM address http://server:5555, i got the following error

Error connecting to URL: {0} Exception: {1}| server/.../Organization.svc, System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'server/.../Organization.svc;sdkversion=71'. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: The handshake failed due to an unexpected packet format.


I don't know why the outlook client is trying to connect to the https of the server... we have no https... is there any .config or registry to modify the Organization.svc website?

Thanks!

 

hide multiple fields in CRM using wildcard for fieldnames

$
0
0

Hello,

I want to hide several fields via an onchange event for a yes/no field on a CRM form.

The field names all have the same prefix so is there any way I can use a wildcard to set the visibility of all the fields based on their fieldname.

So instead of individually:

Xrm.Page.ui.controls.get("new_sg2_text1").setVisible(true);
Xrm.Page.ui.controls.get("new_sg2_text2").setVisible(true);
Xrm.Page.ui.controls.get("new_sg2_text3").setVisible(true);

I would like something like

Xrm.Page.ui.controls.get("new_sg2_%").setVisible(true);

Many thanks for any suggestions.

- Seamus

Viewing all 79901 articles
Browse latest View live


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