Upgrading to .NET 4 on an IIS site supporting a .NET 2.0 child application

  • August 5, 2012
  • James Skemp
Today I decided to finally make progress on a couple pending applications. As part of that process I needed to upgrade one of my sites to .NET 4. Unfortunately it has a child application that needs to say as .NET 2.0/3.5. After approximately 30 minutes of downtime, I finally got things configured correctly (seemingly). Here's what I ended up having to do. This assumes IIS 7.5. Wrap the system.web and system.

Read More

Raw: Using OpenSSL to create a certificate authority and update IIS 7.5

  • December 29, 2010
  • James Skemp
A raw dump of information on how to create a certificate authority and etcetera. Step 1: Basic folder and file structure creation Directories: certs, keys, requests Files: database.txt (empty), serial.txt (01, then new line), openssl.cnf (based on OpenSSL file) Step 2: Create key "c:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\openssl.exe" genrsa -des3 -out keys/_ca.key 2048 Step 3: Create certificate authority certificate "c:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\openssl.exe" req -config openssl.cnf -new -x509 -days 365 -key keys/_ca.

Read More

Enabling PHP file_put_contents() support on IIS 7.5 on Windows Server 2008 R2

  • September 1, 2010
  • James Skemp
I've already installed the current verison of PHP 5.2 on my Windows Server 2008 R2 machine, but unfortunately wasn't able to get content saved via the file_put_contents function. It seems that you need to add and give IUSR the necessary permissions on the file (or directory) in order for writes to work properly.

Read More

Windows Server 2008 R2, SQL Server Express 2008 R2, and LINQPad

  • June 26, 2010
  • James Skemp
This weekend I finally installed SQL Server 2008 R2 to my Windows Server 2008 R2 machine. After a bit of back-and-forth about which version to install (since my MSDN subscription allows me to install seemingly every version), I opted to just install SQL Server Express 2008 R2. Being part of the Web Platform Installer, the entire process was extremely easy. Step 1: Start Web Platform Installer. Step 2: Select SQL Server Express 2008 R2 and SQL Server 2008 R2 Management Studio Express from under Database.

Read More

Working with Virtual Hard Disks in Windows 7 and Server 2008 R2

  • June 20, 2010
  • James Skemp
A new feature in Windows 7 and Windows Server 2008 R2 is the ability to work with Virtual Hard Disks (VHDs) directly within the OS, by booting from them or mounting them as additional drives. While I've had a good deal of experience with using VHDs in virtual environments, being able to work with VHDs directly is fairly new, and leaves some question as to how useful it could potentially be, since I'm happy using VirtualBox to work with virtual machines when I need to do any testing.

Read More

Windows Server 2008 R2 Enterprise Edition - setup for sharing files

  • June 6, 2010
  • James Skemp
When I first started downloading files, almost a decade and a half ago, I would just download everything to one directory, using whatever name the file originally had when I was downloading it. In the last couple of years I've been trying (despite Chrome's default method trying to push be back) to be much better about saving files, by creating a directory with the full name of the application - "Microsoft Web Platform Installer"

Read More

Windows Server 2008 R2 Enterprise Edition - setup for Web development

  • June 5, 2010
  • James Skemp
This afternoon I setup a machine for the following purposes: to serve as a test bed for Web development to serve as an always-available Subversion repository server to serve as a repository for shared downloads, across all my machines As time goes by the scope of the server may also change. But for now, this will work just fine. Choosing an edition The first step was to install Windows Server 2008 R2.

Read More