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

Adxstudio portal v.7 search error: Unable to load DLL 'osafehtm.dll': The specified module could not be found.

$
0
0

Hello,

We are getting the following error when we try to use the search bar on the home page of our adxstudio portal: 

Unable to load DLL 'osafehtm.dll': The specified module could not be found.

The issues seems to have occurred following a recent update. 

I tried the following steps to resolve the issue, but so far no luck: 

- install adxstudio search solution and enable search service

- reference osafehtm.dll in visual studio portal project (dll file could not be referenced)

Any help with this issue would be greatly appreciated. We have been spinning around for weeks with it now. 

Thank you. 


Product Properties

$
0
0

Hi everyone, 

I started setting up properties in products, all works fine i can add details etc. 

But now what ? How can i use them ? How i can view them except the inline edit ?

How can i view them them in a subgrid or in a ssrs report or even get statistics out of them ?

Thank you in advance

Chris

CRM 2016 Update Failure at 8.0.0.528 - TargetInvocationException

$
0
0

Hi,

I am trying to upgrade our existing on premise deployment from 8.0.0.528 to 8.2.003.008. Unfortunately the deployment manager throws the following error when I try to upgrade my instance. According to the xRM Toolbox the priviledge is available. The user is a system administrator.

Any suggestions are welcome.

Thank you very much!
Ralf

16:38:20| Info| CrmAction execution time; InstallDatabaseUpdatesAction; 00:02:54.4208228
16:38:20| Error| Installer Complete: OrganizationDatabaseHotFixer - Error encountered
16:38:21| Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction
InnerException:
System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Principal user (Id=7b22072a-4757-e311-8401-00505694701d, type=8) is missing prvReadmsdyn_PostRuleConfig privilege (Id=6e22414c-af5e-4b61-b49c-719232eeab48)
bei Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext)
bei Microsoft.Crm.Extensibility.InprocessServiceProxy.ExecuteCore(OrganizationRequest request)
bei Microsoft.Crm.SE.DllMethodActions.UpdateActivityFeedsCaseAssignPlugin.GetPostRuleConfigId()
bei Microsoft.Crm.SE.DllMethodActions.UpdateActivityFeedsCaseAssignPlugin.UpdatePostConfigRule()
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
bei System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
bei Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId, Nullable`1 operationType)
bei Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
bei Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
bei Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
bei Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.ApplyDBUpdates(Guid orgId, Nullable`1 operationType)
bei Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors, OrganizationOperationType operationType)
bei Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdates(Guid orgId, String orgUniqueName, OrganizationOperationType operationType)
bei Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.Do(IDictionary parameters)
bei Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
InnerException:
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Principal user (Id=7b22072a-4757-e311-8401-00505694701d, type=8) is missing prvReadmsdyn_PostRuleConfig privilege (Id=6e22414c-af5e-4b61-b49c-719232eeab48) (Fehlerdetail ist gleich Microsoft.Xrm.Sdk.OrganizationServiceFault).

Cannot access cases from Entitlements

$
0
0

Hi All,

I am currently unable to access cases from entitlement entity's case sub-grid. The system throws contact admin error.

My security role is System Admin and checked relationships as well as views. Everything looks fine.

Any idea what might be wrong?

Thanks,

RB

Business Rule does not apply to all users

$
0
0

Hi,

I've created a business rule to lock certain fields after an entity is saved/created ('Created On' contains data). It works for me when I test it, but not for other users. I've tried different scopes and I've also checked that the standard Security Role is set to 'Read' for the Process under the Customization tab. Users who have this Security Role still do not see the Business Rule firing.

Any help would be greatly appreciated.

Restrict Plugin To Process On Views and Advance Find View

$
0
0

Hi All,

I have a plugin with step RetrieveMulttiple message, which will trigger on task entity. But I want this plugin to process only when user tried to open the form.

But it is firing on the Views and Advance Find. I want to restrict the plugin in the views because it is causing the performance of CRM.

If you see in the below code on Post Operation I am trying to restrict it. 

Please help.  

CRM plugin Target Properties in RetrieveMultiple Message

$
0
0

Hi All,

Can I get form properties or entity properties for a target in retrieveMultiple message plugin.

Is this doable ?

My code

void OnPostOperationRetrieveMultiple(LocalPluginContext lpc)
{
if (lpc.PluginExecutionContext.InputParameters.Contains("Target"))
{
var target = (Entity)lpc.PluginExecutionContext.InputParameters["Target"];

throw new InvalidPluginExecutionException("IN TARGET");

}

}

Please help

Setting Up Email Profile for O365

$
0
0

My company is in the process of upgrading to Office 365. Our IT department is the first to get it so we can migrate everything correctly and what not before it goes to the rest of our users.

