Does this help?
http://support.microsoft.com/kb/943891
When you say substatus it's 200.3 or 203?
When you're making those AJAX calls are they going to the same domain? If not cross-domain calls aren't allowed for XHR calls and that might be your problem although the error for that would come from your browser, not from IIS.
+++ Rick ---
Hi Rick;
I am assuming forms authentication is causing the problem, or perhaps access rights somewhere in the chain. I just can't find where it is.
My existing script map is working fine in all locations so I am using that as my setup page but all the ajax calls are going to the other application
using a different path.
What I can't seem to find anywhere is what the substatus code of 3 means when main http code is 200!
This is an application that started with your chat demo. There may be a couple of places on the website this functionality gets implemented.
Currently they are video conferencing once a week that uses Ustream. As a chat sidebar there is some sort of ustream widget. The problem here is that the users have to create a separate ustream profile and upload profile pictures etc. And the have to go through a login process, blah blah.
More importantly, all the messages they send end up linked to facebook or twitter. And they don't really like that.
But our in-house chat application stays in-house. Plus, the users don't have to login, or set a chat id, or create a new profile etc. Once they have logged into the intranet (yes, the forms authentication), the web pages know who they are and automatically identify them.
One small change implemented yesterday was to include their profile picture with each message sent which is a simple link to an image file linked to their id.
And the user doesn't have to do anything more than click a link to bring up the page. No login required, no setting profiles etc.
Right now I am still using your dbf tables for this but I am thinking of moving it to sql server (Just change the datamode for the buschat.prg!). I can see added functionality for a page to select chat dates and create a pdf of the chat sessions etc. An option for creating private chats.
Some changes:
added datetime to each message display
added user photo
option for new messages to show at the top of message window or bottom.
removed the send button (Enter does an automatic send).
Fixed issue with clearing the message text (previously the messagebox cleared in the callback, but if user hit enter quickly before the callback the message would get sent twice or more).
changed the ajax polling to slow down if no new messages are sent or received for one minute
They are quite happy that we have full control over just about everything!
At any rate, when I am more or less done, I would be happy to share all of this code with anyone who is interested in the interest of promoting the great functionality of web connection.
Bob
Forms Authentication might be the problem. Are you running the .NET module or the ISAPI extension? If you're running the ISAPI extension the Forms Authentication stuff might be causing you problems because it might not be processed for the request because Web Connection (ISAPI) won't trace the ASP.NET authentication token on the server side.
If you're using the .NET module however that might work because ASP.NET will automatically forward the Auth token as needed I believe. However, the forms login would still have to be implemented somehow and the forms token set using ASP.NET. Web Connection has no direct support for that.
+++ Rick ---
I've added a new scriptmap processed by an entirely separate exe file to my website.
The scriptmap works fine in every location EXCEPT a directory structure that requires authentication.
This structure uses forms authentication.
Any other directory that uses regular authentication works fine.
My existing scriptmap works fine in ALL directories.
For instance, here is a log file entry to a successful hit of the web page in a secure location:
and here is a entry when the scriptmap doesn't work:
The difference I see is the protocol substatus code of 3
(A good hit returns 200 0 0).
Perhaps someone knows what that substatus code of 3 means (with a 200 http status).
This has been very wierd! The one place I specifically want the page to work, it doesn't!
Everywhere else is fine.
Bob
Rick Strahl West Wind Technologies Where do you want to surf today? | Reader Version: 5.0 |
from Maui, Hawaii