Setting up svc for javascript scriptmanager

Discussion in 'Site Programming, Development and Design' started by wills, Jan 27, 2010.

  1. Hi,

    I've been looking at the forums but still can't find any help to do with setting up a svc that is consumed my javascript (using ScriptManager)

    http://forum.Winhost.com/showthread.php?p=4115

    I implemented the:

    <add prefix="http://www.mywebsite.org" />

    But still my javascript doesn't work. It says that the service is undefined:

    http://www.toagoodhome.com/

    You can see it in Firebug in Firefox.

    Could youi please put me in the right location?
     
    Last edited by a moderator: Oct 14, 2015
  2. Ray

    Ray

    I pulled up http://www.toagoodhome.com/ on my firefox and I didn't see any error message. Whats the exact error message?

    Usually a javascript error will show what line it is failing. Did you trace it to that line?
     
  3. Hi,

    Yeah it's this line:

    ToAGoodHomeService.GetGarageSales(Math.random(), function (result) {

    (109 in http://www.toagoodhome.com/Scripts/Main.js)

    It just says it is undefined, which means the service isn't running right.
     
  4. Ray

    Ray

    I don't see the java error with Firefox or Chrome only IE. Have you tested it with other browsers?
     
  5. In Firefox you need to have Firebug to see the error, in IE it comes up as a script error.
     

Share This Page