Since my mail has been upgraded to O365 I lost my ability to use mailbox in CRM with our current exchange email server profile. Has anybody ran into similar issues? I tried Exchange hybrid and Exchange online and both dont seem to work.

Any thoughts?


Set metadata when uploading a document in Dynamics 365

$
0
0

Hello everyone!


I have a question.
It's about the CRM and SharePoint.
It's like when we upload documents into an entity (whether PDF, Word or Excel file),
that this data is transferred to SharePoint.
Now my question is:
Is there a way to transfer metadata to the documents that are uploaded to the CRM so that you can easily find the documents in SharePoint using this metadata?

Thank you very much for the answers.

Choosing Plugin or Extension for a Class Library that will execute none CRM tasks. CRM Dynamics

$
0
0

Hello All,

The purpose of my project is to create a trigger that will execute whenever a specific CRM task is made.  For this example, lets say whenever the user adds a new contact into CRM.  So whenever the user adds a new contact into CRM, I want the trigger to just add some credentials of that contact into a company spreadsheet that is located on the company network OR open a MySQL connection and then write these credentials into a separate MySQL database.  The reason I am being so vague about the end goal of my project is because we do not neccessarily know what we want this trigger to do yet, but it will lay within the realm of: accessing a MySQL db, opening and writing to a excel file, or opening a console application (located on our network). 

Question 1)  Is it possible to use a plugin or an Extension to achieve my purpose?

Question 2)  I have already made a Sample plugin, attempted to simply open a MySQL connection when debugging but will always receive a MySQL permissions error, similarly to the one shown here https://stackoverflow.com/questions/5212973/request-for-the-permission-of-type-system-data-sqlclient-sqlclientpermission-s , except I do not have access to these settings as a plugin is a class library and the example shown in the link is a web app.  

I am using Dynamics CRM and not 365.  

How to get my custom workflow name in Custom Workflow code

$
0
0

How to get my custom workflow name in Custom Workflow code

Adding Facets to Dynamics Portal Search

$
0
0

In the Facets Template I can see that the values for ModifiedOn / Rating and Associated Product are provided out of the box.  I wanted to also allow filtering by Related Category. Does anyone know what value that is on the Knowledge Article record to be able to facet by?

Template = Faceted Search - Facets Template

This is the example for Modified on:

  {{#ifvalue facetName value="modifiedon.date"}}
  {{#if noData}}
  {{else}}
   <div class="facet-view panel panel-default">
    <div class="facet-title panel-heading">{%endraw%}{{ snippets['Search/Facet/ModifiedDate'] | default: resx['Facet_DateModified'] | h }}{%raw%}</div>
    <div class="panel-body">
     <ul class="facet-list-group"
      role="radiogroup" aria-label="{%endraw%}{{ snippets['Search/Facet/ModifiedDate'] | default: resx['Facet_DateModified'] | h }}{%raw%}">
      {{#each facetData}}
       <li class="facet-list-group-item clearfix control-item {{#if active}}active{{/if}}" tabIndex="{{#if active}}0{{else}}-1{{/if}}" data-facet="{{../facetName}}" data-control-value="{{name}}"
        role="radio" aria-label="{{displayName}} {{hitCount}}" aria-selected="{{#if active}}true{{else}}false{{/if}}" aria-checked="{{#if active}}true{{else}}false{{/if}}">
        <span class="facet-list-group-item-count pull-right">{{hitCount}}</span>
        <div class="facet-list-group-item-title-container">
         <span class="facet-list-group-item-title pull-left">
          <input type="radio" name="{{../facetName}}" value="{{name}}" {{#if active}}checked{{/if}} tabindex="-1" role="presentation">{{displayName}}
         </span>
        </div>
       </li>
      {{/each}}
     </ul>
    </div>
   </div>
  {{/if}}
  {{/ifvalue}}

Supported method to display Child Account Opportunities on Parent Account page?

$
0
0

Hello,

I am checking in to see if there is an updated answer on this question. Is it possible to show the Opportunities of the normal Account (i.e. parent account) and child accounts on the same grid on the parent Account page? 

If not... What do you all think of this methodology involving new fields, background workflows, and form JS display functions. Would look like this, but I would need to repeat for all my entities (appointments, contacts, Opportunities...) and is repetitive data storage.

make sure opportunity has fields [Opportunity Account] and [Opportunity Parent Account]

1) User lookups "Account A" and sets to field [Opportunity Account]

2) Background workflow: If "Account A" has a parent account, set Parent Account of Account A to field [Opportunity Parent Account]

2a) If Account A has not parent account, set Account A to field [Opportunity Parent Account] 

3) On Account page, utilize javascript to detect if Account is a parent account. If so, display Grid that utilizes field [Opportunity Parent Account] (rather than [Opportunity Account]) and hide the normal one.

Repeat for other entities.

Other ideas?

update test environment

$
0
0

Hi I have an existing UAT environment for CRM 2011. It's on a different server and had config data base as well.   to bring production data to UAT I did the following steps:

 1) took full copy of production database

2) restored production back up to UAT database

3) did run scrip to change the organizationID for UAT database. I looked at config database in UAT environment to find organizationID of existing UAT database

4) run CRM deployment manager, disabled UAT organization and reattached it b. enabled UAT organization

