logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
turbo3  
#1 Posted : Monday, April 3, 2006 6:29:51 PM(UTC)
turbo3
Rank: Newbie

Reputation:

Groups: Member
Joined: 4/3/2006(UTC)
Posts: 2

I am trying to do a RewritePath in the Application_BeginRequest event and have it working on my local server. However, I cannot get it to work on my hostingfest site. It seems the hostingfest web server is intercepting the HTTP request before it hits the application and returning a 404 error. When I set the 404 error handler in my web.config it doesn't work either, only the 404 error setting in my HELM control has effect. Is there a workaround for this, to let my application handle all the errors?

turbo3  
#2 Posted : Tuesday, April 4, 2006 3:19:11 PM(UTC)
turbo3
Rank: Newbie

Reputation:

Groups: Member
Joined: 4/3/2006(UTC)
Posts: 2

Ok looks like the web server doesn't call the .NET application unless the request is for an aspx file. It works as long as you're calling a file with .aspx extension.
Smiling4ever  
#3 Posted : Tuesday, April 4, 2006 7:22:16 PM(UTC)
Smiling4ever
Rank: Administration

Reputation:

Groups: Administration, Member
Joined: 1/3/2006(UTC)
Posts: 348
Man

Was thanked: 1 time(s) in 1 post(s)
Application_BeginRequest event will fire when any .aspx file is being executed and not any other static file.
Noman Dormosh

HostingFest
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.