Archive

Archive for the ‘Development & Technical’ Category

Dynamics 365 – API Limits Coming

February 27, 2018 Leave a comment

You can currently push and pull data through the Dynamics 365 endpoint without any real limits. This is changing.

Limits

From March 19 2018, Dynamics 365 will limit the number of API requests to 60,000 made by each user within a 5 minute timeframe. When you exceed the limit, you will be greeted by an exception, delivered from Dynamics 365.

If you would like to read more about these limits, head over to the link below:

https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/api-limits

Greg Olsen
YellowDuckGuy

Advertisements

Dynamics 365 – Developer Toolkit Released

November 10, 2016 Leave a comment

The Dynamics 365 Developer Toolkit has been released. This current version supports Visual Studio 2012, 2013 & 2015.

https://visualstudiogallery.msdn.microsoft.com/65199277-820a-4315-8783-82da19bd04d8

The Developer Toolkit is a set of Microsoft Visual Studio Integration tools, focused on accelerating the development of custom code for Microsoft Dynamics 365(CRM)

Using the toolkit, you can create, develop and deploy CRM plug-ins, custom workflow assemblies and web resources without leaving the Visual Studio environment.

Enjoy!
YellowDuckGuy
Greg Olsen

Windows 10 – Fix: Enable Feature .NET 3.5 Error 0x800F0906 and 0x800F081F

October 11, 2016 1 comment

Within Windows 10 you can add the following Windows Feature – .NET Framework 3.5 (includes .NET 2.0 and 3.0) as shown below. Simply type Windows Features in the Windows Search bar on the taskbar and select Turn Windows Features on or off

WindowsFeatures

To enable this feature simply tick the checkbox and click OK.

When the wizard ran through it’s process I was faced with the following error:

WindowsFeaturesError

Windows couldn’t complete the requested changes.

Windows couldn’t connect to the Internet to download necessary files. Make sure you are connected to the Internet, and press “Retry” to try again.

Error code: 0x800F0906

Using the wizard I was unable to fix this error. Therefore to fix this issue, follow the steps listed below.

Fix:

  1. Open Windows Explorer (Windows + E)
  2. Mount the Windows 10 installation ISO you used to install your operating system.  You can do this by right clicking on it and selecting the option Mount. UPDATE: If you have the Windows 8 Installation Disc in your optical drive, then use this instead. However, make sure you change the commands mentioned later to match your optical drive.
  3. Use the RUN command in administrator elevated mode. You can do this by navigating to the location c:\windows\system32\cmd.exe and right-clicking on the cmd.exeapplication and selecting Run as administrator.
  4. Once the command windows has loaded, then type the following command (Note: Match the drive letter to your appropriate drive letter for the ISO or DVD):

dism /online /Enable-Feature /FeatureName:NetFX3 /All /Source D:\Sources\SxS /LimitAccess

Hit enter once you have completed the command.

Below is a screenshot of what this will look like when you hit enter.

Install .net 3.5

Install .net 3.5 - completed

Now your Windows Feature of .NET Framework 3.5 (includes .NET 2.0 and 3.0) is enabled.  To verify this, open the Window Features again to see the option is now enabled.

WindowsFeaturesFixed

Success! You have the Windows Feature enabled.

Hope this helps!

Greg Olsen
YellowDuckGuy

Microsoft Dynamics CRM – Create an OpenSSL Self-signed SSL Certificate for your CRM 2013 Dev Environment

December 17, 2013 Leave a comment

The first step in configuring a CRM 2013 environment to be enabled for claims-based authentication and Internet Facing Deployment (IFD) is to have a SSL Certificate available for setup. This blog post will simply outline how to quickly generate and use an OpenSSL certificate to be used with your setup of CRM for claims-based authentication and Internet Facing Deployment.

Before I move on, I do want to emphasize that you should purchase a secure SSL certificate for production environments. I would recommend purchasing them from sites such as godaddy.com, entrust.net, verisign.com, thawte.com etc

 

What is a SSL Certificate?

 

yellowduckguy

Firstly, the Secure Socket Layer (SSL) protocol ensures secure transactions between web servers and browsers i.e. traffic between you sitting at your PC and the server your interacting with.

Secondly, the protocol uses a third party, a Certificate Authority (CA), to identify one end or both ends of the transactions. SSL certificates are files that connect the security key to an organisation’s details. When the SSL certificate is installed on a web server, it activates the little padlock symbol and the https protocol (which is over port 443) and allows secure connections from a web server to your browser.

 

Creating a OpenSSL Self-Signed SSL Certificate?

 

When you start out with SSL certificates you probably quietly say to yourself “how the hell do I create a local one and not buy one?”. Keep reading as I have an answer for you. But remember, you need to buy one for production environments!

Let’s head to Open SSL website first and get the file(s) you need. To read about OpenSSL, go to http://slproweb.com/products/Win32OpenSSL.html

 

Install the software to create the OpenSSL Certificates:

 