after all of that is still only can open UAT CRM link only under admin account, it does not open under regular account.

what am I missing? thank you

UAT environment initially had dev admin account, production prod admin account. I can't change it bcs I probably logged in as dev admin account already

Users cannot login

$
0
0

Embed VSTS work item page in CRM dynamics case page and on dynamics portals

$
0
0

I want to embed VSTS work item url something like this (https://dev.azure.com/<orgnization>/<project>/_apis/wit/workItems/372/) in CRM case view page and/or CRM portals case page using iframe. However am getting 'content refused to show error' probably due to the X-Frame-Options Deny/SameOrigin in VSTS or at CRM end. For Portals -> Site Settings -> I have disabled 'X-Frame-Options' entity which didn’t not help

As a work around, I used Chrome extension ‘Ignore X-Frame Headers’ which worked (pic below) , however I looking for a permanent solution to fix this in CRM. Also are there any other alternatives on CRM to embed external site page. Looking for some help here, thanks

Allow and ignore additional querystring parameters when calling a web resource

$
0
0

Hi all

We are trying to do a simple process whereby an external app on a user's PC launches a browser pointing at a CRM web resource. Fairly simple, and done successfully multiple times, except with our latest attempt, the app we're using to launch the URL pointing at the web resource insists on appending some additional session info to the querystring. This results in a 500 error from CRM Online.

Does anyone know if there is a way to configure CRM Online to simply ignore unknown querystring params? Unfortunately this app is not configurable.

Thanks
James

how to convert a async workflow to a realtime workflow

$
0
0

Hi All,

how to convert a async workflow to a realtime workflow 

Thanks in advance...

When System Administrator enables Mailbox then an automated system generated email sent to different uses automatically

$
0
0

Hi Everyone,

We are facing one major issue related to Enable Mailbox.

We have a user with System Customize and System Administrator role. When this user Mailbox get enabled with "Office 365 premium license" or "Office 365 E3 license", a system generated automated email get sent to different users.

There is no background workflow, no activities, no rules has been noted which says the email sent details.

I would really appreciate if someone can help me on this regard.

Thanks

Kavita

Dynamics 365 V9.0 Onpremise Installion Error - Failed to load solution Microsoft Dynamics 365 Settings APIs - Only characters within the ranges [A-Z], [a-z] or [0-9] or _ are allowed

$
0
0

Hello everybody,

   During install Dynamics 365 V9.0 with a base language English,  when the progess starts to import CRMSettingsAPIs solution, the setup gives an error "Invalid character specified for solution unique name: CRMSettingsAPIs. Only characters within the ranges [A-Z], [a-z] or [0-9] or _ are allowed.  The first character may only be in the ranges [A-Z], [a-z] or _.".

  

SQL Server  Collation: SQL_Latin1_General_CP1_CI_AS

Have anybody ever encountered this error before?

11:06:29|   Info| Installing CRMSettingsAPIs from C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Solutions\Others\SettingsUIDataSDK_managed_Package.zip.
11:06:29|   Info| Attempting to acquire lock to unzip package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Solutions\Others\SettingsUIDataSDK_managed_Package.zip to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Solutions\Others\PkgCache_9_0_0002_3034\CRMSettingsAPIs.
11:06:29|   Info| Acquired llock to unzip package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Solutions\Others\SettingsUIDataSDK_managed_Package.zip to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Solutions\Others\PkgCache_9_0_0002_3034\CRMSettingsAPIs. Took 0 seconds.
11:06:29|   Info| Unzipping package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Solutions\Others\SettingsUIDataSDK_managed_Package.zip to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Solutions\Others\PkgCache_9_0_0002_3034\CRMSettingsAPIs.
11:06:29|   Info| Unzipped package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Solutions\Others\SettingsUIDataSDK_managed_Package.zip to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Solutions\Others\PkgCache_9_0_0002_3034\CRMSettingsAPIs. Took 0 seconds.
11:06:29|   Info| Released lock for package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Solutions\Others\SettingsUIDataSDK_managed_Package.zip unzipped to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Solutions\Others\PkgCache_9_0_0002_3034\CRMSettingsAPIs.
11:06:29|   Info| Found CRMSettingsAPIs in cache C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Solutions\Others\PkgCache_9_0_0002_3034\CRMSettingsAPIs.
11:06:29|   Info| PackageDeployer: Starting CRMSettingsAPIs install.
11:06:31|   Info| Failed to install package CRMSettingsAPIs on attempt 1.
11:06:31|   Info| Failed to install CRMSettingsAPIsException: Microsoft.Crm.PackageDeployment.PackageDeployerException: Package CRMSettingsAPIs failed to install on attempt 1.
System.AggregateException: One or more errors occurred. ---> Microsoft.Crm.MultiTenantPackageDeployment.PackageDeployerImportException: PackageDeployerWrapper: Import Failed status encountered. Details: Failed to load solution Microsoft Dynamics 365 Settings APIs, version: 9.1. See the log file.
   at Microsoft.Crm.MultiTenantPackageDeployment.PdExecutor.Process(PackageDeploymentInputArgs input, JobOutput`1 output, CancellationToken ct)
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
---> (Inner Exception #0) Microsoft.Crm.MultiTenantPackageDeployment.PackageDeployerImportException: PackageDeployerWrapper: Import Failed status encountered. Details: Failed to load solution Microsoft Dynamics 365 Settings APIs, version: 9.1. See the log file.
   at Microsoft.Crm.MultiTenantPackageDeployment.PdExecutor.Process(PackageDeploymentInputArgs input, JobOutput`1 output, CancellationToken ct)
   at System.Threading.Tasks.Task.Execute()<---

[29.03.2019 08:06:29]: PackageDeployerWrapper: Resetting PackageDeployer operation completion state.
[29.03.2019 08:06:29]: PackageDeployerWrapper: Starting PackageDeployer configuration parsing.
[29.03.2019 08:06:29]: Reading the import configuration. Please wait.
[29.03.2019 08:06:29]: Reading the solutions. Please wait.
[29.03.2019 08:06:29]: Found the solution: Microsoft Dynamics 365 Settings APIs, version: 9.1 (Managed)
[29.03.2019 08:06:29]: PackageDeployerWrapper: PackageDeployer successfully finished configuration parsing.
[29.03.2019 08:06:29]: PackageDeployerWrapper: Starting PackageDeployer import operation.
[29.03.2019 08:06:29]: PackageDeployerWrapper: Waiting for PackageDeployer completion...
[29.03.2019 08:06:31]: PackageDeployerWrapper: PackageDeployer reported status [Failed] during import: Failed to load solution Microsoft Dynamics 365 Settings APIs, version: 9.1. See the log file.
[29.03.2019 08:06:31]: PackageDeployerWrapper: Logger LastError: Message: Importing solution threw and unforeseen exception
Source	: Microsoft.Crm.Extensibility
Method	: Execute
Date	: 11:06:31
Time	: 29.03.2019
Error	: Solution manifest import: FAILURE
Stack Trace	: at Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageCore.ImportCode.BaseImportCustomizations.ExecuteImportSolution(ConfigSolutionFile Sol, String sSolutionImportFilePath)
======================================================================================================================

[29.03.2019 08:06:31]: PackageDeployerWrapper: Logger LastException: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Solution manifest import: FAILURE (Fault Detail is equal to Exception details: 
ErrorCode: 0x80048033
Message: Solution manifest import: FAILURE; 
[Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
[1b830950-e106-4ee1-b3fd-d348cb65dc8d: ObjectModel Implementation]


TimeStamp: 2019-03-29T08:06:31.2875625Z
--
Exception details: 
ErrorCode: 0x80048033
Message: Solution manifest import: FAILURE
TimeStamp: 2019-03-29T08:06:31.2875625Z
--
Exception details: 
ErrorCode: 0x8004F002
Message: Invalid character specified for solution unique name: CRMSettingsAPIs. Only characters within the ranges [A-Z], [a-z] or [0-9] or _ are allowed.  The first character may only be in the ranges [A-Z], [a-z] or _.
TimeStamp: 2019-03-29T08:06:31.2875625Z
--
).
[29.03.2019 08:06:31]: PackageDeployerWrapper: PackageDeployerWrapper: OrganizationServiceFault details: Exception details: 
ErrorCode: 0x80048033
Message: Solution manifest import: FAILURE; 
[Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
[1b830950-e106-4ee1-b3fd-d348cb65dc8d: ObjectModel Implementation]


TimeStamp: 2019-03-29T08:06:31.2875625Z
--
Exception details: 
ErrorCode: 0x80048033
Message: Solution manifest import: FAILURE
TimeStamp: 2019-03-29T08:06:31.2875625Z
--
Exception details: 
ErrorCode: 0x8004F002
Message: Invalid character specified for solution unique name: CRMSettingsAPIs. Only characters within the ranges [A-Z], [a-z] or [0-9] or _ are allowed.  The first character may only be in the ranges [A-Z], [a-z] or _.
TimeStamp: 2019-03-29T08:06:31.2875625Z
--

Viewing all 79901 articles
Browse latest View live


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