Browsed by
Author: Joris Onghena

Full Stack Web Developer
Steam stuck/freezes on installing update

Steam stuck/freezes on installing update

Recently my steam game updates would halt on the install part. I tried to verify local game cache like most people suggested but to no avail. I check the directory user rights but all those where correct too. Then I found the following fix that worked for me. Exit steam by going to the main tool bar click Steam >> Exit. You will be presented with the following dialogue. Press Exit now. Start the windows task manager by right-clicking on…

Read More Read More

Intercept raw soap messages in code using WCF

Intercept raw soap messages in code using WCF

I faced the problem today that I needed to intercept the soap messages that are send to a webservice using WCF. To make things more complicated I needed to have them as a variable in my code and most of the stuff I found online was how to enable tracing/logging. A very good example to enable tracing is found on this website. After some extensive google’ing I came across this post. The post does an excellent job of describing how…

Read More Read More

Certificate chain error fix on Linux

Certificate chain error fix on Linux

When checking your certificate on a site like the one from digicert. I’m often confronted with the following error: This means that your certificate doesn’t contain the full certification path (and that some parts can’t even be found in the default trusted authority store). To fix this error on a linux PC, navigate to your directory where you saved your .crt file and make sure you also have the other .crt files, that make up the chain, present there. Next…

Read More Read More

Take website offline in IIS

Take website offline in IIS

There is a very easy way to stop a website and provide your users with a nice “under maintenance” or “offline” page. Just create a new file in the root directory of your website and call it “app_offline.htm” Whatever the request to your site, users will always be served this page. Is you ever use publishing via visual studio, you will notice that during the publish this file is also created to let your users know maintenance is occurring on…

Read More Read More

Optimize SSL settings in Windows Server 2008

Optimize SSL settings in Windows Server 2008

SSL labs provides, through it’s website, a thorough free testing of an https enabled site. It has different rankings based on the (American) school grading system, where F is the lowest score and A++ the highest. Numerical Score Grade score >= 80 A score >= 65 B score >= 50 C score >= 35 D score >= 20 E score < 20 F In this post I will try and go through the steps to achieve an “A” rating for…

Read More Read More

Useful Drupal “drush” commands

Useful Drupal “drush” commands

Drush is a command line utility to provide a scripting interface for Drupal. Install the latest Drupal version drush dl drupal #downloads the latest Drupal drush dl drupal-7.35 #downloads the specified Drupal version drush site-install standard –account-name=[username] –account-pass=[userpassword] –db-url=mysql://[mysqluser]:[mysqluserpassword]@localhost/[mysqldatabase] When you’re locked out of your site because you enabled clean URL’s. drush vset clean_url 0 –yes Update a Drupal installation to the latest version, including installed extentions. drush pm-update

Create certificate request with SHA256 on IIS 7

Create certificate request with SHA256 on IIS 7

Creating a CSR (or Certificate Singing Request) on an IIS 7 is pretty straight forward, but you end up with a request which uses the old SHA1 hashing method. Your certificate request will work, but the end result will be that your site might be vulnerable to SSL/TLS related attacks. So how to create a CSR that uses the SHA256 algorithm? All the information bellow can be found on ServerFault. First make a request.inf file. (Just use a text editor…

Read More Read More

Error: This can indicate that a key is not being regenerated correctly.

Error: This can indicate that a key is not being regenerated correctly.

Recently we had the following error occur on our Dynamics CRM installation: Current key (KeyType : CrmWRPCTokenKey) is expired. This can indicate that a key is not being regenerated correctly. Current Key : CrmKey(Id:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:02/06/2015 17:39:15, ExpiresOn:03/11/2015 17:39:15, CreatedOn:02/06/2015 17:39:15, CreatedBy:NT AUTHORITY\NETWORK SERVICE. Turns out this was due to a service not coming up correctly after a power failure. Make sure Microsoft Dynamics CRM Async (maintenance) service is up and running. Restart the non maintenance one or…

Read More Read More

How to upgrade CiviCRM

How to upgrade CiviCRM

The following will describe how to update an existing CiviCRM installation to a new version. Always make sure you backup the database and the plugin folder, before proceeding. Download the latest Civi (for drupal in this case) to your plugins folder (or any other folder). wget “https://download.civicrm.org/civicrm-4.7.19-drupal.tar.gz” Note: When upgrading from 4.0.1 do not upgrade to 4.5 in one go. I found that this breaks your civi installation with an error: Fatal DB error, exiting, seems like your schema does…

Read More Read More