Home > Windows Azure > Windows Azure: How-to enable classic ASP support

Windows Azure: How-to enable classic ASP support

When you’re planning to migrate your existing application to Windows Azure, one of the first things in your compatibility checklist is the compatibility of your app with Windows Azure. Classic ASP web application is always the concern when planning to host on a server. This is because by default, the current/new web servers does not support classic ASP codes. The administrators have to enable it manually.

If you’re familiar with Microsoft Internet Information Service (IIS) server, you know that you will have to manually enable the classic ASP support in IIS. It’s the same in Windows Azure. You will have to specify or ask Windows Azure to enable classic ASP support in your web role.

The easiest way to do this is to do it in the start up task. You will need to add some codes in the .csdef file.

  1. Load Visual Studio and open your Solution.
  2. Double-click on the .csdef file from the Windows Azure project.


  3. In the WebRole tag, add a Startup tag. Then add a Task tag within the Startup tag.


    Description of the Task tag:

CommandLine : This is the command line including the parameter to execute.

ExecutionContext : You can specify an executionContext that allows it to run in the same security context as the role or with administrative privileges.

TaskType : Here you can specify how this task is scheduled.

  • Simple – the startup process launches the task and does not proceed until the task completes.
  • Background – the startup process launches the task in the background and then continues
  • Foreground – similiar to a background task, but the role cannot shut down until all the foreground task have ended.

  1. February 21, 2013 at 3:15 am

    “Windows Azure: How-to enable classic ASP support KhaiLiang [dot] Tech Blog” genuinely
    got me personally simply addicted with ur web page!
    I actuallydefinitely will wind up being back even more regularly.

    With thanks ,Iola

  2. April 30, 2014 at 6:11 am

    What solution template do I use for classic asp in Azure

  3. September 11, 2014 at 10:24 am

    Hi Randy, you could use a empty web application template.

  1. June 6, 2011 at 11:59 pm
  2. May 8, 2012 at 3:38 am
  3. May 10, 2012 at 5:11 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: