views:

47

answers:

2

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!

A: 

ASP classic isn't enabled by default on newer versions of IIS.

Here's how to enable it on IIS7. http://geekswithblogs.net/dlussier/archive/2007/08/12/114603.aspx

John Booty
No, it's on the exact same server. It's running IIS6, and classic ASP works, just when the application isn't compiled ;)
Kezzer
A: 

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)

Eduardo Molteni