ASP Classic on IIS7 (Windows7 Ulitmate) is not working?

2

1

My IIS working OK and it show .asp files but ASP code not working... When I direct error to browser from IIS, I get following message on my page

An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator please click here to find out more about this error.

Looks due to some reason I don't running ASP code part.

In IIS, Authentication section, I added specific user which is Admin.

Under Turn Off Windows features on or off, IIS --> Web Management Tools --> IIS Management Console is Enabled.

Under WordWideWeb Services --> Application Development Features --> ASP and ISAPI Extentions Enabled.

Tom

Posted 2011-10-30T12:50:08.030

Reputation: 237

Does classic ASP work/supported in Windows7 64 bit environment? If yes, do I need to install any special ODBC driver to connect? – Tom – 2011-10-30T14:25:47.817

If you put a text file or simple html file in the target IIS folder can you access it via the browser? – Ƭᴇcʜιᴇ007 – 2011-10-30T16:56:26.020

Answers

2

A couple of things which may help:

  1. Make sure that the default document is set correctly - index.asp is not part of the standard setup for IIS7 (in IIS Manager, click on your website and you should see a Default Document icon)
  2. Try switching on the feature to send ASP debugging info to the browser (in IIS Manager, double-click the ASP icon, click the "+" next to "Debugging Properties", and set "Send Errors To Browser" to True)

If you have IIS setup correctly. the ASP page should at least run the code and give you some error information back, which hopefully will lead you to resolving your issue.

misterjaytee

Posted 2011-10-30T12:50:08.030

Reputation: 1 763

When I send error to browser, it shows following on page.. "An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator please click here to find out more about this error" When I click here link it leads to MS IIS help page. – Tom – 2011-10-30T15:49:09.100

I also added a very simple test.asp file. It is not running any asp code. – Tom – 2011-10-30T15:51:34.527

That looks like the standard IIS script error message. Have you put the .asp files under wwwroot or have you created a new folder? If it's a new folder then it will need to have permissions for IIS_IUSRS on your local machine. – misterjaytee – 2011-10-30T20:11:29.633

Also under Control Panel -> Programs and Features -> Turn Windows features on or off, make sure you have ASP (as well as ASP.NET) and Static Content selected - they're under IIS, World Wide Web Services... – misterjaytee – 2011-10-30T20:18:27.923

And as techie007 says above, make sure you can display a simple static html file, e.g. index.htm, before you go much further – misterjaytee – 2011-10-30T20:20:33.943

I can display html file and also .asp with html tags only. It stops where asp related code start. IIS_IUSRS are added in permission foles folder security setting. – Tom – 2011-10-31T19:05:40.600

I created new folder and created virtual directory. – Tom – 2011-10-31T19:06:03.640