473,734 Members | 2,789 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can not get AJAX to work on sever, please help

hello,

I have a server set up on my local (home) network and can not get an
ajax application to run on the box. it works fine on our
developement server and also works fine locally.

I copied the application to the server, setup the website, installed
the ajax extensions, also loaded/enabled front end extensions so i
could load the site in visual studio 2005. when i attempt to run the
site, either from the server or from another pc on my home network, it
barely comes up. it is insanely slow. literally will take about 5
minutes for the starting page to finish. and the page is not that big
at all. what is seems to go the slowest on are the graphics, but
everything is very very slow regardless if there are graphics or not
(but the graphics do come up last and take the longest).

i have the same site, but without ajax, and that comes up in a second.
i tried every server/web.config change i could think of and just can
not get it to change its behavior. i'm hoping there is something i'm
missing as it is impossible to work with the application.

I even tried loading a simple do-nothing ajax website to the server.
basically a page that has a time display and a button to click that
will display another time stamp in an update panel. that also takes
forever to load and the update in the panel of the new time does not
work. there is another ajax confirmaion button on the page that works
with an input text box, you enter something in the box, click the
button, ajax pop-up asks to confirm, if you answer yes it will take
your input and show it in a label on the page. that part work, but is
very slow to repost the screen. point being i have 2 simple ajax test
controls on a page and that page is incredibly slow loading/running as
well, plus the update panel isn't working

the server is windows 2003 running IIS 6. i do not know where else to
change or try anything and was hoping someone could give me some
suggestions. i do have this in the web.config as i saw these entries
mentioned in other posts,

<compilation debug="false">

<system.web.ext ensions>
<scripting>
<scriptResource Handler enableCompressi on="true"
enableCaching=" true"/>
</scripting>
</system.web.exte nsions>

