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.net on hosted server

AJAX.net on hosted server

Scheduled Pinned Locked Moved ASP.NET
csharpjavascriptsysadmintestingbeta-testing
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.
  • T Offline
    T Offline
    totig
    wrote on last edited by
    #1

    I was developing an application using Ajax.net from Microsoft. Testing on my machine went well, so I uploaded it to our server (its a shared server, so only ftp access). Now I know the web host has not installed this component on the server I am using - but when I tried to access the page I created, it fell over as it was missing the files from the install. I then added these to be included in my build and uploaded again. Now the page works - but with no Ajax features, it keeps refreshing as normal. When loading the page, it does report a javascript error that its missing something (I cant remember the name right now - and being at work now I am not able to check this either). Anyway, my question is if it should be possible to run Ajax.net on a remote server in this way, or if they would have to install this. Thanks

    S 1 Reply Last reply
    0
    • T totig

      I was developing an application using Ajax.net from Microsoft. Testing on my machine went well, so I uploaded it to our server (its a shared server, so only ftp access). Now I know the web host has not installed this component on the server I am using - but when I tried to access the page I created, it fell over as it was missing the files from the install. I then added these to be included in my build and uploaded again. Now the page works - but with no Ajax features, it keeps refreshing as normal. When loading the page, it does report a javascript error that its missing something (I cant remember the name right now - and being at work now I am not able to check this either). Anyway, my question is if it should be possible to run Ajax.net on a remote server in this way, or if they would have to install this. Thanks

      S Offline
      S Offline
      Sam Heller
      wrote on last edited by
      #2

      You should be able to get away with putting the atlas dll in the bin folder. You will then need to look in the web.config for any references to this dll as they will be requesting it from the GAC (a machine independent resource for dlls). Obviously it wont reside in your hosted pcs GAC so should go looking in the BIN and find it there. Seems to work for me

      T 1 Reply Last reply
      0
      • S Sam Heller

        You should be able to get away with putting the atlas dll in the bin folder. You will then need to look in the web.config for any references to this dll as they will be requesting it from the GAC (a machine independent resource for dlls). Obviously it wont reside in your hosted pcs GAC so should go looking in the BIN and find it there. Seems to work for me

        T Offline
        T Offline
        totig
        wrote on last edited by
        #3

        Hi, thanks for your reply. I have looked in the web.config now, but cant see what I would need to change. Do I need to do something to tell it to look in the bin folder? By the way, the javascript error message I am getting is: 'Sys' is undefined

        S 1 Reply Last reply
        0
        • T totig

          Hi, thanks for your reply. I have looked in the web.config now, but cant see what I would need to change. Do I need to do something to tell it to look in the bin folder? By the way, the javascript error message I am getting is: 'Sys' is undefined

          S Offline
          S Offline
          Sam Heller
          wrote on last edited by
          #4

          Yeah i would guess the error is caused by not having the Javascript rendered due to the lack of the dll that contains it all. Take a look in the Assemlies section of the web.config file for a reference to System.Web.Atlas or something along those lines. I don't know for sure because I dont have them in any of mine

          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