1538 Wednesday, May 25, 2016 |
Msxrmtools Publisher
Publisher at Msxrmtools

Difference between GAC, Database and Disk deployments in Microsoft Dynamics CRM

MS CRM Notes


Difference between GAC, Database and Disk deployments

GAC Deployment

  • Plugin assebly registered in GAC
  • Plugins do not backed up with database
  • Plugins cannot be added to the solution
  • Plugins needs IISRESET to refresh
  • Does not support Dynamics CRM online
  • You can refer external DLL assemblies used in Plugin only if they are registered in GAC
DB Deployment

  • Plugin uploaded into the database
  • Plugins backed up with database
  • Plugins can be added to the solution
  • Plugins do not need IISRESET to refresh
  • Supports Dynamics CRM online deployment
  • You can refer external DLL assemblies used in Plugin only if they are registered in GAC
Disk deployments

  • Plugin assembly saved on CRM server hard disk
  • Plugins do not backed up with database
  • Plugins cannot be added to the solution
  • Plugins needs IISRESET to refresh
  • Does not support Dynamics CRM online
  • You can refer external DLL assemblies from the disk and from GAC
Note:
  • With ILMerge external referenced assemblies can be merged together to deploy as a single plugin assemly. This will remove the restriction with Dynamics CRM online deployments, but large assemblies are slow to load.
Misconception:
  • You need to deploy plugin dll on the CRM server to enable remote debugging, but this is not required for database deployment, you will need to put pdb file in C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly folder on crm server.
Benefits of Database Deployment
  • Only database assemblies can be packaged in solutions
  • Zero service interruption to update a database assembly
  • Simplified organization backup / import.
  • Disk assemblies will not support multiple versions
  • All assemblies consolidated into a single place
  • Sandbox and CRM Online only support database assemblies

Msxrmtools.com

What's New in CRM 2011 - Dialogs

In the eighth installment of Sonoma Partner's 10-part series, we will highlight a new feature in Microsoft CRM 2011- Dialogs, a visual workflow to guide users to entering CRM data.

Administration Introduction (1 of 5): Dynamics CRM 2011

This video provides an overview of data retention capabilities, additional data types and dynamic hyperlinks are available so that administrators can tailor dialogs and workflows to meet specific business requirements. At Training Material Completion you will be able to:

• Recognize the concept of a Multiple Series chart, with visual examples, to compare similar data points (e.g., budget to actual)

• Create charts with multiple series

• Create charts with multiple categories

• Create area charts and stacked charts

What's New in CRM 2011 - Connections

In the tenth installment of Sonoma Partner's 10-part series, we will highlight an enhanced feature in Microsoft CRM 2011- Connections, an easy way to capture relationships between records in your system.

Chart Visualization Multiple Series Charts (3 of 5): Dynamics CRM 2011

This Snack shows how to use chart designer to quickly and efficiently create graphs and charts to monitor business metrics in Microsoft Dynamics CRM 2011 At Training Material Completion After you complete this snack you will be able to:

• Add and delete entities

• Refresh the metadata

• Manage profiles

• Import and export profiles

New content for CRM 2016 spring wave

The CRM 2016 spring wave includes many new and exciting features! 

The official names for the spring wave releases are:

  • Microsoft Dynamics CRM Online 2016 Update 1 and Microsoft Dynamics CRM 2016 Service Pack 1
  • Microsoft Dynamics Marketing 2016 Update 1
  • Microsoft Social Engagement 2016 Update 1.5

Microsoft Dynamics CRM

What’s new (all features)

Field service

Project service

CRM portals

Mobile offline

Power BI

Subscription and release history

For developers

Microsoft Dynamics Marketing

Microsoft Social Engagement

Quick references

Order Management

When customers confirm requests for the product or service, a sales representative can then create an order.

Dynamics CRM 2011 : Teams, Queues, Sales Literature

Partner Landscape Overview: Microsoft Dynamics CRM 2011

A 30 second overview of the partner opportunities with Microsoft Dynamics CRM.

Email Router Demystified in MS CRM Part -1

Troubleshooting Email Router Configuration Wizard issues

The first part of the Email Router to ensure you don’t run into any issues is around the Email Router Configuration Manager.  If you run into errors within the Email Router Configuration Manager, you will face these same errors when the Email Router is trying to process the email requests.  We need to ensure that the configuration is error free.

Load Data

The first step of ensuring the Email Router is configured properly is to click on Load Data.  When clicking on Load Data, it is going out to the Organization service and retrieving a list of CRM users that have their User Profile configured for E-mail Router for the Incoming/Outgoing E-mail Access Configuration.  If you run into an issue when clicking on Load Data, this indicates an issue accessing the CRM services, either the Discovery or Organization service endpoints.  To troubleshoot this issue, ensure you take the URL provided within the Deployment Profile and append it with the following: URL/XrmServices/2011/Discovery.svc?wsd
URL/XRMServices/2011/Organization.svc?wsdl

This should show an XML response like the following:

If you get any error accessing this URL, then you will need to troubleshoot those errors before the Load Data will ever work.  Since there are a vast number of problems that can come up when accessing this URL, we will not cover any of these. However, knowing that Load Data is directly related to the Deployment Profile should help you

