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

ASP.NET Virtual Directories (xsl:import)(appSettings) - Help?

I have 3 individual ASP.NET applications that make up the overall web
application. Each of these websites share some common styles, scripts and
xslt files. These are all placed in a single directory structure then in
IIS each .NET application has the virtual directory called shared created.

The problem is that and server side uri paths do not seem to recognize the
virtual directory called 'shared'. For example when using an external file
in the web.config file for appSettings or in an XSLT file with the
<xsl:import href="{file}"/> declaration.

Is there a way to tell the .NET application that the virtual exists under
IIS and how to relate to it or is this simply not possible.

Configuration is .NET 1.1 running on win2000 server.

Thanks in advance
Keith
Nov 18 '05 #1
4 1769
"Keith Chadwick" <kc*******@leewardsystems.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
I have 3 individual ASP.NET applications that make up the overall web
application. Each of these websites share some common styles, scripts and
xslt files. These are all placed in a single directory structure then in
IIS each .NET application has the virtual directory called shared created.

The problem is that and server side uri paths do not seem to recognize the
virtual directory called 'shared'. For example when using an external file in the web.config file for appSettings or in an XSLT file with the
<xsl:import href="{file}"/> declaration.

Is there a way to tell the .NET application that the virtual exists under
IIS and how to relate to it or is this simply not possible.

Configuration is .NET 1.1 running on win2000 server.


Keith,

How were you attempting to use the external file in web.config?
--
John Saunders
John.Saunders at SurfControl.com
Nov 18 '05 #2

<appSettings file="shared/appSettings.config"/>

where shared is the name of the virtual directory. I have checked that my
external file is correct by trying it at root and simply putting
file="appSettings.config" with no problem but when I move it to the virtual
directory its a no go.

Cheers
Keith

"John Saunders" <john.saunders at SurfControl.com> wrote in message
news:OK**************@TK2MSFTNGP12.phx.gbl...
"Keith Chadwick" <kc*******@leewardsystems.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
I have 3 individual ASP.NET applications that make up the overall web
application. Each of these websites share some common styles, scripts and xslt files. These are all placed in a single directory structure then in IIS each .NET application has the virtual directory called shared created.
The problem is that and server side uri paths do not seem to recognize the virtual directory called 'shared'. For example when using an external

file
in the web.config file for appSettings or in an XSLT file with the
<xsl:import href="{file}"/> declaration.

Is there a way to tell the .NET application that the virtual exists under IIS and how to relate to it or is this simply not possible.

Configuration is .NET 1.1 running on win2000 server.


Keith,

How were you attempting to use the external file in web.config?
--
John Saunders
John.Saunders at SurfControl.com

Nov 18 '05 #3
"Keith Chadwick" <ch***@magma.ca> wrote in message
news:EO********************@magma.ca...

<appSettings file="shared/appSettings.config"/>

where shared is the name of the virtual directory. I have checked that my
external file is correct by trying it at root and simply putting
file="appSettings.config" with no problem but when I move it to the virtual directory its a no go.


The file attribute of appSettings refers to an OS file spec, not to a URL.

Note that you can use the "linkd" utility from the Windows 2000 Professional
Resource Kit to create the file system equivalent of a virtual directory.
--
John Saunders
John.Saunders at SurfControl.com
Nov 18 '05 #4
you are correct, for the appSettings the file attibute does use OS file spec
not an URL. That solves that one but still same problem with xsl:include

Keith

"John Saunders" <john.saunders at SurfControl.com> wrote in message
news:e0****************@TK2MSFTNGP09.phx.gbl...
"Keith Chadwick" <ch***@magma.ca> wrote in message
news:EO********************@magma.ca...

<appSettings file="shared/appSettings.config"/>

where shared is the name of the virtual directory. I have checked that my external file is correct by trying it at root and simply putting
file="appSettings.config" with no problem but when I move it to the virtual
directory its a no go.


The file attribute of appSettings refers to an OS file spec, not to a URL.

Note that you can use the "linkd" utility from the Windows 2000

Professional Resource Kit to create the file system equivalent of a virtual directory.
--
John Saunders
John.Saunders at SurfControl.com

Nov 18 '05 #5

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

Similar topics

5
by: James Kimble | last post by:
I've inherited a program that was developed in Visual Studio and I'm having a problem with build times. The program is about 250,000 lines and I'm storing the entire project on a network drive....
1
by: Vince C. | last post by:
Hi all, I've created XML documents that are described with a schema. I'm using those documents to create web pages. All my web pages contain a fixed header and a variable document part. The...
1
by: bjam | last post by:
Hi, today I was able to abstract out into a separate xsl file a template that I specifically perform a call templates for, this worked with import no problem. However, when trying to do the same...
0
by: atlantis | last post by:
Hi, I have a very strange problem with xsl:import when usig RELATIVE path on AIX 5.2 server. I have two XSL files in the same directory: "ists_xslt3.xsl" and "ists_xslt3_layout.xsl". This...
4
by: Showjumper | last post by:
I am using the NITF DTD for my xml files and i need to use 2 xsl files to do the transform: one for the <body.head> and the second for the <body.content>. I've got this so far for transforming...
4
by: Keith Chadwick | last post by:
I have 3 individual ASP.NET applications that make up the overall web application. Each of these websites share some common styles, scripts and xslt files. These are all placed in a single...
2
by: dhnriverside | last post by:
Hi I've got a web app that I've installed on a client computer. Basically it's an intranet, and has a section where staff can upload media files for all to see, so theyre all in a conveinient...
8
by: Larry Coon | last post by:
I'm trying to use xsl for the first time, and as with any first-time attempt, I'm running into problems. I'm trying to transform an XML document into another XML document with a slightly...
4
by: djamilabouzid | last post by:
Hi, I am wondering if someone can help me. This will be very grateful. Here is an explanation of my problem: o I have collections in SQL Server 2005 database o I search these collections by...
0
by: jephperro | last post by:
Hi, I'm trying to do something with multiple xml files and am wondering if it is possible. I have 2 XML feeds: One is a list of locations, LOC.XML One is a list of products,PROD.XML I...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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.