473,586 Members | 2,863 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AJAX Problem - 501 Not Implemented

Hi

I've written a small AJAX-style UI - although it's not strictly AJAX as
it uses HTML fragments rather than XML

This UI works fine for me and the majority of users.

However, a few users are finding it doesn't work at all.

I've talked with these users and debugged it a little by adding some
trace statements.

Basically what seems to be happening is that while "successful " users
get a normal HTTP response to the XMLHTTP request, these "failed" users
seem to get a "501 Not Implemented" error - even though they are
running the same browser (IE6) and talking to the same web server...

Does anyone have any idea what could be going wrong here? Is it likely
to be a proxy server problem or some local IE6 setting or ... ?
[Haven't had any failures yet from Firefox users but the majority of
users are on IE5 or IE6]

Any ideas or help appreciated!

Stuart

Demo of the site (with far too much on-screen debug trace) is on
http://82.43.136.28:801/snippets/bpttresults2.htm

Debug trace seen by successful users:

DoAsyncLoadOfAt hleteDropdown called
Created Microsoft.XMLHT TP
Browser = Microsoft Internet Explorer
AsyncObject = object
asyncCallback for id OutputDropdown
request.readySt ate is 1
request sent for
http://www.wavesonix.com:801/snippet...ml?uniqueNum=1
asyncCallback for id OutputDropdown
request.readySt ate is 2
asyncCallback for id OutputDropdown
request.readySt ate is 3
asyncCallback for id OutputDropdown
request.readySt ate is 4
request.status is 200
request.statusT ext is OK
request.respons eText is - <big blob of text>
request.respons eBody is
request.getAllR esponseHeaders( ) is
Content-Length: 25330 Content-Type: text/html ETag:
"7059428b63d6c5 1:5898" X-Powered-By: ASP.NET Last-Modified: Fri, 21 Oct
2005 17:19:07 GMT

Debug trace seen by failed users:

DoAsyncLoadOfAt hleteDropdown called
Created Microsoft.XMLHT TP
Browser = Microsoft Internet Explorer
AsyncObject = object
asyncCallback for id OutputDropdown
request.readySt ate is 1
request sent for
http://www.wavesonix.com:801/snippet...ml?uniqueNum=1
asyncCallback for id OutputDropdown
request.readySt ate is 4
request.status is 501
request.statusT ext is Not Implemented
request.respons eText is
request.respons eBody is undefined
request.getAllR esponseHeaders( ) is
Content-Length: 0 Server:Microsof t-IIS/6.0 X-Powered-By: ASP.NET Date:
Mon, 24 Oct 2005 09:35:10 GMT
asyncCallback for id OutputDropdown
request.readySt ate is 4
request.status is 501
request.statusT ext is Not Implemented
request.respons eText is
request.respons eBody is undefined
request.getAllR esponseHeaders( ) is
Content-Length: 0 Server:Microsof t-IIS/6.0 X-Powered-By: ASP.NET Date:
Mon, 24 Oct 2005 09:35:10 GMT

Oct 24 '05 #1
3 10414


lo**********@gm ail.com wrote:

Basically what seems to be happening is that while "successful " users
get a normal HTTP response to the XMLHTTP request, these "failed" users
seem to get a "501 Not Implemented" error - even though they are
running the same browser (IE6) and talking to the same web server...

Does anyone have any idea what could be going wrong here?


Check the server logs then, 501 is the HTTP status code the server sends
and the logs will show you what kind of HTTP request the server got when
it answered with 501 not implemented. It might be a HTTP POST request on
a static server resource causing this error.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Oct 24 '05 #2
Thanks for the quick response....

I've just looked at the logs and the requests from the offending client
PCs seem to be coming through as "get" rather than "GET" ?!

Trying to debug this...

Oct 24 '05 #3
That seems to be it!

Some browser configs seem to send "GET" others "get" - all I need to do
is to force them to send "GET"....

Sorted (but if only all browsers did exactly the same thing...)

Oct 24 '05 #4

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

Similar topics

31
3102
by: Tony | last post by:
I just noticed that prototype.js is one of the files in the Ajax.NET distribution - I'm pretty concerned about this. Does anyone know if this is the same "prototype.js" that is not well-liked around here? If so, do you know if Ajax.NET can be used without prototype.js? -- "The most convoluted explanation that fits all of the made-up...
5
1626
by: geekboy0001 | last post by:
Just trying to get some opinions out there... There are tons of Ajax libraries out there... Ajax.NET Professional, ComfortASP.NET, ZumiPage, etc. etc... Microsoft has their own too, Atlas. I've been looking at these and certainly there needs to be a solution that's integrated with MS.NET, easy to use, and well supported to production...
3
1765
by: caston | last post by:
Well, everybody can now agree with the fact that the Ajax hype is over. Still multiple Ajax Frameworks are flourishing, aren't they? So, last night I questioned myself with the following: "When Ajax Frameworks will be gone? What is required to get rid of them and start using browsers?" (To be more precise, I should probably also mention what...
11
14625
by: whisher | last post by:
Hi. Sorry to disturb you but I can't figure out its use in this snippet (Found in many scripts about Ajax) function loadpage(page_request, containerid) { if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1)) { document.getElementById(containerid).innerHTML=page_request.responseText;
6
3279
by: mattdaddym | last post by:
Hi all, I'm looking for a way to show my users the progress of their sql queries. I've implemented Microsoft Ajax in order to show a progress bar, but I would love to be able to show: number of rows loaded vs total rows I tried a few searches for this, but haven't come up with the right key words I guess. Right now I have zilch. So,...
2
1981
by: m.schaeffer | last post by:
Hello, my problem is, that if i create a new website with Visual Studio 2005 and I choose "AJAX enabled Website" everything works fine. But if I try to do the same with an existing Website (AJAX Extesions where installed later) the "AJAX"-functionality fails. Though I have the AJAX Extensions in my Tool-Box and everything seems ok it...
0
4571
by: =?Utf-8?B?TGlhbQ==?= | last post by:
Hi, I've implemented AJAX on to one of my pages, I am developing on Windows XP with VS05, I have IIS set up on XP so connect to the dev site using IE and when clicking a control on the updatepanel it just refreshes that section... perfect! I have now completed the page, I deployed it to the web server running Windows Server 2003 64-bit...
22
1681
by: sheldonlg | last post by:
I am looking for a clean solution to a problem that I solved in, what I call, a "dirty" way. Here is what I want to do. I have a dropdown list. Clicking on an item in the dropdown list invokes an AJAX call that gets data which populates the entire lower part of my screen. It does this with an innerHTML for the div tag that holds all of...
2
4651
by: mndprasad | last post by:
Hi friends, Am new to AJAX coding, In my program am going to have two texbox which going to implent AJAX from same table. One box is going to retrieve the value of other and vice versa. I have implemented successfully for one text box, but it's done for the other field, since am getting script errors. <script> var...
0
7839
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...
0
8200
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. ...
0
8338
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...
0
8215
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...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3836
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...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1448
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.