Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. AJAX Problem "There was an error in callback"

AJAX Problem "There was an error in callback"

Scheduled Pinned Locked Moved ASP.NET
csharphelpasp-netdotnetvisual-studio
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PJWindsor
    wrote on last edited by
    #1

    Hi all, Im having a problem where if i run a ajax based website on my developement machine using the Visual studio intergrated websever my ajax control works as expected all the ajax callback work. If i publish the website to my live server(settings below) all the other controls work but ajax functionality gives a error message "There was an error in callback" then what looks like a long string of random chars probably a hash. Has anyone had anything similar? is there anything specifice i need to do to my IIS setup to get AJAX working propertly? Or would this be an error in my code, although if it where i dont see how it would work from Visual studio. IIS Server Setup On the ASP.NET tab of the site properties the site is set to, version 2.0.50727 and the website has its own application Pool. Server is setup using Windows 2003 version 5.2.3790 SP2 Build 3790 and has .NET Framework 3.5 SP1 installed. Thanks in advance Phil

    K 1 Reply Last reply
    0
    • P PJWindsor

      Hi all, Im having a problem where if i run a ajax based website on my developement machine using the Visual studio intergrated websever my ajax control works as expected all the ajax callback work. If i publish the website to my live server(settings below) all the other controls work but ajax functionality gives a error message "There was an error in callback" then what looks like a long string of random chars probably a hash. Has anyone had anything similar? is there anything specifice i need to do to my IIS setup to get AJAX working propertly? Or would this be an error in my code, although if it where i dont see how it would work from Visual studio. IIS Server Setup On the ASP.NET tab of the site properties the site is set to, version 2.0.50727 and the website has its own application Pool. Server is setup using Windows 2003 version 5.2.3790 SP2 Build 3790 and has .NET Framework 3.5 SP1 installed. Thanks in advance Phil

      K Offline
      K Offline
      Kannan Ar
      wrote on last edited by
      #2

      I think the server side function which ajax trying to execute is throwing an exception. Have you done any error handling functionality? Check your error logs.

      P 2 Replies Last reply
      0
      • K Kannan Ar

        I think the server side function which ajax trying to execute is throwing an exception. Have you done any error handling functionality? Check your error logs.

        P Offline
        P Offline
        PJWindsor
        wrote on last edited by
        #3

        Cheers ill check the logs tomorrow, when im in work again and update. Phil

        1 Reply Last reply
        0
        • K Kannan Ar

          I think the server side function which ajax trying to execute is throwing an exception. Have you done any error handling functionality? Check your error logs.

          P Offline
          P Offline
          PJWindsor
          wrote on last edited by
          #4

          I think i am getting an exception but the code i wont to write into the event log isnt working. Its a permission thing, i've created an event source in the registry but it still isnt writing too it. Im going to try to track down the users ASP is running under on my server and then all that user write permissions. Thanks for the help, its always nice to go back to basics :)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups