Microsoft JScript runtime error: Sys.Net.WebServiceFailedException  when runbning slideshow control

No1Coder
No1Coder used Ask the Experts™
on
Am trying to get ajax slideshow control to work.  Am following examples, but when I run the page, gets exception:

Microsoft JScript runtime error: Sys.Net.WebServiceFailedException:

My code is essentially identical to that in the examples.  The web service and form are both in the root of my project.

Seen other posts with this error, but no solution.

Ideas?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Christopher KileSenior Software Analyst

Commented:
What makes you think that your web service didn't fail?

Author

Commented:
I don;t think it is finding the web service.  Is there someiting I need to do ti "install" it?

Currently, I have just pleced the code (asmx) in the root directory of my project.  Does it need to be installed on IIS?

I really don;t understand wht a web service is needed in the first place.  A simple method call would seem to me to work fine.  There is no information on how to do this that I can find.
Christopher KileSenior Software Analyst

Commented:
A Web Service is needed because the AJAX runtime will call that Web Service to provide data to the AJAX client, which the client will use to update the browser window without requiring a full postback of the browser.  That's the point of Asynchronous JavaScript And XML (AJAX), to be able to do just this.

Here is a tutorial:

Using ASP.NET AJAX with Web Services Tutorials

This includes links to tutorials for the current version.
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Author

Commented:
So I see that something extra may be needed in web.config (which I added), but it still doesn;t work.

I don't understand my Microsoft would publish such an incomplete example on how to use this control.
Christopher KileSenior Software Analyst

Commented:
Would you please show me your code and the portion of web.config you modified to add the service to your Web application?
Commented:
Thanks for trying to assist, but I give up on this.

Between posts here, and on other forums, I have determined that this code just doesn;t work.

I implemented as server side solution.

Author

Commented:
No solution found

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial