473,320 Members | 1,817 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,320 software developers and data experts.

IIS6 custom asp.net 404 page

I've setup a custom 404 error page for my asp.net site. I have configured IIS
to process non aspx pages and also added the correct web.config custom error
section to the applicaiton. Every thing is working as expected expect with
aspx pages.

I get the bad page url in the aspxerrorpath querystring but it doesn't
contain the original querystring . All non aspx page pass the original
querystring to the custom 404 page.
I need to have access to the original 'id' querystring parameter in both
cases below
ex.
http://data-architech.net/testpage.htm?id=1 - this works
http://data-architech.net/testpage.aspx?id=1 - this doen't

Any Help please??

Nov 19 '05 #1
1 3579
OK if I go to IIS config and in the app ext mappings config , I check verify
that file exists for aspx extenstion THEN I get the query string just like a
bad (404) html request.
Is the the correct way to handle this.
What are the performace implicaitons of verifing that aspx files exist from
IIS?
Looking for some confirmation that this is not creating a performace bottle
neck for the site.
"DeveloperNC" wrote:
I've setup a custom 404 error page for my asp.net site. I have configured IIS
to process non aspx pages and also added the correct web.config custom error
section to the applicaiton. Every thing is working as expected expect with
aspx pages.

I get the bad page url in the aspxerrorpath querystring but it doesn't
contain the original querystring . All non aspx page pass the original
querystring to the custom 404 page.
I need to have access to the original 'id' querystring parameter in both
cases below
ex.
http://data-architech.net/testpage.htm?id=1 - this works
http://data-architech.net/testpage.aspx?id=1 - this doen't

Any Help please??

Nov 19 '05 #2

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

Similar topics

1
by: Naga Kiran | last post by:
Hi I have a small query in ASP.Net on windows2003 server platform.. I built an Application in ASP.Net.... This application is hosted on the system where that system has Windows2003 Operating...
4
by: Mark J. McGinty | last post by:
Greets, Part of the content of one of our web pages uses wingdings and Chr(239) through Chr(242) (which are little arrow outlines, though that's not really important.) It worked just fine in...
4
by: JK | last post by:
We recently installed our web application on Windows 2003 and found that our ASPX pages are not coming up correctly. We are using sessionstate=StateServer and cookieless=true for Web.config....
11
by: Ed Dearlove | last post by:
**Also posted in inetserver.iis newsgroup as I am unsure of where the problem lies** Hi, I have a strange problem, or I may just be stupid, but wondering if anyone can help with this one: ...
1
by: Joe | last post by:
Hi, A part of our ASP website is password protected. People need to create accounts in order to gain access to the secured website. The username is email. After the user logs in a session cookie...
5
by: Terry Strachan | last post by:
Hi, I have an asp.net webapp that works fine on my development machine, win2k/iis5 however, when I move the site across to win2k3 / iis6 i get the following error on postback of any page; ...
0
by: Brian | last post by:
I have an ASP.NET 1.1 application that does URL rewriting via a custom HttpModule. We recently migrated this application from Win2k/IIS5 to Win2k3/IIS6. In IIS5, I added a wildcard application map...
2
by: Andrew Wan | last post by:
Okay, this is really weird. We have two Windows 2003 Server SP1 PCs. One hosts IIS6 website, and the other hosts our DCOM service program. Our website is ASP/XSL. An ASP page uses...
4
by: rudster | last post by:
Hey there, I have a little puzzle that I am trying to solve. I would like to set a user's password in AD (2003) from an external (i.e. non-domain member) webserver (2003/IIS6) via an .asp page....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.