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