473,383 Members | 1,896 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,383 software developers and data experts.

relative App_Themes path

I would like this folder structure for 2 web applications:

root/app1/Default.aspx
root/app1/App_Themes

root/app2/Default.aspx
root/app2/App_Themes

This will error, because asp.net expects the location: root/App_Themes
for both apps.
How do I make the App_Themes path relative for each app? Both apps need
to run on the same Web root.

Nov 14 '06 #1
2 2184
make a vdir for each app.

-- bruce (sqlwork.com)

<mi******@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
>I would like this folder structure for 2 web applications:

root/app1/Default.aspx
root/app1/App_Themes

root/app2/Default.aspx
root/app2/App_Themes

This will error, because asp.net expects the location: root/App_Themes
for both apps.
How do I make the App_Themes path relative for each app? Both apps need
to run on the same Web root.

Nov 14 '06 #2
you mean a vdir on the IIS server? This will create two different web
roots. I need both apps to run in the same virtual directory / web
root.
bruce barker (sqlwork.com) skrev:
make a vdir for each app.

-- bruce (sqlwork.com)

<mi******@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
I would like this folder structure for 2 web applications:

root/app1/Default.aspx
root/app1/App_Themes

root/app2/Default.aspx
root/app2/App_Themes

This will error, because asp.net expects the location: root/App_Themes
for both apps.
How do I make the App_Themes path relative for each app? Both apps need
to run on the same Web root.
Nov 15 '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...
5
by: jason | last post by:
Can anyone help me find a solution to quickly working out relative paths to a folder in the root of my server... Although it easy when you go - say - two levels down: .../includes it...
7
by: Rizaan Jappie | last post by:
is it possible to get the relative path based on a absolute path in c#? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
6
by: openleren | last post by:
Hi all, how can I use a relative path in my web.config file for an Access db?: Instead of using <configuration> <appSettings> <add key="conAccess" value="microsoft.jet.oledb.4.0;data...
18
by: Nak | last post by:
Hi there, Does anyone know what path the AssemblyKeyFile attribute is relative to? For example I currently have mine set to <Assembly: AssemblyKeyFile("..\NicksKey.snk")> Sometimes this...
8
by: JJ | last post by:
I'm confused about paths. I have a functionn that uses the mappath method, which I think requires a virtual path (is that the same as a relative path?). But this doesn't always work as the...
0
by: Matteo Migliore | last post by:
Hi! I want to publish a web application to manage multiple web sites and different themes, contents etc... The problem is that App_Themes folder, web.config, web.sitemap point to a fixed...
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...
0
by: Gabriel Genellina | last post by:
En Sat, 18 Oct 2008 05:52:04 -0300, Stef Mientki <stef.mientki@gmail.com> escribió: Why don't you let the caller tell you its own location, using __file__? The above code is too much magic for...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.