Click here to Skip to main content
15,890,717 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have a web application where I am referring a web services from the client script. In the script manager tag, I have added the web reference using the following code snippet:

<Services>
<asp:ServiceReference Path="~/WebServices/TestingNSWS.asmx">
<Services>


But I am getting the following error:
"Sys.InvalidOperation: Object ApplicationName already exists and is not a namespace"


Can anyone help in this regards.

Thanks
Posted
Updated 30-Apr-10 4:51am
v2

Are you using AJAX ? All the google hits I got, also used the ASP.NET AJAX library. Here[^] is an example discussion
 
Share this answer
 
Yes I am using Ajax in my web application
 
Share this answer
 
I have figured out the reason for that issue.
I am using Ajax Pro dll.
We need to include this property just above the class declaration to fix the issue am facing...

[AjaxPro.AjaxNamespace("RecordsView")]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900