Service Account

If you are able to access the Organization and Discovery services within Internet Explorer and not able to within Load Data, it could be an issue with the account running the Email Router service.  When clicking on Load Data, it is running under the context of the Email Router service account.  This account can be found within Services (Start > Administrative Tools > Services) with the name of Microsoft CRM Email Router.  By default, the account running the Email Router service is Local System.

NOTE: The service account needs to be a Microsoft Dynamics CRM user or it needs to be added to the PrivUserGroup for CRM OnPremise customers.

If you experience an error where the Email Router Configuration Manager is not able to Load Data, try changing the service account running the Microsoft CRM Email Router service to a domain user.  I have seen many situations where the Email Router is not able to connect to CRM due to proxy configuration.  Within these environments, the internet proxy configuration is pushed out to users and not applied to servers/workstations. 

If you still experience issues while clicking on Load Data after changing the service account to a domain user, then look at using a web debugger, called Fiddler, to try and give more information about what actual HTTP errors we are getting.  Again, when clicking on Load Data, we are trying to access a couple of HTTP endpoints from CRM.  In order for Fiddler to log the HTTP requests coming from the Load Data request, the Microsoft CRM Email Router service account must be the logged in user.  Fiddler will only capture HTTP requests of the user that opened the application.  We will cover using Fiddler in a later section but let’s view a situation where Fiddler can be used to help identify an issue with Load Data.

 

Fiddler 

In this scenario, I can see that when clicking on Load Data I am getting a very generic response in my OnPremise environment with Claims and IFD enabled.  When using the Auth endpoint for the Deployment Profile, the error I get from Load Data shows:

However, using Fiddler, I can get a better understanding of where the failure is occurring:

The error shows that it’s coming from ADFS.  This could help me with troubleshooting as I now know to look at the ADFS logs and see what exception is being raised there.

Test Access

After we have successfully loaded the users from the Load Data button, the next step to ensure the Email Router will work properly is to click on a user and then click on Test Access.  So when we click on Test Access, what exactly is the Email Router doing?  There is a lot of speculation of what this is exactly doing so let’s demystify and document what it actually does.

Incoming

  1. The first request being made is out to Exchange using EWS to do a GetFolder request for the default folder providing the user’s Mailbox email address and authenticating as the account within the Incoming Profile.  The response that comes back should be that of the Inbox.
  2. Now, as the account within the Deployment Profile, it logs into CRM and does a series of Organization service requests.  The first one is a WhoAmIRequest.  The WhoAmI response contains the user’s UserId, BusinessUnitId, and OrganizationId
  3. The next CRM request being made is CheckRouterCompatibility.  This is to verify that we are not using an older or newer version of the Email Router that is not supported by that version of Microsoft Dynamics CRM.
  4. Lastly, we do a CheckIncomingEmailRequest and checking if the result comes back with a ReasonCode of ShouldDeliver

 

Outgoing

  1. The first thing that happens is a WhoAmIRequest being made to the CRM server as the account specified in the Deployment Profile.  The WhoAmI response contains the user’s UserId, BusinessUnitId, and OrganizationId
  2. The next request being made is CheckRouterCompatibility.  This is to verify that we are not using an older or newer version of the Email Router that is not supported by that version of Microsoft Dynamics CRM.
  3. Lastly, it does one of the following:
    1. SMTP: The Email Router is doing a HELO request.  The router is looking for a ReplyCode of 220 within the response that comes back from the server.  We can emulate a similar request by using a Telnet as discussed HERE:

       
    2. EWS: The router is doing a GetFolder EWS request for the Default folder.  The response that comes back should be that of the Inbox.

As long as no error is presented during these requests, then you should see Succeeded responses within the Email Router Configuration Wizard.

 

The next part of this post is to cover Troubleshooting Outgoing email issues.

[Job] - IBM:Package Solution Consultant: MS Dynamics AX | India

 

 

 

 

Comapny: IBM

Location: Bangalore, Gurgaon, Kolkata, Pune, Hyderabad | India 

Package Solution Consultant: MS Dynamics AX

Roles and Responsibilities: You will: -

  • -Evaluate and review new and existing software applications and technologies.
  • -Identify systems solutions to support business strategies and objectives
  • -Research, design, and develop software solutions to meet specifications.
  • -Assist Architects in selecting additional tools and applications to support business needs
  • -Assist with application maintenance by monitoring and correcting software defects
  • -Ensure adherence to and contribute to continuous improvement of internal policies/procedures, change control practices, etc.
  • -Provide on-going support for production applications

*Experience : 3 Years to 10 Years

Location :Bangalore, Gurgaon, Kolkata, Pune, Hyderabad

Required Technical and Professional Expertise:
Package Solution Consultant: MS Dynamics AXRoles and Responsibilities: You will: --Evaluate and review new and existing software applications and technologies. -Identify systems solutions to support business strategies and objectives -Research, design, and develop software solutions to meet specifications.

Preferred Technical and Professional Experience:

Provide on-going support for production applications *Experience : 3 Years to 10 Years

Preferred Education:
Bachelor's Degree