XML error?

Last post 04-25-2005 2:40 PM by Jeff.aspx. 3 replies.

Sort Posts:

  • XML error?

    04-25-2005, 11:34 AM
    • Member
      153 point Member
    • Horizon
    • Member since 04-25-2005, 3:33 PM
    • Posts 71

    I am having an issue getting my personal site to run after deploying it.

    When I run it through 2005 it shows fine, but when I deploy it I get an XML error, any ideas?

    Server Error in '/' 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:  <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    Line 3:  	<connectionStrings>
    Line 4:  		<add name="Personal" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Personal.mdf" providerName="System.Data.SqlClient" />

    Source File: c:\inetpub\wwwroot\web.config    Line: 2


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

     

     

  • Re: XML error?

    04-25-2005, 1:21 PM
    • Participant
      1,410 point Participant
    • Jeff.aspx
    • Member since 09-11-2003, 10:16 PM
    • Redmond, WA
    • Posts 252
    • AspNetTeam
      Moderator
    It looks like you're server is running the wrong version of ASP.NET.  Looking at the last line, it is running 1.1.  You need a server that has 2.0 installed.
    Jeff King
    Program Manager
    ASP.net
  • Re: XML error?

    04-25-2005, 2:26 PM
    • Member
      153 point Member
    • Horizon
    • Member since 04-25-2005, 3:33 PM
    • Posts 71
    Yes that was the problem I feel like such a beginner....thanks for the solution!
  • Re: XML error?

    04-25-2005, 2:40 PM
    • Participant
      1,410 point Participant
    • Jeff.aspx
    • Member since 09-11-2003, 10:16 PM
    • Redmond, WA
    • Posts 252
    • AspNetTeam
      Moderator
    No prob.  Happens to me too.
    Jeff King
    Program Manager
    ASP.net
Page 1 of 1 (4 items)