asitaaa
asked on
'ScriptServiceAttribute' is ambiguous in the namespace 'System.Web.Script.Services
I installed VS on a new PC and copied my website folder from my old PC. Now when I try to compile it on new PC, I get:
'ScriptServiceAttribute' is ambiguous in the namespace 'System.Web.Script.Service s
This happens in a Web Service where I have:
<System.Web.Script.Service s.ScriptSe rvice()> _
<WebService(Namespace:="http://tempuri.org/") > _
<WebServiceBinding(Conform sTo:=WsiPr ofiles.Bas icProfile1 _1)> _
<Global.Microsoft.VisualBa sic.Compil erServices .DesignerG enerated() > _
Public Class GetSubject_WS...
'ScriptServiceAttribute' is ambiguous in the namespace 'System.Web.Script.Service
This happens in a Web Service where I have:
<System.Web.Script.Service
<WebService(Namespace:="http://tempuri.org/")
<WebServiceBinding(Conform
<Global.Microsoft.VisualBa
Public Class GetSubject_WS...
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
If you found the solution by yourself, please assign points to it and mark this issue for PAQ.
http://www.kodyaz.com/articles/ScriptServiceAttribute-ambiguous-namespace-System-Web-Script-Services.aspx
http://forums.asp.net/t/1179216.aspx