N
Nathan Sokalski
I am moving my website from my machine to my webhost, and need some help
with what extra files I need to include due to the fact that I used AJAX in
my site. Everything on the site is obviously functioning as desired when I
test it on my machine using Visual Studio 2005. From what I have determined,
the files I am forgetting are the JavaScript files from the Microsoft AJAX
Library (See "To install Microsoft AJAX Library" at the bottom of
http://ajax.asp.net/docs/InstallingASPNETAJAX.aspx ). These instructions
said to "Copy the JavaScript files to the Web site", but I found that
statement confusing for two reasons:
1. It does not say what directory in the website, which may be different for
different sites.
2. When I did a View Source for my page, it did not ask for any of those
files, but it did have the following script tags, which were added
dynamically:
<script
src="/WebResource.axd?d=Xdr-RukB2950SXJ9i71PzQ2&t=633020304580493760"
type="text/javascript"></script>
<script
src="/WebResource.axd?d=hWBdjOECZgN_k_F7YoeIbx_uLIw-vrcNg3LJ3ReggFo1&t=633020304580493760"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=u5ZmT0t1N9GdJVAywVbZRG18UrHgzyUqVR1kN1XjmvbDYSWj2ME-VLVqrjhyDloC0&t=633162383981348248"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0AFZkuAEsobfS2P7L9YVHmOcWlSD8vjBiOwMy9Vgk-2qDSltTpCfzOJkxw2&t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0AFZkuAEsobfS2OA_l9piwXaCwsvzLh20j1El5wNsGyO4SyyVf7a8JcgkQ2&t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0AFZkuAEsobfS2O1N483k9TnkyAkKQWS8mmaZc06JdbdpYo6ICgfsEgOyA2&t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0AFZkuAEsobfS2O2kjkj94yAoGi2S58QcbxfxlP890rBV9zbcPNI4DQ87XIFsDOfGXqHCzK5G344D7Q1&t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0AFZkuAEsobfS2PUwNRPYjgrAcy6lFlMa58pQ6l_av8iYECPUqFjziFETMxmFTIilbQnwnGmZ_d6lxOQglFhr3d2lAZhJhbrzElI0&t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0AFZkuAEsobfS2MvnE-ACyj_ATIe2q6MHi6VDEV7JnSIEE2JzewMQM6f4fB40B5anjmL3n1vOvbuU7c1&t=633162373890373255"
type="text/javascript"></script>
Because the page gives a script error saying 'Sys' is undefined, 'Sys' is
declared in the Microsoft AJAX Library, and the line number in the error
uses 'Sys', I am pretty sure my problem has something to do with the
Microsoft AJAX Library. Could anybody help me figure out what I need to do
to make the AJAX work on my webhost? Thanks.
with what extra files I need to include due to the fact that I used AJAX in
my site. Everything on the site is obviously functioning as desired when I
test it on my machine using Visual Studio 2005. From what I have determined,
the files I am forgetting are the JavaScript files from the Microsoft AJAX
Library (See "To install Microsoft AJAX Library" at the bottom of
http://ajax.asp.net/docs/InstallingASPNETAJAX.aspx ). These instructions
said to "Copy the JavaScript files to the Web site", but I found that
statement confusing for two reasons:
1. It does not say what directory in the website, which may be different for
different sites.
2. When I did a View Source for my page, it did not ask for any of those
files, but it did have the following script tags, which were added
dynamically:
<script
src="/WebResource.axd?d=Xdr-RukB2950SXJ9i71PzQ2&t=633020304580493760"
type="text/javascript"></script>
<script
src="/WebResource.axd?d=hWBdjOECZgN_k_F7YoeIbx_uLIw-vrcNg3LJ3ReggFo1&t=633020304580493760"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=u5ZmT0t1N9GdJVAywVbZRG18UrHgzyUqVR1kN1XjmvbDYSWj2ME-VLVqrjhyDloC0&t=633162383981348248"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0AFZkuAEsobfS2P7L9YVHmOcWlSD8vjBiOwMy9Vgk-2qDSltTpCfzOJkxw2&t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0AFZkuAEsobfS2OA_l9piwXaCwsvzLh20j1El5wNsGyO4SyyVf7a8JcgkQ2&t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0AFZkuAEsobfS2O1N483k9TnkyAkKQWS8mmaZc06JdbdpYo6ICgfsEgOyA2&t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0AFZkuAEsobfS2O2kjkj94yAoGi2S58QcbxfxlP890rBV9zbcPNI4DQ87XIFsDOfGXqHCzK5G344D7Q1&t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0AFZkuAEsobfS2PUwNRPYjgrAcy6lFlMa58pQ6l_av8iYECPUqFjziFETMxmFTIilbQnwnGmZ_d6lxOQglFhr3d2lAZhJhbrzElI0&t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0AFZkuAEsobfS2MvnE-ACyj_ATIe2q6MHi6VDEV7JnSIEE2JzewMQM6f4fB40B5anjmL3n1vOvbuU7c1&t=633162373890373255"
type="text/javascript"></script>
Because the page gives a script error saying 'Sys' is undefined, 'Sys' is
declared in the Microsoft AJAX Library, and the line number in the error
uses 'Sys', I am pretty sure my problem has something to do with the
Microsoft AJAX Library. Could anybody help me figure out what I need to do
to make the AJAX work on my webhost? Thanks.