Parser error in web.config

  • Thread starter Thread starter ad
  • Start date Start date
A

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
 
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)
 
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.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top