Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Classic ASP on Azure WebSite, enable IIS

I'm on a mac using brackets editor and dropbox linked deployment to an azure website.

The code I'm trying to run is classic ASP JScript. From SE/Google its seems i need to run a startup.cmd file containing the line start /w pkgmgr /iu:IIS-AS but I can't figure out where to deploy this to to make to run. I don't have visual studio or a PC.

I'm also trying to use the Monaco editor in Visual Studio Team Services. Please help.

like image 520
TwoBears Avatar asked Oct 16 '25 20:10

TwoBears


1 Answers

Classic ASP is ALREADY enabled on the specific azurewebsites.net website and do not need a .csdef or startup.cmd file.

My code would not run because it was moved from a windows 2008 server that had IIS configured with the default asp language as JScript. The azure websites default to VBScript, so it is necessary to add a <% @ language="javascript" %> to the top of each .asp file.

Yes Microsoft had server side javascript long before node.js was even a twinkle in the eye.

like image 153
TwoBears Avatar answered Oct 18 '25 12:10

TwoBears