Posts

Import configuration to the Internet Information Server

Hello, You can use following commands for configuration import, just open command prompt and type; %windir%\system32\inetsrv\appcmd add apppool /in C:\apppools.xml in order to import all Application pools under apppools.xml. %windir%\system32\inetsrv\appcmd add app site /in > c:\sites.xml in order to import all application  web sites under sites.xml. good luck,

Assembly Microsoft.Dynamics.Service.Plugins.dll can not be loaded. Dynamics CRM 365 Engine version 9 - CRM User creation error

Image
Hello, If You face an error while adding new user to the Dynamics CRM 365 onpremise for Version 9.0 stating that " Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Assembly Microsoft.Dynamics.Service.Plugins.dll can not be loaded. .... .... ....    <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmException: Assembly Microsoft.Dynamics.Service.Plugins.dll can not be loaded. ---&gt; Microsoft.Crm.CrmException: Assembly Microsoft.Dynamics.Service.Plugins.dll can not be loaded. ---&gt; System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Program Files\Microsoft Dynamics CRM\server\bin\assembly\Microsoft.Dynamics.Service.Plugins.dll' or one of its dependencies. Access is denied. .... .... .... " It is about missing perm

A Study : Authentication variety of Dynamics CRM (2016 - 365) with multiple domains and external providers(google, hotmail etc)

Image
Hello, I want to share configuration details of multiple LDAP service providers to be used for Dynamics CRM authentication. Fortunately, Dynamics CRM allows us to utilize federative services to authenticate users from multiple channels. Note: Authorization is handled by Dynamics CRM itself.  High Level Architecture: Dynamics CRM is dependent to only one Domain, rests will be leveraged federative services through ADFS by generating STS (Security Token) for Claimbase Authentication instead of Windows Authentication so Dynamics CRM must be installed to  single domain and Internet Facing Deployment must take in place for Dynmaics CRM then  LDAP vendors must integrate with the ADFS of domain which is utilized by Dynamis CRM. In my lab works, Scenario was; Any users who might be under one of the 2 seperated domain controllers internally or  external providers (Hotnail or Gmail etc.,) must login to the Dynamics CRM  successfully. I took Domain A as main and installed Dyn

can not add (global) event handler - The specified module could not be found - Error Code : 126

Hello, I want to add KeyPress Event to my program ;               this.globalEventProvider1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.globalEventProvider1_MouseDown);             this.globalEventProvider1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.globalEventProvider1_MouseUp); when i execute them, I am facing error; System.ComponentModel.Win32Exception: 'The specified module could not be found' Solution : We should load user32.dll and make a call as seen below: Load user32.dll and user it in SetWindowHookEx  //See comment of this field. To avoid GC to clean it up.                 s_MouseDelegate = MouseHookProc;                 var mar = LoadLibrary("user32.dll");                 //install hook                 s_MouseHookHandle = SetWindowsHookEx(                     WH_MOUSE_LL,                     s_MouseDelegate,                     /* Marshal.GetHINSTANCE(Assembly.GetExecutingAssembly().GetModules()[0]),

Make Dynamics CRM smarter with Chatbot - LUIS - QnA Maker

Image
Hello, Today, I would like to discuss with you making Dynamics CRM intelligent within our daily business. Suppose that your local Chatbot top of Microsoft Bot Framework welcomes your customer (  Create simple Chatbot solution over Microsoft Bot Framework in visual Studio 2017 - Step By Step instruction ) and receives text messages in human-readable format then converts it to machine-readbable (  LUIS - Language Understanding Intelligent Service - step by step instruction ) and finally triggers an operation in Dynamics CRM  or Azure Bot service receives customer questions then answers them through Knowledge Articles of Dynamics CRM without reaching out call center agent or customer representative (  Step by step instruction of QnA Maker configuration then Train it based on Dynamics CRM Sample Data Knowlegedbased artciles ) Here is high level picture of above scenarios;  Scenario 1 (process line with blue arrows): Customer connects to company portal or selfcare por

Step by step Configuration of Azure Bot for QnA maker

Image
Prerequisite of following imstruction is  http://www.muhammetatalay.com/2019/02/step-by-step-instruction-of-qna-maker.html QnA Maker : Build, train and publish a simple question and answer bot based on FAQ URLs, structured documents, product manuals or editorial content. Azure Bot Service : Build, connect, deploy, and manage intelligent bots to interact naturally with the other parties . 1.1                             Azure Bot for QnA ·         Sign In to Azure portal ( https://portal.azure.com ) ·         Select “All Resources” from the left section then click “Add” button from the top menu in the fly-out panel ·         Search for Web App Bot ·         Select Web App Bot from the result ·         Click “Create” from bottom of the newly open section ·         Type Bot name, select Subscription, Resource Group, Pricing Tier then ·         Click “Bot Template”, select “SDK v3” from SDK Vers

Step by step instruction of QnA Maker configuration then Train it based on Dynamics CRM Sample Data Knowlegedbased artciles

Image
1                                 QnA Maker Build, train and publish a simple question and answer bot based on FAQ URLs, structured documents, product manuals or editorial content. In my try, I used Sample Data of Dynamics CRM online  for Knowledged bases. You can skip it and copy-paste any text or KBs. 1.1                             Configuration ·         https://www.qnamaker.ai/ sign in to the service. ·         Create a QnA Maker Service by clicking “Create a knowledge base” menu item. ·         A from will display then click “Create a QnA service” button under “Step 1“ ·         A Windows is pop up. the Microsoft Azure main page is loaded with the current account (If you have login problem, you should contact Microsoft Support to review Microsoft Azure subscription) ·         Fill the fields and click create. ·         QnA Maker Creation may take some time. You can follow the progress from the menu. ·         Once Deployment finalizes,