Not sure if this is IIS or ASP.NET
am 07.04.2008 04:11:37 von Sir Psycho
Hi,
When connecting to my application via IIS v 5.1, my asp code is
failing in my application start of the global.asax.cs file
string appName =
HttpContext.Current.Request.Url.AbsolutePath.Split(new char[] { '/' })
[1].ToUpper();
Url is null for some reason and I have no idea why.
Im entering http://localhost/myapplication/logon/logon.aspx
It works when i run the project from visual studio in debug mode...IIS
though it doesnt.
Any ideas?
Re: Not sure if this is IIS or ASP.NET
am 08.04.2008 17:54:14 von Kristofer Gafvert
Hi,
This is better answered in an ASP.NET newsgroup since this behavior is not
caused by IIS.
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
"Vince" skrev i meddelandet
news:a5c0927f-68a1-42f5-b552-1edeaf104378@s8g2000prg.googleg roups.com...
> Hi,
>
> When connecting to my application via IIS v 5.1, my asp code is
> failing in my application start of the global.asax.cs file
>
> string appName =
> HttpContext.Current.Request.Url.AbsolutePath.Split(new char[] { '/' })
> [1].ToUpper();
>
> Url is null for some reason and I have no idea why.
>
> Im entering http://localhost/myapplication/logon/logon.aspx
>
> It works when i run the project from visual studio in debug mode...IIS
> though it doesnt.
>
> Any ideas?