Click here to Skip to main content
15,897,371 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPage_Load calling Sub [modified] Pin
kallileo15-Jun-07 3:44
kallileo15-Jun-07 3:44 
AnswerRe: Page_Load calling Sub Pin
kubben15-Jun-07 3:49
kubben15-Jun-07 3:49 
GeneralRe: Page_Load calling Sub Pin
kallileo15-Jun-07 4:03
kallileo15-Jun-07 4:03 
GeneralRe: Page_Load calling Sub Pin
kubben15-Jun-07 4:15
kubben15-Jun-07 4:15 
GeneralRe: Page_Load calling Sub Pin
kallileo15-Jun-07 5:15
kallileo15-Jun-07 5:15 
GeneralRe: Page_Load calling Sub Pin
kubben15-Jun-07 5:19
kubben15-Jun-07 5:19 
GeneralRe: Page_Load calling Sub Pin
kallileo15-Jun-07 5:35
kallileo15-Jun-07 5:35 
QuestionHttpContext.Request.Url Problem Pin
Jkirt15-Jun-07 3:40
Jkirt15-Jun-07 3:40 
Hi,

This has got me really baffled. When I run Dim url As String = HttpContext.Current.Request.Url.AbsolutePath.ToLower from Application_beginRequest in Global.asax with server that ships with Visual Web Developer everything works as expected.
However, today when I tried to move all code onto IIS server this just doesn't return the same URL!

On localhost (Visual Web Developer), variable url is /sandbox/my/home/page, but on IIS it returns /sandbox/index.aspx.

Yes, this is another HttpContext.RewritePath application which is why I need to know what the user types as a URL event though a 404 error is expected.

Anyone have any idea why the url would be different, or know of anything I could possibly be doing wrong?

Any help is greatly appreciated.

Thanks,

Jason.
AnswerRe: HttpContext.Request.Url Problem Pin
kubben15-Jun-07 3:51
kubben15-Jun-07 3:51 
GeneralRe: HttpContext.Request.Url Problem Pin
Jkirt15-Jun-07 4:01
Jkirt15-Jun-07 4:01 
GeneralRe: HttpContext.Request.Url Problem Pin
kubben15-Jun-07 4:12
kubben15-Jun-07 4:12 
GeneralRe: HttpContext.Request.Url Problem Pin
Jkirt15-Jun-07 4:59
Jkirt15-Jun-07 4:59 
GeneralRe: HttpContext.Request.Url Problem Pin
kubben15-Jun-07 5:13
kubben15-Jun-07 5:13 
GeneralRe: HttpContext.Request.Url Problem Pin
Jkirt15-Jun-07 5:52
Jkirt15-Jun-07 5:52 
GeneralRe: HttpContext.Request.Url Problem Pin
kubben15-Jun-07 6:02
kubben15-Jun-07 6:02 
GeneralRe: HttpContext.Request.Url Problem Pin
Jkirt15-Jun-07 6:11
Jkirt15-Jun-07 6:11 
GeneralRe: HttpContext.Request.Url Problem Pin
kubben15-Jun-07 6:03
kubben15-Jun-07 6:03 
GeneralRe: HttpContext.Request.Url Problem Pin
Jkirt15-Jun-07 6:18
Jkirt15-Jun-07 6:18 
AnswerRe: HttpContext.Request.Url Problem Pin
Jkirt15-Jun-07 19:35
Jkirt15-Jun-07 19:35 
QuestionMaintaining log Pin
ShuklaGirish15-Jun-07 2:19
ShuklaGirish15-Jun-07 2:19 
AnswerRe: Maintaining log Pin
N a v a n e e t h15-Jun-07 3:27
N a v a n e e t h15-Jun-07 3:27 
QuestionMetadata file 'dll_name' could not be found Pin
Rip Kirby15-Jun-07 1:59
Rip Kirby15-Jun-07 1:59 
QuestionHow to Check Memory leak Pin
Sandeep Akhare15-Jun-07 1:25
Sandeep Akhare15-Jun-07 1:25 
AnswerRe: How to Check Memory leak Pin
Vasudevan Deepak Kumar15-Jun-07 1:49
Vasudevan Deepak Kumar15-Jun-07 1:49 
AnswerRe: How to Check Memory leak Pin
N a v a n e e t h15-Jun-07 3:30
N a v a n e e t h15-Jun-07 3:30 

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.