locked
Problems moving .Net 1.1 site from Server 2003 to Server 2008 R2 RRS feed

  • Question

  • User961496474 posted

    We have an old application running on Server 2003 under .NET 1.1.  The developer of the application went under a few years ago, so we do not have access to anything but the original install files.  I have a new server running Server 2008 R2, and would like to transfer the application over there. I'm not that skilled in IIS (or asp, for that matter), so this is proving to be a bit of a challenge that I would be grateful for some assistance on.

    After following the instructions at http://www.iis.net/learn/install/installing-iis-7/how-to-install-aspnet-11-with-iis-on-vista-and-windows-2008, I proceeded to run the installation programs for the application, which consists of several directories under the Default Web Site.  When I go into the Advanced Settings for the default site, it is pointing to the ASP.NET 1.1 Application Pool.

    When I try to access the main program directory on the site, I get the following:

    HTTP Error 500.19 - Internal Server Error
    The requested page could not be accessed because the related configuration data for the page is invalid

    Under "detailed information", I get this:

    Module          IIS Web Core
    Notification   BeginRequest
    Handler         Not yet determined
    Error Code     0x80070032
    Config Error   The configuration 'hostingEnvironment' cannot be read
                          because it is missing a section declaration
    Config file      \\?
                          \C:\inetpub\wwwroot\MainProgramDirectory\web.config


    The highlighted line from the web.config file is:

    <hostingEnvironment idleTimeout="120" shutdownTimeout="120" shadowCopyBinAssemblies="true"/>

    Does anyone have any suggestions?

    Thanks in advance.

    Don

    Thursday, May 23, 2013 11:26 AM

Answers

  • User281315223 posted

    I would make sure that the hostingEnvironment section itself is contained within your <system.Web> element within your web.config : 

    <system.web>
        <hostingEnvironment idleTimeout="120" shutdownTimeout="120" shadowCopyBinAssemblies="true" />
    </system.web>

    You may want to also check out the following tutorial which covers the step-by-step process of migrating a .NET 1.1 application over to Server 2008 R2 : 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, May 23, 2013 11:32 AM

All replies

  • User281315223 posted

    I would make sure that the hostingEnvironment section itself is contained within your <system.Web> element within your web.config : 

    <system.web>
        <hostingEnvironment idleTimeout="120" shutdownTimeout="120" shadowCopyBinAssemblies="true" />
    </system.web>

    You may want to also check out the following tutorial which covers the step-by-step process of migrating a .NET 1.1 application over to Server 2008 R2 : 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, May 23, 2013 11:32 AM
  • User961496474 posted

    Thanks for the quick reply.  The hostingEnvironment section is inside <system.Web>, so we're good there.

    I've been through the link that you provided, and it looks very much like the one I referenced in my original post. The only exception is that your link includes some registry stuff that I will need to look at.  I did a very basic search for the directory name in the registry, and I found references to it in both HKLM\Software and HKLM\Software\Wow6432Node. I guess I will need to physically match them all up to make sure that all keys exist in both places.

    Thursday, May 23, 2013 11:38 AM