Im pretty sure that its because system. Web. Extensions. dll isnt up-to-date of isnt the latest version.
Im confused by the fact that I have two versions of system. web. extensions. DLL installed on my computer one is version 3.5.0.0 and the other is version 1.0.61025.0. all I know is that one of these is from. net3.5 and the other has installed with ASP. NET 2.0 Ajax extensions, in my web. config all the refereneces seem to point to the ASP. NET 2.0 Ajax extensions. I think its HTTP handlers need to changed. after adding the 3.5.0.0 it still hasnt worked. I cant understand why the bucket in Ajax toolkit website handlers wont work.
To try to remedy this problem I have editied the web. config using both references but they didnt seem to work (together and singluarly ).
Scenario:
Compilation Error
Description:An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler error message:Bc30560: 'scriptserviceattribute' is ambiguous in the namespace 'System. Web. Script. service '.
Source error:
Line 12: <WebService (namespace: = "http://tempuri.org/")> _ line 13: <webservicebinding (conformsto: = wsiprofiles. basicprofile1_1)> _ line 14: <scriptservice ()> _ line 15: public class autocompleteline 16: inherits system. web. services. webService
Solution:
All you have to do in order to solve the error bc30560 indicating that 'scriptserviceattribute' is ambiguous in the namespace 'System. web. script. services 'is just commenting the proper system. web. extensions assembly according to their version numbers.
Ref:
Http://forums.asp.net/t/1179216.aspx
Http://www.kodyaz.com/articles/ScriptServiceAttribute-ambiguous-namespace-System-Web-Script-Services.aspx
Http://www.telerik.com/community/forums/dotnetnuke/module-development/system-web-ui-ambiguous-namespace-issue-with-radeditor-on-dnn.aspx