The remote server returned an error: (500) when pinging Zapier in a .NET Core app

Getting this error in a .NET Core web app? In this case we were trying to ping Zapier. Server Error in ‘/’ Application.The remote server returned an error: (500) Internal Server Error.Exception Details: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.Stack Trace:[WebException: The remote server returned an error: (500) Internal Server Error.]System.Net.WebClient.OpenRead(Uri... » read more

Azure .NET Core Web App DirectoryNotFoundException: Could not find a part of the path

Getting this error in an Azure .NET Core Web App deployed via GitHub? An unhandled exception occurred while processing the request. DirectoryNotFoundException: Could not find a part of the path ‘D:\home\site\wwwroot\Templates\my_file.html’. System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle) DirectoryNotFoundException: Could not find a part of the path ‘D:\home\site\wwwroot\Templates\my_file.html’. System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle) System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options) System.IO.FileStream..ctor(string path, FileMode mode,... » read more

Login failed for user ‘NT AUTHORITY\NETWORK SERVICE’

After our server people did some MS SQL database restores from some old backups to find some data, some .NET websites we had on the server started showing an error. (note I couldn’t see the error and had to disable custom errors from remote only, see here http://tech.ralpharama.co.uk/1/viewing-errors-remote-machine-after-sql-restores-broke-sites Server Error in '/' Application. Cannot open database... » read more

How to use Chilkat S3_DownloadBytes and S3_UploadBytes to copy images in Classic ASP

Copy images between Amazon s3 buckets in memory only using Chilkat’s S3_DownloadBytes and S3_UploadBytes. Example classic ASP code.  Function http_copy_bytes(contentType,bucketSourceName,bucketDestName,objectName,justFileName)     Dim success, binaryImage      ‘ Set up chilkat http     Dim http : Set http = Server.CreateObject(“Chilkat.Http”)     http_unlock(http)     http.AwsAccessKey = AwsAccessKey ‘ your key     http.AwsSecretKey = AwsSecretKey ‘ your key ... » read more

Why won’t SVN update this file?

I had a nightmare recently with SVN refusing to update a file, then skipping a folder. Here’s what worked for me. SVN refused to update a particular file ‘template.html’ in a folder ‘newsletter’ deep in a tree. It just ignored it. Odd. I delete the file, template.html. Ran update again. Nothing, just says up to... » read more

CDONTS, CDOSYS, IIS 6.0, IIS 7.0 and headaches…

I’m adding a few old things to this blog, this is pretty old! We moved from an old IIS 6.0 server setup with Classic ASP code sending bulk newsletter emails using CDONTS, to a new Windows 2008 R2 server in the cloud with IIS 7.5. We also moved to using a 3rd party SMTP service... » read more