Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP.NET and AJAX: JavaScript files from the Microsoft AJAX Library

Reply
Thread Tools

ASP.NET and AJAX: JavaScript files from the Microsoft AJAX Library

 
 
Nathan Sokalski
Guest
Posts: n/a
 
      06-01-2007
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&amp;t=633020304580493760"
type="text/javascript"></script>
<script
src="/WebResource.axd?d=hWBdjOECZgN_k_F7YoeIbx_uLIw-vrcNg3LJ3ReggFo1&amp;t=633020304580493760"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=u5ZmT0t1N9GdJVAywVbZRG18UrHgz yUqVR1kN1XjmvbDYSWj2ME-VLVqrjhyDloC0&amp;t=633162383981348248"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2P7L9YVHmOcWlSD8vjBiOwMy9Vgk-2qDSltTpCfzOJkxw2&amp;t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2OA_l9piwXaCwsvzLh20j1El5wNsGyO4SyyVf7 a8JcgkQ2&amp;t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2O1N483k9TnkyAkKQWS8mmaZc06JdbdpYo6ICg fsEgOyA2&amp;t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2O2kjkj94yAoGi2S58QcbxfxlP890rBV9zbcPN I4DQ87XIFsDOfGXqHCzK5G344D7Q1&amp;t=63316237389037 3255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2PUwNRPYjgrAcy6lFlMa58pQ6l_av8iYECPUqF jziFETMxmFTIilbQnwnGmZ_d6lxOQglFhr3d2lAZhJhbrzElI0 &amp;t=633162373890373255"
type="text/javascript"></script>
<script
src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2MvnE-ACyj_ATIe2q6MHi6VDEV7JnSIEE2JzewMQM6f4fB40B5anjmL3 n1vOvbuU7c1&amp;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.
--
Nathan Sokalski
http://www.velocityreviews.com/forums/(E-Mail Removed)
http://www.nathansokalski.com/


 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      06-01-2007
The AJAX library creates duplicate objects in JavaScript. Sys is the System
namespace, so yes that is AJAX. If you have created the site as an AJAX
enabled site, and use publish, you will have them already. If this is a
refit, you have to work them in yourself.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

************************************************
Think outside the box!
************************************************
"Nathan Sokalski" <(E-Mail Removed)> wrote in message
news:O%23c%23Mi$(E-Mail Removed)...
>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&amp;t=633020304580493760"
> type="text/javascript"></script>
> <script
> src="/WebResource.axd?d=hWBdjOECZgN_k_F7YoeIbx_uLIw-vrcNg3LJ3ReggFo1&amp;t=633020304580493760"
> type="text/javascript"></script>
> <script
> src="/ScriptResource.axd?d=u5ZmT0t1N9GdJVAywVbZRG18UrHgz yUqVR1kN1XjmvbDYSWj2ME-VLVqrjhyDloC0&amp;t=633162383981348248"
> type="text/javascript"></script>
> <script
> src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2P7L9YVHmOcWlSD8vjBiOwMy9Vgk-2qDSltTpCfzOJkxw2&amp;t=633162373890373255"
> type="text/javascript"></script>
> <script
> src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2OA_l9piwXaCwsvzLh20j1El5wNsGyO4SyyVf7 a8JcgkQ2&amp;t=633162373890373255"
> type="text/javascript"></script>
> <script
> src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2O1N483k9TnkyAkKQWS8mmaZc06JdbdpYo6ICg fsEgOyA2&amp;t=633162373890373255"
> type="text/javascript"></script>
> <script
> src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2O2kjkj94yAoGi2S58QcbxfxlP890rBV9zbcPN I4DQ87XIFsDOfGXqHCzK5G344D7Q1&amp;t=63316237389037 3255"
> type="text/javascript"></script>
> <script
> src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2PUwNRPYjgrAcy6lFlMa58pQ6l_av8iYECPUqF jziFETMxmFTIilbQnwnGmZ_d6lxOQglFhr3d2lAZhJhbrzElI0 &amp;t=633162373890373255"
> type="text/javascript"></script>
> <script
> src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2MvnE-ACyj_ATIe2q6MHi6VDEV7JnSIEE2JzewMQM6f4fB40B5anjmL3 n1vOvbuU7c1&amp;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.
> --
> Nathan Sokalski
> (E-Mail Removed)
> http://www.nathansokalski.com/
>



 
Reply With Quote
 
 
 
 
Nathan Sokalski
Guest
Posts: n/a
 
      06-02-2007
That will not work for me, because the machine that Visual Studio 2005 is
installed on is in a different location from the one that I access the
website from (I work on the site at home, but do the FTPing at work).
Therefore:

