Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 11, 2011 08:06 AM by surya_bg2000
Jan 29, 2007 04:26 PM|LINK
I'm trying to use the [Microsoft.Web.Script.Services.ScriptService()] in my web service, but when I compile I receive the following error message:
Error 1 The type or namespace name 'Web' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
Any suggestions how to fix this problem?
Thanks in advance!
Jan 29, 2007 04:38 PM|LINK
the correct namespace is System.Web.Script.Services.
Feb 03, 2007 08:50 AM|LINK
If like me and you watched Joe Stagners terrific video "How Do I: Make Client-Side Network Callbacks with ASP.NET AJAX" found
at http://www.asp.net/learn/videos/view.aspx?tabid=63&id=79 (as of this posting), and you followed along with his example, he does use the Microsoft namespace.
The trick is to recall Joe was using the BETA release. The System.Web namespace does work as already suggested.
Feb 13, 2007 07:29 AM|LINK
I have changed [Microsoft.Web.Script.Services.ScriptService()] to [System.Web.Script.Services.ScriptService()] in "CarsServices.cs" and [Microsoft.Web.Script.Services.ScriptMethod()] to
[System.Web.Script.Services.ScriptMethod()] in "Default.aspx" , but got an Method error 500 in DropDownList1.
Why and How could deal with it ? Thanks
Feb 13, 2007 10:41 AM|LINK
then, probably, an exception is being raised by the server. Could you report here the content of the response?
Feb 13, 2007 02:47 PM|LINK
Now it works fine in my place, i did nothing but restart my computer, really funny he :)
Mar 13, 2007 06:59 PM|LINK
I am attempting to use System.Web.Script namespace but cannot access it. I get the following error: "The namespace name 'Script' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)"
Mar 19, 2007 12:23 PM|LINK
I'm also getting the same error. I can successfully run the example project : Make Client-Side Network Callbacks with ASP.NET AJAX" found at
http://www.asp.net/learn/videos/view.aspx?tabid=63&id=79 (as mentioned above) but when I try and implement similar functionlity in another application I dont even recieve intellisence on
the Microsoft.Web.Script.Services.ScriptService() call. I have doubled checked web.config files assembly references etc etc. The one thing I can say is that my application that gives the error is a Web Application Project rather than the new Stock project
model. Any help would be greatly appreciated...
Mar 19, 2007 02:18 PM|LINK
Try adding the System.Web.Extensions reference.
Jun 05, 2007 06:57 AM|LINK
Hi All Where do i get this System.web.Extensions Reference.. i Need it.. its very urgent...
Thanks in Advance