cannot load app written in 1.1 framework onto server loaded with .NET framework 2.0

Posted on 2006-05-22
Last Modified: 2008-03-17
I have been sent an ASP.Net application that was developed within the .NET 1.1 Framework.
When I try to install the app using the msi file sent to me I get the error message :

Windows Installer Loader

This setup requires the .NET Framework version 1.1.4322. Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?

I click on 'Yes' and am taken to Microsoft's site :

Under the heading  'SDKs, Redistributables and Service Packs'  I am told 'You have already installed the .NET Framework 2.0 redisributable on this computer.'

I thought 2.0 was backwardly compatible for 1.1.
What can I do to allow me to install and run the app?

Question by:spaceplanner
    LVL 25

    Accepted Solution

    I guess you need to install 1.1 framework too.

    LVL 25

    Expert Comment

    Otherwise, try converting the setup and deployment project in VS.NET 2.0.

    LVL 41

    Expert Comment

    If the v1.1 application uses the "backwards compatability" feature to allow it to also run on the v1.0 framework, then that feature will prevent "forward compatability" with v2.0.  (Hey, they didn't mention that did they?)

    So, if the config file for the application has a bunch of stuff in the <startup> and <runtime> section, you can just remove those sections and it will now run on a PC with just the v2.0 framework.  Of course this will prevent it from running on v1.0, but that's probably a problem.
    LVL 28

    Expert Comment

    .Net 1.x and .Net 2.0 frameworks are completely different (systematically speaking). If you have something written in .Net 1.x then you HAVE to have .Net 1.x on your server. You can always upgrade it to 2.0 if you want or just install .Net 1.x on your server.  If you already have it on your server you need to set the application to run in .Net 1.x in the IIS settings of your site.

    Author Comment

    Emmet, Are you referring to the web.config file?
    I can find no reference there to <startup> nor <runtime> sections

    <?xml version="1.0" encoding="utf-8"?>

              Set compilation debug="true" to enable ASPX debugging.  Otherwise, setting this value to
              false will improve runtime performance of this application.
              Set compilation debug="true" to insert debugging symbols (.pdb information)
              into the compiled page. Because this creates a larger file that executes
              more slowly, you should set this value to true only when debugging and to
              false at all other times. For more information, refer to the documentation about
              debugging ASP.NET files.
        <compilation defaultLanguage="c#" debug="true"></compilation>

              Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
              Add <error> tags for each of the errors you want to handle.

              "On" Always display custom (friendly) messages.
              "Off" Always display detailed ASP.NET error information.
              "RemoteOnly" Display custom (friendly) messages only to users not running
               on the local Web server. This setting is recommended for security purposes, so
               that you do not display application detail information to remote clients.
        <customErrors mode="Off"/>

        <!--  AUTHENTICATION
              This section sets the authentication policies of the application. Possible modes are "Windows",
              "Forms", "Passport" and "None"

              "None" No authentication is performed.
              "Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to
               its settings for the application. Anonymous access must be disabled in IIS.
              "Forms" You provide a custom form (Web page) for users to enter their credentials, and then
               you authenticate them in your application. A user credential token is stored in a cookie.
              "Passport" Authentication is performed via a centralized authentication service provided
               by Microsoft that offers a single logon and core profile services for member sites.
        <authentication mode="Windows"/>

          <!--  AUTHORIZATION
              This section sets the authorization policies of the application. You can allow or deny access
              to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
              (unauthenticated) users.

            <allow users="*"/> <!-- Allow all users -->
                <!--  <allow     users="[comma separated list of users]"
                                 roles="[comma separated list of roles]"/>
                      <deny      users="[comma separated list of users]"
                                 roles="[comma separated list of roles]"/>

              Application-level tracing enables trace log output for every page within an application.
              Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
              trace information will be displayed at the bottom of each page.  Otherwise, you can view the
              application trace log by browsing the "trace.axd" page from your web application
        <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>

              By default ASP.NET uses cookies to identify which requests belong to a particular session.
              If cookies are not available, a session can be tracked by adding a session identifier to the URL.
              To disable cookies, set sessionState cookieless="true".
        <sessionState mode="InProc" stateConnectionString="tcpip=" sqlConnectionString="data source=;Trusted_Connection=yes" cookieless="false" timeout="20"/>

        <!--  GLOBALIZATION
              This section sets the globalization settings of the application.
        <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
       <identity impersonate="true"/>

    LVL 41

    Expert Comment

    Sorry, I was thinking a WinForm application.... my bad


    Author Comment

    first answer was correct...once I installed the .NET Framework 1.1 the msi worked.
    Thanks everyone for all your help.

    and I still have problems so more questions coming...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now