ASP.NET 1.1 Application Folder Does Not Work If It Is Inside An ASP.NET 2.0 Application Folder

Last post 11-08-2005 6:42 PM by Luis Abreu. 3 replies.

Sort Posts:

  • ASP.NET 1.1 Application Folder Does Not Work If It Is Inside An ASP.NET 2.0 Application Folder

    11-07-2005, 10:23 AM
    • Member
      55 point Member
    • xtremebiz
    • Member since 09-23-2005, 10:21 AM
    • Mumbai, India
    • Posts 12

    Hi All,

    Can someone please help me with this?

    I have an application in ASP.NET 2.0. Inside this ASP.NET 2.0 application folder, I have another ASP.NET 1.1 application. When I try to access the 1.1 application, i get a run time error as mentioned in the end of this post. This is happening because when I try to access my 1.1 application, ASP.NET first reads the web.config file of the parent folder (ASP.NET 2.0 application), but since 1.1 does not understand the new schema of ASP.NET 2.0 web.config, it throws this error.

    Can someone tell me how to fix this issue. If its not possible then is there any work around for this?

    In short my question is: Is it possible to have a 1.1 application inside a 2.0 application

    Thanks in advance. See the error details below

    Cheers,
    Raj

    Server Error in '/ComSer' Application.
    --------------------------------------------------------------------------------

    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 1:  <?xml version="1.0"?>
    Line 2: 
    Line 3:  <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    Line 4:   
    Line 5:   <configSections>
     

    Source File: D:\Inetpub\wwwroot\CSPublic\web.config    Line: 3


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

    Cheers,
    Raj

    Raj Chaudhari
  • Re: ASP.NET 1.1 Application Folder Does Not Work If It Is Inside An ASP.NET 2.0 Application Folder

    11-07-2005, 6:06 PM
    • Contributor
      4,421 point Contributor
    • BrianOConnell
    • Member since 08-04-2002, 4:24 PM
    • Dublin, Ireland
    • Posts 828
    I seriously doubt if this can be done. They are stricltly speaking different beasts. The only realistic solution is to have the 1.1 in it's own root folder. Then again you could convert the 1.1 to 2.0.
    Brian O'Connell (MCAD) - http://www.systemdotweb.com
  • Re: ASP.NET 1.1 Application Folder Does Not Work If It Is Inside An ASP.NET 2.0 Application Folder

    11-08-2005, 3:05 AM
    • Member
      55 point Member
    • xtremebiz
    • Member since 09-23-2005, 10:21 AM
    • Mumbai, India
    • Posts 12

    Hi Brian,

    Thanks for your reply. This is a confirmed bug as per MSDN

    See http://west-wind.com/weblog/posts/2107.aspx  for more info.

    Also please vote for this bug with highest importance to get this fixed at
    http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx?feedbackid=e6c107e5-8849-4541-8355-0017ba211a86

    Cheer,
    Raj

    Raj Chaudhari - MCAD.NET

    Cheers,
    Raj

    Raj Chaudhari
  • Re: ASP.NET 1.1 Application Folder Does Not Work If It Is Inside An ASP.NET 2.0 Application Folder

    11-08-2005, 6:42 PM
    • All-Star
      25,662 point All-Star
    • Luis Abreu
    • Member since 02-12-2005, 1:22 AM
    • Madeira [Portugal]
    • Posts 5,368
    • TrustedFriends-MVPs
    hello guys.

    is thisi a bug? to me it is the expected behavior...

    --
    Regards,
    Luis Abreu
    email: labreu_at_gmail.com
    EN blog:http://msmvps.com/blogs/luisabreu
Page 1 of 1 (4 items)