IIS 6 to IIS 7 with Classic ASP Support

Posted on 2009-12-17
Medium Priority
Last Modified: 2012-05-08
I am moving from SBS 2003 to SBS 2008 with IIS 7. I have a few websites that I'm moving to the newer version of IIS. The sites are Classic ASP sites working with an MS Access database. So far, I've been able to create a site and view all of the pages. However, pages that query a database fail and generate an "Internal Server Error" with an error code of 500.

1) How do I configure the IIS 7 web server to show the actual error message versus the general 500 Internal Server error?

2) Is there any other configuration changes that need to be made to support ASP and MS Access on a SBS 2008 server with IIS 7?

As of now, I've ensured role services include ASP, Request Filtering, & ISAPI Extensions. Any other settings necessary to support this type of application in this environment?


Question by:brownmetals
LVL 15

Accepted Solution

Tray896 earned 2000 total points
ID: 26075303
First thing you need to do is turn off  'Enable Friendly HTTP Error Messages in your IE settings.'  If you've alredy done this, then you need to turn off IIS's custom error messages so that you can get something more detailed. You can do this from the IIS7 Admin tool by running Start>Run>inetmgr.exe, selecting your website/application/virtual directory in the left-hand tree view, clicking on the Error Pages icon, clicking Edit Feature Settings action, and then selecting Detailed Errors.  Then try loading your page again and you should get some more detailed information to help you troubleshoot.

Another thing you MAY need to enable is parent paths.  By default they were disabled starting with IIS 6, but a lot of classic ASP apps use them so you may have them enabled.  To enabled them on IIS 7, you double click on the ASP section of your website within IIS, and set Enable Parent Paths to true.

Based on everything else it sounds like you should have what you need in order to move the app to IIS 7.
LVL 17

Expert Comment

ID: 26078954
If you enable the IIS logs for these sites in there there is details of ASP error messages. That will tell you all you need.

Post your IIS logs here.

It could be db connections, etc, etc

Install asp

Author Closing Comment

ID: 31667495
I had to disable the "Show Friendly error messages" setting in IE8 as well as enable Parent Paths. Once I did that, the ASP page was able to read data from the database. I now just need to adjust permissions so that these ASP pages can WRITE to the database.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've often see, or have been asked, the question about the difference between the Exchange 2010 SP1 version, available as part of Small Business Server (SBS) 2011, and the “normal” Exchange 2010 SP1 Standard. The answer to the question is relativ…
You may have discovered the 'Compatibility View Settings' workaround for making your SBS 2008 Remote Web Workplace 'connect to a computer' section stops 'working around' after a Windows 10 client upgrade.  That can be fixed so it 'works around' agai…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses
Course of the Month15 days, 18 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question