473,396 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Atlas problem with clean URLs using ISAPI Filter "Isapi_Rewrite"

We use an ISAPI filter to convert long urls into short clean ones.
For example:

"Site.com/user/john/"
Is re-written as:
"Site.com/user/userinfo.aspx?uid=john"

Now, "userinfo.aspx" contains a web user control which uses some Atlas functionality;
The web user control contains a "DataList" which gets updated asynchronously
through Atlas when the user clicks a button –the button is the Atlas trigger.

The page acts as it should when we access it using the actual (long) URL,
but when we use the clean url –which goes through the ISAPI filter- we get
a javascript alert through Atlas saying "Unknown Error" when we click the
trigger button.

Any help is greatly appreciated.
Thank you
Jul 3 '06 #1
4 1888
Hi,

Jeeran wrote:
We use an ISAPI filter to convert long urls into short clean ones. For
example:
"Site.com/user/john/"
Is re-written as:
"Site.com/user/userinfo.aspx?uid=john"

Now, "userinfo.aspx" contains a web user control which uses some Atlas
functionality; The web user control contains a "DataList" which gets
updated asynchronously through Atlas when the user clicks a button –the
button is the Atlas trigger.

The page acts as it should when we access it using the actual (long)
URL, but when we use the clean url –which goes through the ISAPI filter-
we get a javascript alert through Atlas saying "Unknown Error" when we
click the trigger button.

Any help is greatly appreciated.
Thank you
Normally, and if I am not mistaken, the URL rewriting shouldn't affect
the Atlas call, since the request sent is a normal HTTP request, and
since the redirect is done very early.

If I were you, I would try and use Fiddler to observe the HTTP traffic,
and see exactly what error is sent back from the server.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Jul 3 '06 #2
Hi Jeeran,

I agree with Laurent, generally speaking, the atlas components should work
transparently to underying IIS ISAPI's url rewriting. If the ISAPI fully
redirect all kinds of requests from faked url to its original url, it shoud
be expected to work. So is your ISAPI filter fully redirecting all kinds of
request( get , post ... ) or with different useragent or headers ?

Also, Jeeran's suggestion on using the Fiddler to trace the http
communication betwwen IE and webserver is a good idea. You can get the
fiddler tool from the following site:

http://www.fiddlertool.com/fiddler/

Please feel free to post here if you have any further findings.

Regards,

Steven Cheng
Microsoft MSDN Online Support Lead
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 4 '06 #3
Hello Steven Cheng[MSFT],

Thank you for the quick response.

We used the Actionless Form described in thie article, and it alls works
fine now. It seems the ISAPI filter handles GET requests by default, and
has to be explicitly told to handle GET requests. I will try that and see
if it works without the actionless form.

The fiddler tool turned out to be very handy, thanks Laurent.

Hi Jeeran,

I agree with Laurent, generally speaking, the atlas components should
work transparently to underying IIS ISAPI's url rewriting. If the
ISAPI fully redirect all kinds of requests from faked url to its
original url, it shoud be expected to work. So is your ISAPI filter
fully redirecting all kinds of request( get , post ... ) or with
different useragent or headers ?

Also, Jeeran's suggestion on using the Fiddler to trace the http
communication betwwen IE and webserver is a good idea. You can get the
fiddler tool from the following site:

http://www.fiddlertool.com/fiddler/

Please feel free to post here if you have any further findings.

Regards,

Steven Cheng
Microsoft MSDN Online Support Lead
==================================================

When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.

==================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 5 '06 #4
Thanks for your response Jeeran,

Glad that you've made progress on this issue.

Good luck!

Regards,

Steven Cheng
Microsoft MSDN Online Support Lead
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 6 '06 #5

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

Similar topics

3
by: somaboy mx | last post by:
I'm looking for a way to come up with clean urls like http://www.mysite.com/products/233 instead of http://www.mysite.com/products.php?pid=233 without having to rely on mod_rewrite or other...
1
by: Aintzane | last post by:
Hi! Sorry if I'm asking silly things, but I'm new with ISAPI Filters. That's what my filter does. When a user makes a request the filter verifies if the user has already entered his password. If...
1
by: balaji | last post by:
How can i design an ISAPI Filter that works with IIS-6.0 on win 2003 platform. I already have an ISAPI Filter that i designed for working with IIS 5.x and that works fine . I am finding a problem...
0
by: MadhaviAgashe | last post by:
Hi, I have developed a web service in C# and it has methods t authenticate a user using Single Sign On. I am trying to access this web service from an ISAPI filter which i developed in VC++. I...
1
by: Jeremy | last post by:
Hi there, We recently upgraded to the 1.1 framework, and of course, all of our 1.0 asp.net apps starting using the 1.1 framework, which we didn't want to happen. I found an MS article saying...
2
by: Jon Maz | last post by:
Hi All, I've been looking into options for URL Rewriting in .net, and to be honest, I haven't seen anything that's easier than the old Classic Asp solution with an ISAPI filter redirecting to an...
4
by: Serg | last post by:
How do I install ISAPI filter in IIS? I need ISAPI filter to process folder paths such as http://MyUrl/folder1/folder2/folder3 There is no "ISAPI filters" tab in my IIS. Thanks!
4
by: Yet another C# coder | last post by:
Hi, Does anyone know if in the next version of asp.net / C# (2.0) Would be possible to write an ISAPI Filter in C#? Thanx.
0
by: Chris Curvey | last post by:
Hi all, I'm trying to write an ISAPI filter in Python, using the examples that come in the "isapi" directory of the win32com package. The installation program itself runs fine, but when I...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...

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.