473,791 Members | 2,973 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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: <configuratio n
xmlns="http://schemas.microso ft.com/.NetConfigurati on/v2.0">
Line 3: <appSettings>
Line 4: <add key="Ver" value="8.01" />
Source code: C:\inetpub\wwwr oot\myWeb\web.c onfig Line: 2

Aug 26 '06 #1
3 1239

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.tc c.edu.twwrote in message
news:Ox******** ******@TK2MSFTN GP05.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: <configuratio n
xmlns="http://schemas.microso ft.com/.NetConfigurati on/v2.0">
Line 3: <appSettings>
Line 4: <add key="Ver" value="8.01" />
Source code: C:\inetpub\wwwr oot\myWeb\web.c onfig 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.tc c.edu.twwrote in message
news:Ox******** ******@TK2MSFTN GP05.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: <configuratio n
xmlns="http://schemas.microso ft.com/.NetConfigurati on/v2.0">
Line 3: <appSettings>
Line 4: <add key="Ver" value="8.01" />
Source code: C:\inetpub\wwwr oot\myWeb\web.c onfig Line: 2

Aug 26 '06 #3
In web.config, change :
<configuratio n xmlns="http://schemas.microso ft.com/.NetConfigurati on/v2.0">

to :
<configuratio n>

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.tc c.edu.twwrote in message news:Ox******** ******@TK2MSFTN GP05.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: <configuratio n
xmlns="http://schemas.microso ft.com/.NetConfigurati on/v2.0">
Line 3: <appSettings>
Line 4: <add key="Ver" value="8.01" />
Source code: C:\inetpub\wwwr oot\myWeb\web.c onfig Line: 2

Aug 26 '06 #4

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

Similar topics

2
10216
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 0x80070003. I find it its not creating the CONFIG folder and related files under it.
5
2636
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 regex. But after reading that config parser thread I feel stunned. Can somebody tell me some intro info how to parse huge data (most of them are input data to application softwares like nastran, abaqus etc)
3
2332
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 expose that class for ASP COM Interop. Any suggestion? Error dump ----------------------------------
1
2381
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? <---- ERROR BELOW ----> Server Error in '/MyWeb' Application. ---------------------------------------------------------------------------- ----
0
2742
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, I've found others with the same problem but no resolution. The problem for me (and for others) came out of nowhere. Here's the error message: >>>>> START <<<<< Server Error in '/MyApp' Application....
6
3889
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 of the web app 3)restarting IIS 4)recreating the virtual dir in IIS 5)playing with any and all settings I could find for the web app in IIS, including changing permissions 6)recopying the machineconfig file from my asp v1.4... onto my local server
1
5109
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 is not missing nor is it misspelled or on a different path) Is it permissions? (ASP.NET account is given full access to E:\DNN dir)
0
3114
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 the following errors disco http://machine/T3ASP/rtconfig.asmx Microsoft (R) Web Services Discovery Utility
2
384
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, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
1
3296
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 changed. The only thing I noticed is that it mentions "Using host configuration file: \\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config". Seems pretty strange the "\\?\c:" Oh, of course the file is in the .bin directory...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10155
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9995
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4110
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.