if you have any suggestions as to why any ajax .net site is so slow
in response (as well as update panels don't seem to work at all), i
would really appreciate it. i'm out of ideas as to what to try next

thanks very much

Apr 10 '08 #1
5 3105
On Apr 10, 5:15 pm, simon <m...@here.comw rote:
hello,

I have a server set up on my local (home) network and can not get an
ajax application to run on the box. it works fine on our
developement server and also works fine locally.

I copied the application to the server, setup the website, installed
the ajax extensions, also loaded/enabled front end extensions so i
could load the site in visual studio 2005. when i attempt to run the
site, either from the server or from another pc on my home network, it
barely comes up. it is insanely slow. literally will take about 5
minutes for the starting page to finish. and the page is not that big
at all. what is seems to go the slowest on are the graphics, but
everything is very very slow regardless if there are graphics or not
(but the graphics do come up last and take the longest).

i have the same site, but without ajax, and that comes up in a second.
i tried every server/web.config change i could think of and just can
not get it to change its behavior. i'm hoping there is something i'm
missing as it is impossible to work with the application.

I even tried loading a simple do-nothing ajax website to the server.
basically a page that has a time display and a button to click that
will display another time stamp in an update panel. that also takes
forever to load and the update in the panel of the new time does not
work. there is another ajax confirmaion button on the page that works
with an input text box, you enter something in the box, click the
button, ajax pop-up asks to confirm, if you answer yes it will take
your input and show it in a label on the page. that part work, but is
very slow to repost the screen. point being i have 2 simple ajax test
controls on a page and that page is incredibly slow loading/running as
well, plus the update panel isn't working

the server is windows 2003 running IIS 6. i do not know where else to
change or try anything and was hoping someone could give me some
suggestions. i do have this in the web.config as i saw these entries
mentioned in other posts,

<compilation debug="false">

<system.web.ext ensions>
<scripting>
<scriptResource Handler enableCompressi on="true"
enableCaching=" true"/>
</scripting>
</system.web.exte nsions>

if you have any suggestions as to why any ajax .net site is so slow
in response (as well as update panels don't seem to work at all), i
would really appreciate it. i'm out of ideas as to what to try next

thanks very much
You may have tried this but...make sure you install the Ajax control
toolkit as well as the extensions, as they aren't quite the same
thing. (one is update panel and one is well...everythi ng else. I
forgot which is which, though :) )
Apr 10 '08 #2
thanks for taking time to reply.
i used the toolkit to build some of the apps, and have it installed on
my laptop where i do my coding, but there is nothing to install on the
server (please correct me if i'm wrong). the toolkit is a bunch of
dll's to use/reference when creating sites. those dll's are packaged
with the site source and therefore on the server.

the sites do "kinda" work, more test show the pages do render, just at
an unusablly slow rate. the simplest pages can take 1-4 minutes to
come up. and it is only the ajax enabled sites. other sites on the
box come up instantly as they should.

have no idea what or where the bottleneck could be and desperate for
some ideas.
thanks again.

On Thu, 10 Apr 2008 15:15:51 -0700 (PDT), RhythmAddict
<sa**********@g mail.comwrote:
>
You may have tried this but...make sure you install the Ajax control
toolkit as well as the extensions, as they aren't quite the same
thing. (one is update panel and one is well...everythi ng else. I
forgot which is which, though :) )
Apr 11 '08 #3
On Apr 10, 11:27 pm, simon <m...@here.comw rote:
thanks for taking time to reply.
i used the toolkit to build some of the apps, and have it installed on
my laptop where i do my coding, but there is nothing to install on the
server (please correct me if i'm wrong). the toolkit is a bunch of
dll's to use/reference when creating sites. those dll's are packaged
with the site source and therefore on the server.

the sites do "kinda" work, more test show the pages do render, just at
an unusablly slow rate. the simplest pages can take 1-4 minutes to
come up. and it is only the ajax enabled sites. other sites on the
box come up instantly as they should.

have no idea what or where the bottleneck could be and desperate for
some ideas.
thanks again.

On Thu, 10 Apr 2008 15:15:51 -0700 (PDT), RhythmAddict

<sanjay.ut...@g mail.comwrote:
You may have tried this but...make sure you install the Ajax control
toolkit as well as the extensions, as they aren't quite the same
thing. (one is update panel and one is well...everythi ng else. I
forgot which is which, though :) )
Simon,
Fully understand that the DLL's in the application's Bin should do
it. There is quite a lengthy thread on http://forums.asp.net/p/1054927/1745730.aspx
about the issue (working on dev but not stg/prd) The suggestion there
seems to be getting the RTM build (I'm not sure if you have this or a
diff version - it can be obtained here :
http://www.asp.net/AJAX/documentatio...RC_to_RTM.aspx)

Honestly, if it's easy enough to do, I would try installing the
current asp.net ajax version that _you're_ using on the server just
for piece of mind. If you have access to the server and don't have to
go through too many hoops...that is. Otherwise you may wanna check
out the rest of that thread.

Cheers,
S
Jun 27 '08 #4
thanks very much for the reply and links. will be trying what they
mentioned tonight. appreciate it very much. hopefully will be able
to post back with good news.
On Fri, 11 Apr 2008 09:18:32 -0700 (PDT), RhythmAddict
<sa**********@g mail.comwrote:
>On Apr 10, 11:27 pm, simon <m...@here.comw rote:
>thanks for taking time to reply.
i used the toolkit to build some of the apps, and have it installed on
my laptop where i do my coding, but there is nothing to install on the
server (please correct me if i'm wrong). the toolkit is a bunch of
dll's to use/reference when creating sites. those dll's are packaged
with the site source and therefore on the server.

the sites do "kinda" work, more test show the pages do render, just at
an unusablly slow rate. the simplest pages can take 1-4 minutes to
come up. and it is only the ajax enabled sites. other sites on the
box come up instantly as they should.

have no idea what or where the bottleneck could be and desperate for
some ideas.
thanks again.

On Thu, 10 Apr 2008 15:15:51 -0700 (PDT), RhythmAddict

<sanjay.ut...@ gmail.comwrote:
>You may have tried this but...make sure you install the Ajax control
toolkit as well as the extensions, as they aren't quite the same
thing. (one is update panel and one is well...everythi ng else. I
forgot which is which, though :) )

Simon,
Fully understand that the DLL's in the application's Bin should do
it. There is quite a lengthy thread on http://forums.asp.net/p/1054927/1745730.aspx
about the issue (working on dev but not stg/prd) The suggestion there
seems to be getting the RTM build (I'm not sure if you have this or a
diff version - it can be obtained here :
http://www.asp.net/AJAX/documentatio...RC_to_RTM.aspx)

Honestly, if it's easy enough to do, I would try installing the
current asp.net ajax version that _you're_ using on the server just
for piece of mind. If you have access to the server and don't have to
go through too many hoops...that is. Otherwise you may wanna check
out the rest of that thread.

Cheers,
S
Jun 27 '08 #5
On Fri, 11 Apr 2008 09:18:32 -0700 (PDT), RhythmAddict
<sa**********@g mail.comwrote:
>On Apr 10, 11:27 pm, simon <m...@here.comw rote:
>thanks for taking time to reply.
i used the toolkit to build some of the apps, and have it installed on
my laptop where i do my coding, but there is nothing to install on the
server (please correct me if i'm wrong). the toolkit is a bunch of
dll's to use/reference when creating sites. those dll's are packaged
with the site source and therefore on the server.

the sites do "kinda" work, more test show the pages do render, just at
an unusablly slow rate. the simplest pages can take 1-4 minutes to
come up. and it is only the ajax enabled sites. other sites on the
box come up instantly as they should.

have no idea what or where the bottleneck could be and desperate for
some ideas.
thanks again.

On Thu, 10 Apr 2008 15:15:51 -0700 (PDT), RhythmAddict

<sanjay.ut...@ gmail.comwrote:
>You may have tried this but...make sure you install the Ajax control
toolkit as well as the extensions, as they aren't quite the same
thing. (one is update panel and one is well...everythi ng else. I
forgot which is which, though :) )

Simon,
Fully understand that the DLL's in the application's Bin should do
it. There is quite a lengthy thread on http://forums.asp.net/p/1054927/1745730.aspx
about the issue (working on dev but not stg/prd) The suggestion there
seems to be getting the RTM build (I'm not sure if you have this or a
diff version - it can be obtained here :
http://www.asp.net/AJAX/documentatio...RC_to_RTM.aspx)

Honestly, if it's easy enough to do, I would try installing the
current asp.net ajax version that _you're_ using on the server just
for piece of mind. If you have access to the server and don't have to
go through too many hoops...that is. Otherwise you may wanna check
out the rest of that thread.

Cheers,
S

thanks again for the replies. read tru the thread over the weekend
and their issue was that they were having an error thrown when moving
their ajax site to the prod server (win 2k3), but that was an issue
with a beta release of ajax extensions.
unfortunately i'm up to date on the release and i'm not getting any
errors just very very slow processing (where it looks as if the pages
don't work).
i did get a tip from someone to install HttpWatch to monitor where the
slow down occurs (if possible) which may uncover where the issue is
(hopefully!)

back to the drawing board....

Jun 27 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1149
by: sriii | last post by:
hi all, i want to do work on AJAX.My requirement is when i was select the dropdown that text has to display in the Textbox. in the debuggging am getting the value but its not binding to the textBox plz solve my problem. and one more thing is am using one aspx page and one Js page.Is there any necessity to use 2 aspx pages,and 2 jscripts. one for clent side and another for sever side. Plz give me the reply its very imp to me plz plz thanx...
8
2120
by: jd2007 | last post by:
Why the Ajax code below in ajax.js is causing my form not to work ? ajax.js: var a=0; var b=0; var c=0; var d=0; var e=0; var f=0;
0
1125
by: Mike | last post by:
Hi, I'm wondering if I can do this with ASP.NET?
4
5358
by: Peter | last post by:
ASP.NET I have an application which use ASP.NET Autocomplete extender which works great. But I have a question how to update all the fields on the screen using Ajax. Users starts typing in a text field which causes the Autocomplete extender to display 10 like items, after the users selects an item (which is a key in the database) I want the application to go to the database retrieve a record and populate the fields.
7
2094
by: Joe | last post by:
I added some ajax to my asp.net web site and will Ajax just doesn't seem to work. Does Any one PLEASE have any ideas on why Ajax doesn't work on Apache 2.2.6 w/asp.net 2.0
11
3036
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I have run into a situation that if a page/tab that uses the Ajax toolkit (using .net version 3.5) is closed before the Ajax enable controls complete loading, then IE locks up. Does it in both IE7 and IE8. There is no issue when the controls are allowed to complete loading. Can you please tell me the best practice that handles this? Thanks.
7
6664
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a tabcontainer which has 1 panel already, however I want to try create the TabPanels dynamically. I followed the advice here: http://www.asp.net/learn/ajax-videos/video-156.aspx (3rd comment - Joe Stagner)
1
4426
by: saravj2ee | last post by:
Hi, I have implemented prototype.js file to use AJAX calls in my application. I need to call cross domain to get some value from different server. The HTML and prototype file are hosted in https://wwww.myserver.xyz.com.I need to call other sever which URL ends with same as my server “xyz.com “(https://wwww.otherserver.xyz.com) The below mentioned code is working fine only in IE browser, But it is not working in Firefox and Safari...
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8776
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9449
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9182
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2724
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.