473,395 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

asp.net application not resolving relative paths

ASP.NET problem

I have ASP.NET 1.1 application installed on 3 server Win2003/IIS6

Relative paths are being resolved in 2 of those but not on one

dir structire
/app/
/import
I am using following in code
<link rel="stylesheet" type="text/css" href="./import/app.css"/>
But if I change above to below it works on third server also
<link rel="stylesheet" type="text/css" href="../import/app.css"/>

I am using session state cookieless="true"

Apr 28 '06 #1
2 1792
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/micro...cdbd1c0bc68529

Apr 28 '06 #2
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 <redirectsin 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/micro...cdbd1c0bc68529

Jul 12 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Doug | last post by:
If I were to write an include with a relative path like include("../conf/config.php"); What is the use? As far as I understand it, the path is relative to the first script that is called by...
2
by: Jason Moore | last post by:
I am trying to set up a web application so that I can use the root relative paths, but if I set the site up at http://localhost VS.Net only gives me the option to user absolute paths (relative,...
0
by: Jason Moore | last post by:
I am trying to setup an asp.net web application without using a virtual directory, but when I do, the IDE forces me to use absolute paths so I cannot use root relative paths. Is there a way to...
2
by: Joe | last post by:
Hi, can someone tell me how to set up relativ paths in VS2003 C++ ? I have some source with a tree directory structure that segments include files in various directories: #include...
3
by: Dave | last post by:
Hi, since I'm developing on XP and can only have on website, how can you refer to your root application (not web) in your paths? I read for server controls that "the ~/ prefix will be converted...
9
by: Garann Means | last post by:
I have a subfolder under wwwroot set up as a virtual directory with its own application name in IIS. I pulled it down from Visual Source Safe and, on the machine where it's normally hosted, it...
5
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. I have a virtual directory named Vehicles which serves a website. An ..aspx page in the Vehicles directory needs to display an image from a folder existing one folder above Vehicles. So I...
15
by: Lars Eighner | last post by:
Aside from the deaths of a few extra electrons to spell out the whole root relative path, is there any down side? It seems to me that theoretically it shouldn't make any difference, and it would...
2
by: BD | last post by:
Hi there. Using 8.2 on Windows. I have a situation where I have a db backup, which I want to deploy to a group of developer workstations. The target directory for the database files will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.