Re: asp.net application not resolving relative paths (similar issue)



Hello,
We have a similar problem in our web application.
The error reported is given with in brackets []:
[
Server Error in '/AccountClient' Application.
The resource cannot be found
Description: HTTP 404. The resource you are looking for(or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable.
Please review the following URL and make sure that it is spelled correctly.
Requested URL:
/accountClient/Home/Controller/Home/Controller/Home.aspx
]
You can see the folder name "/Home/Controller/ getting repeated in the URL.
For our web application, we used the .Net framework 1.1, the web server is
IIS 5 and OS is Win2000 server. We used .Net Remoting in our web
application.This problem is reported once in a while and not consistently
happening.

Home.aspx is the first page getting loaded after a successful authentication
in our application (after login.aspx) All the common urls used across the
applicaiton are configured in the web.config file.

We have a section called <redirects> in the web.config and under which we
have various key names. In each of these key names a URL is assigned.
For example
<add key="LoginSuccess" value="../../Home/Controller/Home.aspx" />

In login.aspx page, once if the user's authentication is validated, using a
config reader the LoginSuccess key value is fetched and the user is routed to
the home.aspx page.

This works fine in most of the case(95%). Rarely the users are getting the
error reported in the beginining.

Once if this issue is reported our IT operation persons will open the
web.config file and do a re-save. Once if they restart the application, the
application works fine for the same user who got the error before(i.e., the
home.aspx loads properly).
Can some one explain us how exactly IIS treats web.config?.

Is IIS storing the web.config in it when the application first started?. And
is it getting locked or something. Because when we resave the web.config,
this whole problem is not happening.

Thanks in advance,
Aloysius


"rjbr" wrote:

Resolved - aspnet_filter.dll

Thanks - all

Refer. to message chain below

The solution I found from another user who had a similar
problem a couple of months ago was to use IIS manager to
manually add or correct the isapi filter(s)
(aspnet_filter.dll) in the Default Web properties on the
ISAPI filter tab.

http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_frm/thread/ad19abcb79f983d9/aacdbd1c0bc68529?q=cookieless%3Dtrue+and+relative+paths+in+1.1+Framework+&rnum=2#aacdbd1c0bc68529


.



Relevant Pages

  • Re: HTTP 404 on IIS
    ... I am having IIS 6.0 on windows server 2003. ... "Server Error in '/' Application. ... The resource cannot be found. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: HTTP 404 on IIS
    ... You can enable ASP.NET by opening the IIS Manager and scrolling down the left-hand ... I am having IIS 6.0 on windows server 2003. ... "Server Error in '/' Application. ... The resource cannot be found. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: HTTP 404 on IIS
    ... Did you enable ASP.NET on IIS 6.0? ... "Server Error in '/' Application. ... The resource cannot be found. ... Requested Url: /default.aspx ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Jeez... how do I even start ????
    ... When I would start IIS from the Administrative tools, ... Then I could expand the "Web sites" - "Default web site" portions. ... A lot of these other posts also mentioned the ASPNET user. ... 'HTTP/1.1 500 Server Error' ...
    (microsoft.public.dotnet.framework.aspnet)
  • HTTP Error 401.3 only in Netscape and Safari, not Internet Explorer?!
    ... I'm on Windows 2000, running IIS, ... the resource I'm accessing is a CGI executable ... If I use any other web browser besides internet explorer i ...
    (microsoft.public.inetserver.iis)