Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3356554
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:31:36+00:00 2026-05-18T02:31:36+00:00

We are in the process of migrating an ASP Classic/ASP.NET application from IIS 6

  • 0

We are in the process of migrating an ASP Classic/ASP.NET application from IIS 6 to IIS 7.5. Most things run just fine in classic mode but we are having alot of problems with how errors are handled by IIS 7.5. We do our error reporting using a classic ASP page where we capture the error information here then redirect to a page to display the error. Based on our testing both Server.GetLastError and Request.ServerVariables("SCRIPT_NAME") when accessed from the logging page do not return the error details and source. Are there other ways we should retrieve the error information on IIS 7.5 or perform the logging?

In case this helps, using freb we have noticed that IIS appears to generate a completely new request then begins executing our error capturing.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T02:31:37+00:00Added an answer on May 18, 2026 at 2:31 am

    @smaclell: See http://dylanbeattie.blogspot.com/2008/12/fun-with-servergetlasterror-in-classic.html for a potential solution for you.

    Here’s the relevant paragraph from the article:

    There was a very similar known bug in Vista which was supposedly fixed
    in SP1, but it looks like the same fix isn’t part of Windows 2008
    Server yet. There is a workaround, though – if you set the site’s
    default error property (under IIS settings -> Error Pages -> Edit
    Feature Settings…) to the custom page, IIS will invoke
    this page whenever an error is not handled by an explicitly configured
    status-code handler (so your 404, etc. handlers will still work) – but
    for some reason, handling the error this way means
    Server.GetLastError() still works properly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are in the process of migrating our ASP.NET application to use Jquery instead
I'm in the process of moving a large classic ASP application to ASP.NET MVC
I am in the process of migrating an existing web application from .Net 1.1
I'm in the process of migrating a VB.NET web application from Visual Studio 2005
I am in the process of migrating an ASP.NET web forms application to ASP.NET
I am in the process of migrating an application ( Sage ) from Twisted
We are migrating from an ASP.NET/SQL server setup to a rails/mysql setup. Because of
We are in the process of migrating an app to .NET 4.0 (from 3.5).
We are currently in the process of migrating our application from our production environment
I'm in the process of migrating portions of an application from Windows Forms to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.