Tim
Tim

Reputation: 699

Can't see the errors on classic asp sites

There are sites that I am trying to migrate from Windows 2003 Server to 2008. Some of the sites shows blank pages when I visit them.

Obviously there are errors but I can't see anything.

I already enabled client side errors and detailed error pages but no luck.

Any idea ?

Upvotes: 2

Views: 2289

Answers (2)

compcobalt
compcobalt

Reputation: 1362

So just to make sure you did all of this:

  1. In IIS under Debugging Properties you set: Send Errors to Browser to True.
  2. In IIS under Error Pages you set the settings to Detailed Errors.
  3. Give write permissions on the website folder to the IIS_ISRS builtin group
  4. Checked all of the source code for something like: On Error Resume Next, On Error GoTo or If Err.Number.
  5. If using Internet Explorer you have to disable Show Friendly HTTP Error Messages in located in Tools/Internet Options/Advanced Under the Browsing section uncheck/disable Show Friendly HTTP Error Messages.

Upvotes: 4

compcobalt
compcobalt

Reputation: 1362

Are you using the Classic pipeline? If so only thing left is to make sure in the source code that there is no code that says on error resume next also make sure that you have classic-asp installed on the server for example you can just create a new page name it something like test.asp and inside write some code like:

<html>
<head>
<title>Test ASP Page</title>
</head>
<body>
<%
strMessage = "Hello World"
Response.Write (strMessage)
%>
</body>
</html>

then in your web browser run it and see if you get a message saying Hello World if not then you will need to install classic-asp.

Please Note: Classic ASP in NOT installed by default on IIS 7.0 / 7.5 look here if you need instructions on how to install it.

Upvotes: 0

Related Questions