When querying Redshift databases in a loop with e.g. multiple calls to odbc.ExecuteReader(), the ODBC driver starts to die at some moment in your hands and complains about an AccessViolationException.
This sample assumes you read the bz2 files as S3 objects (bucketnames etc in app.config as it follows AWS SDK default settings), and that the files are text files (=> using ReadLine.) S3 initialization is not included in the code.
In order to make the bz2 decompression work, I am using the SharepZipLib Nuget package (0.86.0)
I encountered the error when trying to refactoring old code against a new S3 bucket. New S3 buckets no longer support V3, and thus require the new V4 signature.
While trying to open an S3 bucket, I stumbled upon the error above. The reason seems to be that my app.config had the wrong AWSRegion set (eu-west-1).
Eight years ago I bought my first Samsung printer. It’s only fault was that it complained randomly about “Install Toner”. Fine, three years ago I bought myself the Samsun 3185 – same thing after just a few months of use. Fool me once, fool me twice – but a year ago I bought myself the Samsung C460, because, of course, that kind of trivial problems should be solved by now.
The definition of an idiot is a person who is doing the same thing over and over but expecting a different outcome. Hello, that’s me.
In order to RedirectToAction to e.g:
Just as a reminder to myself, as I always tend to forget how to do it, below is the code for changing languages in the EPiServer backend: