Here is the syntax for writing a simple batch file that checks the user name of the account that is running the script, and then executes a VBScript file if the user name is positively matched. As part of the test, I’ll show how to execute the VBScript from the batch file while suppressing an intentional error message thrown in the VBScript file. Continue reading “Example Batch File to Identify a User and Run a VBScript File”
Category: Classic ASP
Enabling Classic ASP on IIS8 (Windows Server 2012)

Getting Classic ASP to run on IIS8.5 comes with a few gotchas that can easily cause problems well beyond what you might expect. In the article below I’ll review the general steps and guidelines that I figured out through trial and error by going through the process myself. Continue reading “Enabling Classic ASP on IIS8 (Windows Server 2012)”
Correcting 404 Errors in IIS 6 When Running an ASP.NET ASPX Page

I was setting up a new Web Server that had been pre-installed with Windows 2003, IIS 6 and ASP.NET 2.0. The catch was that when I set up a new Web site on the server, I would get a 404 error page when the server was asked to serve up ASP.NET files (aka: files with the .aspx extension). Other files such as standard .html and .asp would render without problems.
I was a bit mystified until I realized that the setup of the pre-installed version of ASP.NET 2.0 on the server likely was done before IIS setup. Thus, although IIS showed ASP.NET 2.0 as an option, ASP.NET wasn’t properly registered with IIS.