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...
.NET ProgrammingASP.NET

Avatar of undefined
Last Comment
nmarun

8/22/2022 - Mon
nmarun

ASKER CERTIFIED SOLUTION
asitaaa

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
nmarun

If you found the solution by yourself, please assign points to it and mark this issue for PAQ.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy