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
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
> 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
[quoted text clipped - 14 lines]
>
> SL
Sean L. - 05 Apr 2005 21:57 GMT
Thank you very much, it works.
SL
> 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
[quoted text clipped - 21 lines]
> >
> > SL
hafeez - 28 Apr 2005 07:34 GMT
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,
abdul.hafeez@gmail.com
--
hafeez