CRM 2011

Microsoft CRM 2011 Defaults to Mobile Site /m

Microsoft CRM 2011 Defaults to Mobile Site /m When hitting our CRM 2011 website after recent rollup updates, the website defaults to to a URL with a /m/  and shows a mobile site. The FIX This is really simple. When the site reformats to:  /m/defualt.aspx  Just replace that with /main.aspx So this: Becomes: It’s that easy!

Microsoft CRM 2011 Exception message: ID4175: The issuer of the security token was not recognized by the IssuerNameRegistry

Error When attempting to login to an IFD (Internet Facing Deployment of CRM) you receive this error: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 10/06/2014 1:54:52 AM Event time (UTC): 9/06/2014 3:54:52 PM Event ID: 6da606a9a6794c2a8f504cc6b8b3be3e Event sequence: 2 Event occurrence: 1 Event detail code: 0  Application information:     Application domain: /LM/W3SVC/2/ROOT-1-130468028783689054     Trust level: Full     Application Virtual Path: /     Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\     Machine name: VSERVER08  Process information:     Process ID: 1540     Process name: w3wp.exe     Account name: NT AUTHORITY\NETWORK SERVICE  Exception information:     Exception type: SecurityTokenException     Exception message: ID4175: The issuer of the security token was not recognized by the IssuerNameRegistry. To accept security tokens from this issuer, configure the IssuerNameRegistry to return a valid name for this issuer.   at Microsoft.IdentityModel.Tokens.Saml11.Saml11SecurityTokenHandler.CreateClaims(SamlSecurityToken samlSecurityToken)   at Microsoft.IdentityModel.Tokens.Saml11.Saml11SecurityTokenHandler.ValidateToken(SecurityToken token)   at Microsoft.IdentityModel.Tokens.SecurityTokenHandlerCollection.ValidateToken(SecurityToken token)   at Microsoft.IdentityModel.Web.TokenReceiver.AuthenticateToken(SecurityToken token, Boolean ensureBearerToken, String endpointUri)   at Microsoft.IdentityModel.Web.WSFederationAuthenticationModule.SignInWithResponseMessage(HttpRequest request)   at Microsoft.IdentityModel.Web.WSFederationAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs args)   at Microsoft.Crm.Authentication.Claims.CrmFederatedAuthenticationModule.OnAuthenticateRequest(Object sender,… Read More »Microsoft CRM 2011 Exception message: ID4175: The issuer of the security token was not recognized by the IssuerNameRegistry

Microsoft CRM IFD SSL Certificate Renewal

Following on from our very popular IFD configuration for Microsoft CRM. [gard] The time will come around where you need to renew the SSL certificate for your CRM IFD configuration. This will include the renewal of the SSL certificate as used by IIS and and ADFS. Couple of steps we followed based exactly on the configuration outlined in our above linked blog post. Generate a new SSL Request. 1. Open IIS Manager and click on server certificates. 2. Create certificate request 3. Fill in the data: Next 4. Change to 2048 Bit 5. Give it a name: Finish and you are done. Now Open the certificate text file and copy the text to your clip board, or use this with your certificate authority to issue you a new Wild Card Certificate. * is what we use. To get the certificate we use a service called “” who allow you… Read More »Microsoft CRM IFD SSL Certificate Renewal

CRM 2011 Email Router Setup and Settings

Often with the setup of CRM 2011. Users experience messages about Pending e-mail warning and sometimes email messages are not sending. [gard] This can be especially frustrating as both the CRM email queuing and tracking system and the Email router application are terrible to help you understand exactly what is going on with your CRM e-mail. We mentioned some of the issues we have experience here: Here are some basic setup tips for email in Microsoft CRM 2011 1. Out of the box, CRM does not send email messages. You need to configure an application known as CRM 2011 Email Router to have email messages send. 2. You also need a working SMTP (email server) that is configured to allow the relay of email messages from email accounts at your domain name. This can be achieved with Amazon SES message service or your own servers. We can assist you… Read More »CRM 2011 Email Router Setup and Settings

Download Rollup 12 for Microsoft Dynamics CRM 2011 is Available–Finally

Reposted: Today the update Rollup 12 for Microsoft CRM 2011 (CRM 2011 Polaris on premises) is available for download at this location: Download   This update is the long awaited one that is doing the UI update that will add the support for multiple browsers apart from Internet Explorer. The image above depicts the functionality included in Polaris. I will now touch upon some of the key ones in a little more detail, hopefully in plain English! Flow User Experience – this is a whole new UX development approach for CRM to remove the number of screen pops that occur during a standard process. In the case of Polaris, Lead and Opportunity and Case management processes will be included. It is important to note that this feature will be turned off for existing online customers, but can be opted into and for new online customer post the release this… Read More »Download Rollup 12 for Microsoft Dynamics CRM 2011 is Available–Finally

CRM 2011 Rollup 10 Invalid Argument Error

CRM 2011 Rollup 10 Killed My CRM After installing CRM 2011 Rollup 10 (not 9 as that is MIA) you receive an Invalid Argument messages as per the image above. This happens after you login to an IFD deployment. For all we know it may happen on the CRM on premises but we have not managed to test that. You may also have a CRM Platform Trace Error: Crm Exception: Message: A non valid page number was received: 0, ErrorCode: –2147220989 CRM’s Fetch Throttling abilities have been disabled or modified from the default values. Re-enable CRM’s default Fetch Throttling settings. The solution 1. START | RUN | “regedit” | OK 2. Locate and select the registry subkey: HKEY_LOCAL_MACHINESoftwareMicrosoftMSCRM Change the value on: TurnOffFetchThrottling to 0 In fact if you find either MaxRowsPerPage or the TurnOffFetchThrottling registry keys set them both to 0 or delete them. 3. START | RUN |… Read More »CRM 2011 Rollup 10 Invalid Argument Error

AD FS certificate rollover CRM 2011

You find that you can’t logon to your CRM 2011 IFD deployment that you have configured around 12 months earlier. In the browser you may see: HTTP Error 401 – Unauthorized: Access is denied <html><body><p> An error has occurred. <br/><br/> Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization&#39;s Microsoft Dynamics CRM Administrator. Finally, you can contact Microsoft Support. </p></body></html>   Looking at the server log may show: SERVER Log Error show: 1309 Event code: 3005 Event message: An unhandled exception has occurred. Event time: 9/07/2012 12:09:59 PM Event time (UTC): 9/07/2012 2:09:59 AM Event ID: 50c7c9d7c3ba4b839bca7c72b9edf410 Event sequence: 51779 Event occurrence: 11 Event detail code: 0   Application information:     Application domain: /LM/W3SVC/2/ROOT-1-129862684501956875     Trust level: Full     Application Virtual Path: /     Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\     Machine name: VSERVER08   Process information:     Process… Read More »AD FS certificate rollover CRM 2011

Event ID 17137 from source MSSQL$MICROSOFT##SSEE

  Cleaning up the Event Log On a system running the CRM 2011 IFD as described here: You may notice in the Event Log some errors that look like: The description for Event ID 17137 from source MSSQL$MICROSOFT##SSEE cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: AdfsArtifactStore The specified resource type cannot be found in the image file The Solution 1) Open SQL server management studio. 2) Connect to \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query 3) Right-click on the database AdfsArtifactStore and select “Properties” 4) Click on the Options page 5) Set “Auto close” to False

CRM Anywhere – CRM Q2 CY 2012 Service Update Now Live

CRM Anywhere Q2 CY 2012 Service Update Now Live   Microsoft CRM 2012 – CRM Anywhere Q2 2012   Preview some upcoming features in Q2 "R8" such as mobility, BI and Analytics enhancements from Reuben Krippner a MSFT Technical Product Management Lead in this video. One of the most talked about improvements in CRM Anywhere is the introduction of a new mobility component dubbed Microsoft Dynamics CRM Mobile. Cross-Browser Support Microsoft Dynamics CRM Mobile isn’t the only reason Microsoft is calling the coming update CRM Anywhere. Users of CRM Online 2011 will now be able to access the application using the following browser versions (see below). To understand why this is so important for CRM Online 2011, let’s turn to a few third-party statistics on browser usage around the world. The following table compiles several different studies for easy comparison. You should notice that while Internet Explorer is definitely in… Read More »CRM Anywhere – CRM Q2 CY 2012 Service Update Now Live

Disable SSL 2.0 IIS 7 Windows 2008 64bit with CRM 2011 for PCI Compliance

PCI Failure Today we received notification during a PCI compliance check that our Microsoft CRM 2011 server was not PCI Compliant. The cause of the lack of compliance was due to the server accepting connections via an SSL v 2.0 protocol. Synopsis : The remote service encrypts traffic using a protocol with known weaknesses . Description : The remote service accepts connections encrypted using S S L 2.0, which reportedly suffers from several cryptographic flaws and has been deprecated for several years . An attacker may be able to exploit these issues to conduct man-in-the-middle attacks or decrypt communications between the affected service and clients . See also : Download File – ZipSource aper-ssl.pdf Solution: Consult the application’s documentation to dis able S S L 2.0 and us e S S L 3.0 or TLS 1.0 instead. Risk Factor: Medium / CVS S Bas e S core : 2… Read More »Disable SSL 2.0 IIS 7 Windows 2008 64bit with CRM 2011 for PCI Compliance

CRM 2011 Server Error 404 – File or directory not found

Cannot Access CRM 2011 site 404 Something strange that we have encountered with CRM 2011 is a 404 – File or directory not found error. What is particularly strange about this one is that the error happens from IE 9 on one computer, but the same URL and site loads correctly with another browser on another computer AND loads correctly to the authentication screens on the same computer but with a different browser. Go figure right!   Microsoft show it as: So what is the Solution? We tried a number of things that did not work, and we will not bother to list them all, but interesting the clearing the browser history and cache etc does not fix it but is needed to fix it. 1. Clear history and cache in the browser: 2. Close the Browser entirely 3. Navigate to C:\Windows\Temp and delete everything in that directory. 4. From… Read More »CRM 2011 Server Error 404 – File or directory not found

Your session in Microsoft Dynamics CRM is about to expire. CRM 2011 2013 Extend Session Time

Sick of seeing the message “Your session in Microsoft Dynamics CRM is about to expire. To continue working, you must sin in again.” and would like to extend the session time so as not to bother you as often? This is quite easy with an IFD setup of CRM 2011. We have an IFD configuration and setup that we use to test settings and some of our CRM Portal – Linking to DotNetNuke on. Taking the server as configured as described here: We ended up with an ADFS Relying Party Trust that is named “CRM IFD Relaying Party” This is the name we must use in the Windows PowerShell program to make the necessary changes. To Extend the Auto Logout of IFD CRM 2011 or 2013 1. Start Windows PowerShell 2. Copy and Paste the following command into PowerShell and hit enter (you can right click to paste): (Not… Read More »Your session in Microsoft Dynamics CRM is about to expire. CRM 2011 2013 Extend Session Time

CRM 2011 XRM Performance Problem IIS Dynamic Compression

Microsoft CRM 2011 allows XRM services that use application/soap+xml content type. When you install Microsoft CRM 2011 in an IFD / hosted environment, it is smart enough to automatically configure IIS gzip compression on the website. What it does not do, is configure the C:\Windows\System32\Inetsrv\Config\applicationHost.config file to compress XRM calls out of the CRM database. In a test we were performing for an update to our Microsoft CRM 2011 Portal technology, we found that retrieving a list of around 20,000 items returned a 19 MB data package without gzip dynamic compression. Not huge but pretty big! What amazed us was that after enabling dynamic compression on the XRM data, this reduced from 19 MB to 890 KB, a huge performance improvement! We also noticed that the Microsoft Hosted CRM 2011 service already has this compression enabled, so we figured if it is good enough for them, then we should give… Read More »CRM 2011 XRM Performance Problem IIS Dynamic Compression