473,324 Members | 1,678 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,324 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 12 '05 #1
4 2992
"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 12 '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 12 '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 12 '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 12 '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...
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.