1. I need to have the compiled *.dll's on my computer so that I can take
them with me.
2. I need to know where on the webhost I will need to put the JavaScript
files (or whatever extra files I need to include).

The basic summary of my situation is that I have all the files I need, but I
need to know what to do with all of them to set up my site on a webhost from
a machine other than the one that I built the site on. Thanks.
--
Nathan Sokalski
(E-Mail Removed)
http://www.nathansokalski.com/

"Cowboy (Gregory A. Beamer)" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
> The AJAX library creates duplicate objects in JavaScript. Sys is the
> System namespace, so yes that is AJAX. If you have created the site as an
> AJAX enabled site, and use publish, you will have them already. If this is
> a refit, you have to work them in yourself.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
> http://gregorybeamer.spaces.live.com
> Co-author: Microsoft Expression Web Bible (upcoming)
>
> ************************************************
> Think outside the box!
> ************************************************
> "Nathan Sokalski" <(E-Mail Removed)> wrote in message
> news:O%23c%23Mi$(E-Mail Removed)...
>>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&amp;t=633020304580493760"
>> type="text/javascript"></script>
>> <script
>> src="/WebResource.axd?d=hWBdjOECZgN_k_F7YoeIbx_uLIw-vrcNg3LJ3ReggFo1&amp;t=633020304580493760"
>> type="text/javascript"></script>
>> <script
>> src="/ScriptResource.axd?d=u5ZmT0t1N9GdJVAywVbZRG18UrHgz yUqVR1kN1XjmvbDYSWj2ME-VLVqrjhyDloC0&amp;t=633162383981348248"
>> type="text/javascript"></script>
>> <script
>> src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2P7L9YVHmOcWlSD8vjBiOwMy9Vgk-2qDSltTpCfzOJkxw2&amp;t=633162373890373255"
>> type="text/javascript"></script>
>> <script
>> src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2OA_l9piwXaCwsvzLh20j1El5wNsGyO4SyyVf7 a8JcgkQ2&amp;t=633162373890373255"
>> type="text/javascript"></script>
>> <script
>> src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2O1N483k9TnkyAkKQWS8mmaZc06JdbdpYo6ICg fsEgOyA2&amp;t=633162373890373255"
>> type="text/javascript"></script>
>> <script
>> src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2O2kjkj94yAoGi2S58QcbxfxlP890rBV9zbcPN I4DQ87XIFsDOfGXqHCzK5G344D7Q1&amp;t=63316237389037 3255"
>> type="text/javascript"></script>
>> <script
>> src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2PUwNRPYjgrAcy6lFlMa58pQ6l_av8iYECPUqF jziFETMxmFTIilbQnwnGmZ_d6lxOQglFhr3d2lAZhJhbrzElI0 &amp;t=633162373890373255"
>> type="text/javascript"></script>
>> <script
>> src="/ScriptResource.axd?d=jK6xX1_WrynclrYFeEwXRWE23Jqa0 AFZkuAEsobfS2MvnE-ACyj_ATIe2q6MHi6VDEV7JnSIEE2JzewMQM6f4fB40B5anjmL3 n1vOvbuU7c1&amp;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.
>> --
>> Nathan Sokalski
>> (E-Mail Removed)
>> http://www.nathansokalski.com/
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
microsoft.public.certification, microsoft.public.cert.exam.mcsa, microsoft.public.cert.exam.mcad, microsoft.public.cert.exam.mcse, microsoft.public.cert.exam.mcsd loyola MCSE 4 11-15-2006 02:40 AM
microsoft.public.certification, microsoft.public.cert.exam.mcsa, microsoft.public.cert.exam.mcad, microsoft.public.cert.exam.mcse, microsoft.public.cert.exam.mcsd loyola Microsoft Certification 3 11-14-2006 05:18 PM
microsoft.public.certification, microsoft.public.cert.exam.mcsa, microsoft.public.cert.exam.mcad, microsoft.public.cert.exam.mcse, microsoft.public.cert.exam.mcsd loyola MCSD 3 11-14-2006 05:18 PM
microsoft.public.certification, microsoft.public.cert.exam.mcsa, microsoft.public.cert.exam.mcad, microsoft.public.cert.exam.mcse, microsoft.public.cert.exam.mcsd realexxams@yahoo.com Microsoft Certification 0 05-10-2006 02:35 PM
microsoft.public.dotnet.faqs,microsoft.public.dotnet.framework,microsoft.public.dotnet.framework.windowsforms,microsoft.public.dotnet.general,microsoft.public.dotnet.languages.vb Charles A. Lackman ASP .Net 1 12-08-2004 07:08 PM



Advertisments