Link to home
Create AccountLog in
Avatar of asitaaa
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.Services

This happens in a Web Service where I have:

<System.Web.Script.Services.ScriptService()> _
<WebService(Namespace:="http://tempuri.org/")> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Public Class GetSubject_WS...
Avatar of nmarun
nmarun
Flag of India image

ASKER CERTIFIED SOLUTION
Avatar of asitaaa
asitaaa

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
If you found the solution by yourself, please assign points to it and mark this issue for PAQ.