• Fatal error CS1647 on one server but not other

    This error reared it’s ugly head one day and we were very perplexed as to why. The code was running just fine on the development server but on production we were receiving CS1647: An expression is too long or complex to compile.

    After much digging as to why this might be, it was discovered that the .NET versions on the servers were different, but not dramatically so. The development server was running 4.6.2 while the production server was 4.6.1. A simple update to the .NET version and the error was resolved.




    Share
  • Using S3 with Kentico CMS




    In order to improve the performance of a Kentico CMS install we decided to setup a content delivery network (CDN) using Amazon S3 and CloudFront. While Kentico is .NET and more easily deployed on Azure than AWS via their documents, making a resilient Kentico install on Amazon is achievable after working your way carefully through the setup process.

    Setting up S3 in Kentico CMS was a less than pleasant experience thanks in part due to a small inconsistency in their documentation. After a call to their support, the recommendation was to use the Azure setup instructions for setting up a custom file system provider. Upon reading these instructions it became apparent WHY the instructions for the S3 setup was failing.
    Read the rest of this entry »

    Share
  • ASP.net 4.6.2 application failing to build

    Our Hudson build server was throwing the following warning and then failing to build our code:

    warning MSB3644: The reference assemblies for framework “.NETFramework,Version=v4.5.2” were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed.

    Fixing this problem was very simple and just required us installing the following:
    Read the rest of this entry »

    Share