473,324 Members | 2,166 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Parser error in web.config

ad
I am use VS2005 to develp web applicaiton, it run well in my notebook
But after deploy it to a Server.
When I start this web application in that server, it showmessage like below.
How can I do?
-------------------------------------------------------------------------------------------------------

Config error

Parser error, can't tell attribute 'xlmls'
Line 1: <?xml version="1.0"?>
Line 2: <configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 3: <appSettings>
Line 4: <add key="Ver" value="8.01" />
Source code: C:\inetpub\wwwroot\myWeb\web.config Line: 2

Aug 26 '06 #1
3 1223

Check the basics first.

On the Server .... is the virtual directory/application set to run under
2.0.
(IIS property window .. there is a tab to select 1.1 or 2.0)

"ad" <fl****@wfes.tcc.edu.twwrote in message
news:Ox**************@TK2MSFTNGP05.phx.gbl...
I am use VS2005 to develp web applicaiton, it run well in my notebook
But after deploy it to a Server.
When I start this web application in that server, it showmessage like
below.
How can I do?
--------------------------------------------------------------------------
-----------------------------
>
Config error

Parser error, can't tell attribute 'xlmls'
Line 1: <?xml version="1.0"?>
Line 2: <configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 3: <appSettings>
Line 4: <add key="Ver" value="8.01" />
Source code: C:\inetpub\wwwroot\myWeb\web.config Line: 2

Aug 26 '06 #2
The appliation is not confiured to run under ASP.NET 2.0 on server. Install
..NET 2.0 Framework and change your app to run under ASP.NET from Internet
Service manager.

"ad" <fl****@wfes.tcc.edu.twwrote in message
news:Ox**************@TK2MSFTNGP05.phx.gbl...
I am use VS2005 to develp web applicaiton, it run well in my notebook
But after deploy it to a Server.
When I start this web application in that server, it showmessage like below.
How can I do?
-------------------------------------------------------------------------------------------------------

Config error

Parser error, can't tell attribute 'xlmls'
Line 1: <?xml version="1.0"?>
Line 2: <configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 3: <appSettings>
Line 4: <add key="Ver" value="8.01" />
Source code: C:\inetpub\wwwroot\myWeb\web.config Line: 2

Aug 26 '06 #3
In web.config, change :
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

to :
<configuration>

That will fix it.

It's a bug...

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"ad" <fl****@wfes.tcc.edu.twwrote in message news:Ox**************@TK2MSFTNGP05.phx.gbl...
>I am use VS2005 to develp web applicaiton, it run well in my notebook
But after deploy it to a Server.
When I start this web application in that server, it showmessage like below.
How can I do?
-------------------------------------------------------------------------------------------------------

Config error

Parser error, can't tell attribute 'xlmls'
Line 1: <?xml version="1.0"?>
Line 2: <configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 3: <appSettings>
Line 4: <add key="Ver" value="8.01" />
Source code: C:\inetpub\wwwroot\myWeb\web.config Line: 2

Aug 26 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Rubal Jain | last post by:
Hello - While installing ASP.Net on Windows 2003 I am getting the followin error : Error parsing C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config Parser returned error...
5
by: qqcq6s59 | last post by:
Hi all I am a newbie and I just saw a ongoing thread on Fileprocessing which talks abt config parser. I have writen many pyhton program to parse many kind of text files by using string module and...
3
by: Pritam Bhat | last post by:
Hi, I recently upgraded my XML parser and the ComInterop code that I had for my webservice is throwing the following error. For ASP applications, we created a wrapper class on this web service and...
1
by: VB Programmer | last post by:
I am using a free rich text control from ExportTechnologies. I was developing and debuggin fine. Restarted VS.NET 2003 and now I get this error when trying to run my web app. Any ideas? ...
0
by: David Berman | last post by:
Hello, I'm receiving an error reading the machine.config file when I try to access my web application. This error came out of nowhere. After searching many sites, googelizing and searching here,...
6
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root...
1
by: Dan | last post by:
Environment: Win2k Server, ASP.NET(v1.1.4322) Everything seemed to work fine till this morning...and than this happened What could this possibly mean? Is it the file? (The file in the error...
0
by: psilu | last post by:
Hi , I have created a virtual directory and copied my web services file to corresponding physical directory. But when i am trying to discover the webservice from virtual directory i am getting...
2
by: Jim Duffie | last post by:
Hi, can anyone give me a clue why I am getting the following error, Thanks, Jim Parser Error Message: Could not load type System.Web.UI.WebControls.Menu from assembly System.Web,...
1
by: Carlos Sosa Albert | last post by:
Hello people, I'm having an issue registering an assembly in ONE server. I've already tried to reinstall the .NET framework 2.0 but the error is still there. I enabled the logging but nothing...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.