Asp – Compiled ASP.NET App Doesn’t Parse Classic ASP

asp-classicasp.net

If I shove our intranet app live and let it be compiled on the fly without compiling it beforehand it works fine. If I publish the site by compiling it first using VS's built in publishing feature then every page works fine except for the classic ASP pages.

Anyone know why this would happen? We have classic ASP because there's thousands of pages, many migrated from old systems but we simply don't have time to convert them all (just before anyone starts saying "just convert them!").

Cheers!

Best Answer

When you publish the app, VS only copies the files needed by the app and/or referred in the project file.

Maybe the ASP classic pages depends on a file that it's not included on the published site.

To test it, publish the site, and then compare the files in the server with your local copy to check for missing files. (You can use a tool like Beyond Compare)

Related Topic