Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
    
Does classic ASP work/supported in Windows7 64 bit environment? If yes, do I need to install any special ODBC driver to connect? –  Tom Oct 30 '11 at 14:25
    
If you put a text file or simple html file in the target IIS folder can you access it via the browser? –  Ƭᴇcʜιᴇ007 Oct 30 '11 at 16:56

1 Answer 1

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.

share|improve this answer
    
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 Oct 30 '11 at 15:49
    
I also added a very simple test.asp file. It is not running any asp code. –  Tom Oct 30 '11 at 15:51
    
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 Oct 30 '11 at 20:11
    
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 Oct 30 '11 at 20:18
    
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 Oct 30 '11 at 20:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.