Forgive my ignorance here, I've goggled extensively and looked through the forums here and have not found an answer to my question. I'm hoping to play around with ASP.Net AJAX on a hosted server here on campus, however, I don't have permissions on the box to install the AJAX extensions. I believe that I am out of luck here, but I just wanted to check if I had any options other than running the off my local machine. Thanks!
You should be able to put the AJAX .dll file in your bin folder just like with the ATLAS setup. I have set AJAX up on a hosted server in this manner without problems, or installing anything in the server's GAC. The .dll files are installed into your local GAC by default, but are also placed on your local machine. Mine were in Program Files\Microsoft Asp.Net\AJAX Extensions or something close to that (I'm not at home so I can't check). Just make sure you have your web.config setup properly it should work. If you do have the AJAX stuff installed into your local GAC you will get an error when testing locally because all the classes will be duplicated. I resolved this by only placing the .dll file in the bin folder on my server and letting the my local GAC serve up the classes when testing locally. The only other problem I ran into was because one of the server's I tried had restrictions on accessing parts of the .Net framework, specifically I couldn't use Reflection which is used by AJAX Extensions. Hope this helps.
Seriously, people.. There are probably 50 posts here that re-iterate the same about this problem.. OMG...
Thanks for the replies, sorry for not seeing this elsewhere... I've got it working now, the problem that i was having, so far as i can tell, was that the web.config that i had in the root of the application was not configured for AJAX... the web.config that i had in the same folder as the AJAX enabled page was the one that i had added the appropriate lines to, once i changed the web.config in the root of the app, all was well.
Sorry for wasting anyones time...
No comments:
Post a Comment