Click here to Skip to main content
15,914,289 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: DEBUG help, System.NullReferenceException Pin
Tarakeshwar Reddy14-May-07 8:39
professionalTarakeshwar Reddy14-May-07 8:39 
GeneralRe: DEBUG help, System.NullReferenceException Pin
Ibuprofen14-May-07 8:54
Ibuprofen14-May-07 8:54 
GeneralRe: DEBUG help, System.NullReferenceException Pin
Ibuprofen14-May-07 9:03
Ibuprofen14-May-07 9:03 
QuestionAdvance Screen Scrapping..! Pin
wEb GuRu...14-May-07 7:46
wEb GuRu...14-May-07 7:46 
AnswerRe: Advance Screen Scrapping..! Pin
PSK_14-May-07 17:57
PSK_14-May-07 17:57 
QuestionASP.Net 2.0 Menu Control Pin
Rhys Gravell14-May-07 7:20
professionalRhys Gravell14-May-07 7:20 
AnswerRe: ASP.Net 2.0 Menu Control Pin
martin_hughes14-May-07 11:59
martin_hughes14-May-07 11:59 
QuestionRewriteUrl results in blank page? Pin
eggsovereasy14-May-07 6:33
eggsovereasy14-May-07 6:33 
We have an online library with thousands of 'content collections' using a out of box solution call NXT. There is a small help 'application' developed in house that handles foot notes and that sort of thing. There are links in the document, which calls this little asp application, which returns content from a separate database. I am in the process of rewriting these asp pages in .NET 2.0 and adding functionality (new methods of searching, etc). Now, updating every single link in every single content collection to link to Search.aspx rather than Search.asp is not feasible. So I thought I would write an httphandler to internally redirect requests to .asp pages to .asps pages. The problem is I only get blank pages now, I can debug and step through the handler and everything seems ok. Here is the ProcessRequest method from the handler:

public void ProcessRequest(HttpContext context)
{
	string url = context.Request.Path + "x";
	
	if (context.Request.QueryString.Count > 0)
		url = string.Format("{0}?{1}", url, context.Request.QueryString.ToString());

	context.RewritePath(url, false);
}


And the web.config section:

<httpHandlers>
	<add verb="*" path="*.asp" type="Project.HttpHandlers.AspToAspx, Project.HttpHandlers" />
</httpHandlers>


I'm sure I'm missing something simple. Thanks in advance.
QuestionText box to from address in contact form Pin
archangel71714-May-07 4:15
archangel71714-May-07 4:15 
AnswerRe: Text box to from address in contact form Pin
Not Active14-May-07 5:10
mentorNot Active14-May-07 5:10 
GeneralRe: Text box to from address in contact form Pin
archangel71714-May-07 9:40
archangel71714-May-07 9:40 
Questionserver side printing almost working, what's the problem? Pin
orinoco7714-May-07 4:10
orinoco7714-May-07 4:10 
AnswerRe: server side printing almost working, what's the problem? Pin
orinoco7714-May-07 5:20
orinoco7714-May-07 5:20 
QuestionMigrated from VS 2003 to VS 2005 and Crystal Reports do not work - need help Pin
Slow Learner14-May-07 3:40
Slow Learner14-May-07 3:40 
AnswerRe: Migrated from VS 2003 to VS 2005 and Crystal Reports do not work - need help Pin
daisylh14-May-07 14:32
daisylh14-May-07 14:32 
GeneralRe: Now I get the access denied exception .... Pin
Slow Learner15-May-07 3:54
Slow Learner15-May-07 3:54 
GeneralRe: Now I get the access denied exception .... Pin
daisylh15-May-07 14:32
daisylh15-May-07 14:32 
Questionlogin control + asp.net 2.0 + c# Pin
ritu432114-May-07 3:38
ritu432114-May-07 3:38 
AnswerRe: login control + asp.net 2.0 + c# Pin
Not Active14-May-07 4:51
mentorNot Active14-May-07 4:51 
GeneralRe: login control + asp.net 2.0 + c# Pin
ritu432114-May-07 19:56
ritu432114-May-07 19:56 
QuestionSearch By Date Pin
Khan.Bangash14-May-07 3:34
Khan.Bangash14-May-07 3:34 
AnswerRe: Search By Date Pin
kubben14-May-07 3:51
kubben14-May-07 3:51 
QuestionDatagrid Dropdown list - setting initial value problems Pin
robw188814-May-07 3:33
robw188814-May-07 3:33 
AnswerRe: Datagrid Dropdown list - setting initial value problems Pin
kubben14-May-07 3:54
kubben14-May-07 3:54 
GeneralRe: Datagrid Dropdown list - setting initial value problems Pin
robw188814-May-07 4:09
robw188814-May-07 4:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.