Parser error in web.config

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
 
S

sloan

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

Siva M

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

Members online

Forum statistics

Threads
473,708
Messages
2,569,347
Members
44,654
Latest member
7Jhamal74

Latest Threads

Top