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

404's, aspxerrorpath, and querystring variables

I'm trying to create a 404 handler that can record the *exact* URL that
caused the 404 to occur.

When I turn on custom error handling in the web.config, ASP.NET successful
redirects the 404 to my custom page (404.aspx), but the aspxerrorpath
querystring variable only shows what page the request went to, not the
querystring variables passed to that page.

I need the *complete* URL that causes the error, including the querystring
arguments.

How can I obtain this?

Thanks,
RMD
Nov 18 '05 #1
0 1276

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

Similar topics

0
by: TWiSTeD ViBE | last post by:
Hi, I've created a custom 404 page that performs redirects based on the incoming URL cross referenced against a database table. The problem I have is the way IIS sends on the "not found"...
2
by: DanTg | last post by:
Hi all, I want to build a custom 404 error page that using asp will dynalically build the page. Here is my problem. I am building a directoy website which has over 3000 categories. I do not...
6
by: Shaun Wilde | last post by:
I am trying to handle a 404 errors and redirect them to the correct page based on criteria I was hoping to catch the error in the global error handler and forward via Server.Transfer to the...
1
by: DeveloperNC | last post by:
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...
6
by: Greg Collins [Microsoft MVP] | last post by:
If I go into IIS and change the default 404 error page to an ASPX page, is there any way to then identify the url that was typed in that caused the custom 404 page to be loaded? If so, how do I do...
3
by: Greg Collins [Microsoft MVP] | last post by:
I have done a bit of research of Url Rewriting, but as yet have been unsuccessful at getting it to work well, and there are issues around what file types are supported and how much code you want to...
5
by: David | last post by:
Hi all, Using C#.NET 1.1 I am progressing on my URL ReWriting quite well, but have a slight problem. My server will not have real paths, just virtual, which is generated from a database....
0
by: nutso fasst | last post by:
Hello. IIS 4 website with a custom 404 error page WAS working OK, but at some point it wacked out. In the logs there were no 404 error responses. Instead, what were recorded were 200(OK)...
0
by: ThatsIT.net.au | last post by:
I have a server running iis6 and ISA server for my firewall, I host a large number of sites I recently read that Google penalizes you for having multiple domain names and that www and no www are...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
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...

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.