Note:

    make sure you install the dll’s in the bin directory when it asks you to in the installer. I found this to be easier.

 

Create the OpenSSL Certificate

 

You will create the OpenSSL Cerificate by using the Command Prompt – yea sorry, no UI in these instructions.

Open a Run Command Prompt with administrator priviledges and then execute the following commands one at a time. Note: change C:\OpenSSL-Win32\bin\ below to match your location of your installation and remember to change Win32 to Win64 if your using the 64bit installation. Also, change itsgrego to a name for your SSL Certificate.

During the process, you will be asked to input a certificate password and a few other organisation details. Don’t worry if you get it wrong on the first occasion as you can do the process again.

set RANDFILE=C:\OpenSSL-Win32\bin\.rnd 
openssl genrsa -out privatekey.pem 1024
openssl req -new -x509 -key privatekey.pem -out publickey.cer -days 1825
openssl pkcs12 -export -out itsgrego.pfx -inkey privatekey.pem -in publickey.cer

During the process, you will be asked to input a certificate password and a few other organisation details. Don’t worry if you get it wrong on the first occasion as you can do the process again. I recommend creating a wildcard certificate with a Common Name (CA) of *.yourdomain , example: *.itsgrego.

sslcert

Once you are successful creating the OpenSSL Certificate, navigate to your installation directly and obtain OpenSSL Certificate, which will have an extension of .pfx. It will be located in a directly similar to C:\OpenSSL-Win32\bin\ or C:\OpenSSL-Win64\bin\ or depending on where you chose to install the OpenSSL software.

Now that you have your OpenSSL Certificate, you can add it to the Personal and Trusted Root Certificate locations to start using it.

itsgregoSSL

Greg Olsen
YellowDuckGuy

Microsoft Dynamics CRM – Creating SSL Certificates for CRM Test Environment

December 10, 2013 Leave a comment

I thought I would give a plug for Jeremy Morlock’s MSDN blog post regarding creating SSL certificates. There is some useful information in this post which is a good read.

Find the posting here: http://blogs.msdn.com/b/crminthefield/archive/2013/11/27/creating-ssl-certificates-for-crm-test-environment.aspx

Greg Olsen
YellowDuckGuy

Enterprise Library 6 – Download Developer’s Guide 2nd Edition

November 21, 2013 Leave a comment

This is a short blog post mainly as a personal reference to the information and download link for the second edition of the Enterprise Libraries – Developers Guide.

Enterprise Library Application blocks available to provide modules in your software applications in this book are:

  • Data Access Application Block
  • Exception Handling Application Block
  • Transient Fault Handling Application Block
  • Logging Application Block
  • Semantic Logging Application Block
  • Policy Injection Application Block
  • Validation Application Block
    Now for the important links:
  • Blog post about the book is here
  • Download the PDF here.

Greg Olsen
YellowDuckGuy

Microsoft Dynamics CRM 2011 – Update Rollup 15 Download Available

October 8, 2013 Leave a comment

Update Rollup 15 for Microsoft Dynamics CRM 2011 is now available for download. This version is build 05.00.9690.3731 for Microsoft Dynamics CRM 2011. KB article number is KB2843571. This Update Rollup also includes many CRM for Outlook Client improvements so many of you will be waiting for this.

Update Rollup 15 for Microsoft Dynamics CRM 2011 is available via the link below: 
http://support.microsoft.com/kb/2843571

The download area for Update Rollup 15 for Microsoft Dynamics CRM 2011 is available via the link below: 
http://www.microsoft.com/en-us/download/details.aspx?id=40346

Microsoft public info about this update:

Update Rollup 15 for Dynamics CRM 2011 provides the following improvements:

  • It includes a new feature that is scheduled to be delivered with Microsoft Dynamics CRM 2013. This feature moves the CRM client-specific workload into its own process so that it no longer shares memory with the Microsoft Office Outlook process. This feature is also known as Process Isolation.
  • It includes an upgrade to Microsoft SQL Server for Windows CE 4.0 for better memory management, better caching, and connection enhancements.
  • It updates the CRM for Outlook configuration files to make the CRM for Outlook SDF files compatible with SQL Server for Windows CE 4.0.
  • It materializes the Address Book Provider to reduce performance issues that are caused by large address books.
  • It limits the amount of active open forms.
  • It provides a MAPI Lock time-out.
  • It hard codes a previous registry setting that prevented pinned views from pulling down information to local SQL CE cache. This new DisableMapiCaching setting defaults to a value of 1. For more information about the behavior of this setting, see Slow Performance When Pinning Views in Microsoft Dynamics CRM

    (http://support.microsoft.com/kb/2741514)

    Note This value can be overridden by modifying the DisableMapiCaching setting in the OrgDbOrgSettings tool if the critical update has been applied to the Dynamics CRM server. For more information, see OrgDBOrgSettings Tool for Microsoft Dynamics CRM 2011

    (2013, http://support.microsoft.com/kb/2691237)

  • Greg Olsen
    YellowDuckGuy