.NET version conflict?

Posted on 2006-04-26
Last Modified: 2013-11-25
Hello there,

I have a website developed in ASP .NET 2 running off the root of the default website (IIS 6).  I am trying to run an ASP .NET 1.4 inside the same website but when I run it, I get the error:
"Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'xmlns'.

Source Error:

Line 8:      \Windows\Microsoft.Net\Framework\v2.x\Config
Line 9:  -->
Line 10: <configuration xmlns="">
Line 11:       <appSettings/>
Line 12:  

Source File: c:\inetpub\wwwroot\web.config    Line: 10"

This is the web.config file that resides on the root of the default website and belongs to the default website.  Why my application reads this file instead of its own.  The app resides in a folder off of the default website root.

I'd like to know if having the 1.4 app inside a  2.0 website will not work in IIS 6 will not work.

Thanks so much!


Question by:mbravome
    LVL 35

    Expert Comment

    There is no ASP.NET 1.4

    There is 1.1 and 2.0

    Regardless, you CANNOT run them on the same application pool.  You need separate application pools to run different versions of .NET
    LVL 5

    Expert Comment

    You should be able to run both.  Trying changing the ASP.NET version to the older version.  In the Web application properties window you'll see an ASP.NET tab, and if you have multiple versions of the runtime installed you can choose which version to use for which Web application.
    LVL 35

    Accepted Solution

    This may help too.

    ASP.NET 2.0 Web Root ASP.NET 1.1 virtuals and Web.Config Conflicts
    LVL 35

    Expert Comment

    I am fine with the split, but think my first comment is more releavant than the second one which is only a link.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
    Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit ( and similar technologies have enjoyed wide adoption, making it possib…
    The viewer will learn how to count occurrences of each item in an array.
    The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

    759 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

    11 Experts available now in Live!

    Get 1:1 Help Now