473,396 Members | 1,891 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,396 software developers and data experts.

Web Service Configuration Error.

I used VS 2005 Feb. version to create a web service. It worked fine as
file-based service but when I tried to invoke from
http://localhost/.../service.asmx. to retrieve the reference from the
service, I got:

Parser Error Message: Unrecognized attribute 'xmlns'.

The error pointed to the second line (excluding comments) of the project
web.config file

Line 10: <configuration xmlns
="http://schemas.microsoft.com/.NetConfiguration/v2.0">

If I remove this line the error move to the next line. Same thing happened
when I tried to deploy on a different computer or create a different Web
service.

SL

Nov 23 '05 #1
3 3772
make sure the virtual diretory is running on ASP.Net 2.0 , you can see
this using inetmgr, ASPNet tab in the property dialog. or you can try
ASP.Net version switcher from Denis Baeur

regards
erymuzuan mustapa

Sean L. wrote:
I used VS 2005 Feb. version to create a web service. It worked fine as
file-based service but when I tried to invoke from
http://localhost/.../service.asmx. to retrieve the reference from the
service, I got:

Parser Error Message: Unrecognized attribute 'xmlns'.

The error pointed to the second line (excluding comments) of the project
web.config file

Line 10: <configuration xmlns
="http://schemas.microsoft.com/.NetConfiguration/v2.0">

If I remove this line the error move to the next line. Same thing happened
when I tried to deploy on a different computer or create a different Web
service.

SL

Nov 23 '05 #2
Thank you very much, it works.

SL

"erymuzuan" wrote:
make sure the virtual diretory is running on ASP.Net 2.0 , you can see
this using inetmgr, ASPNet tab in the property dialog. or you can try
ASP.Net version switcher from Denis Baeur

regards
erymuzuan mustapa

Sean L. wrote:
I used VS 2005 Feb. version to create a web service. It worked fine as
file-based service but when I tried to invoke from
http://localhost/.../service.asmx. to retrieve the reference from the
service, I got:

Parser Error Message: Unrecognized attribute 'xmlns'.

The error pointed to the second line (excluding comments) of the project
web.config file

Line 10: <configuration xmlns
="http://schemas.microsoft.com/.NetConfiguration/v2.0">

If I remove this line the error move to the next line. Same thing happened
when I tried to deploy on a different computer or create a different Web
service.

SL

Nov 23 '05 #3

I am having same problem as mentioned in this thread. I am running
VS2005 and SQL 2000 on windowsXP. How can I work around this problem.
Thanks,
ab**********@gmail.com

--
hafeez
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message1523499.html

Nov 23 '05 #4

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

Similar topics

3
by: buran | last post by:
Dear ASP.NET Programmers, I encountered the following problem when running my project: Configuration Error Description: An error occurred during the processing of a configuration file...
1
by: Oney | last post by:
I use Microsoft Exception management block to publish exception to event log. but some error occured. Error is blow, how can I solve this problem ??? Configuration Error Description: An error...
3
by: VB Programmer | last post by:
I am using the free rich text editor control from ExportTechnologies. Every once in a while I get this error (for no apparent reason). Sometimes it happens even when I'm working on a totally...
7
by: Martin Strojek | last post by:
Hi, I have the following problem with developing some web site. I use Visual Studio 2003 to build a website. I tried Windows 2003 Server and switched now back to Windows XP with PWS but the...
2
by: Terry Holland | last post by:
I posted a follow up to an earlier post but did not receive response so here it is again (with original post and response) > This could be because you are running the index service over this web...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
0
by: tanske | last post by:
Hi, Here's the error I received after browsing the ASMX file from IIS. Server Error in '/ABC' Application. --------------------------------------------------------------------------------...
4
by: aSoundMind | last post by:
Hi there, I recieve this error Server Error in '/integrate' Application. -------------------------------------------------------------------------------- Configuration Error Description: An...
4
by: =?Utf-8?B?SmFzb24gUmljaG1laWVy?= | last post by:
Is there a way to catch an application configuration error on startup? I have written a windows service. If there is an error in the configuration file (such as invalid xml) the exception is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
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,...

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.