Link to home
Start Free TrialLog in
Avatar of No1Coder
No1CoderFlag for United States of America

asked on

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

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.

Avatar of Christopher Kile
Christopher Kile
Flag of United States of America image

What makes you think that your web service didn't fail?
Avatar of No1Coder


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.
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.
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.
Would you please show me your code and the portion of web.config you modified to add the service to your Web application?
Avatar of No1Coder
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No solution found