I have a website with 6 virtual directories under it who dont "see" the bin/
directory in the root.
If I create a /bin directory in each virtual directory and then copy my
dll's in there, it works.
Any idea what I'm doing wrong? Or any other way to reference a dll?
I know a solution is to copy the dll's into the GAC, but this server has
many other websites running on it, so I don't want the dll's there and
available to any other websites.
Ideally my dlls would go into a single directory so that the root and all of
the virtual directories could use it, but no other websites could.
Thanks,
Michelle 4 2576
you can create a web service that reference this dll, acting as a shell to your functions, then all your other code would be calling this web service instead
If I'm not mistaken, the default behavior for a web page is to look in it's
own directory's \bin directory for code referenced in the "Inherits" @Page
directive (or "Src").
If you don't put the code/DLL there, it won't know where to find it.
Are you using Visual Studio.NET to create this app? If so, just right-click
on each project's references and add a reference to the DLL's in question.
HTH
-Todd
One of the things to remember is that virtual directories are essentially
different. usually a virtual directory is itself marked as an app because
the nature of a virtual directory is that the physical directory can be used
as a virtual any number of times. Because of this, how does the virtual
really know where the parent is and should it?
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
"Michelle" <michelledoesntwant@spam> wrote in message
news:uL*************@TK2MSFTNGP11.phx.gbl... I have a website with 6 virtual directories under it who dont "see" the
bin/ directory in the root. If I create a /bin directory in each virtual directory and then copy my dll's in there, it works.
Any idea what I'm doing wrong? Or any other way to reference a dll?
I know a solution is to copy the dll's into the GAC, but this server has many other websites running on it, so I don't want the dll's there and available to any other websites.
Ideally my dlls would go into a single directory so that the root and all
of the virtual directories could use it, but no other websites could.
Thanks,
Michelle
That explains why it doesn't work. But how, besides the gac, do I get the
root app and all the virtual directories to reference the same dll? :)
"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:un**************@TK2MSFTNGP10.phx.gbl... One of the things to remember is that virtual directories are essentially different. usually a virtual directory is itself marked as an app because the nature of a virtual directory is that the physical directory can be
used as a virtual any number of times. Because of this, how does the virtual really know where the parent is and should it?
Hope this helps, Mark Fitzpatrick Microsoft MVP - FrontPage
"Michelle" <michelledoesntwant@spam> wrote in message news:uL*************@TK2MSFTNGP11.phx.gbl... I have a website with 6 virtual directories under it who dont "see" the bin/ directory in the root. If I create a /bin directory in each virtual directory and then copy my dll's in there, it works.
Any idea what I'm doing wrong? Or any other way to reference a dll?
I know a solution is to copy the dll's into the GAC, but this server has many other websites running on it, so I don't want the dll's there and available to any other websites.
Ideally my dlls would go into a single directory so that the root and
all of the virtual directories could use it, but no other websites could.
Thanks,
Michelle
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jeffry van de Vuurst |
last post by:
Hi,
(sorry for the crosspost, I wasn't sure which was the best place to
put this).
I was just thinking about something and wondered if any of you has
some ideas about this.
I'm using the...
|
by: Leszek |
last post by:
Hello,
Could anybody explain what's a difference between a virtual directory and an
application root under IIS? I'm a little bit confused.
This is mu problem:
Let's assume the following...
|
by: Sheila Jones |
last post by:
Hello,
Could somebody explain (or point me to a website that does) the difference
between a 'virtual directory' and an 'application root'? I don't really get
it at the moment. Thanks.
|
by: nick |
last post by:
I have a problem and I've been using a cheezy work around and was
wondering if anyone else out there has a better solution.
The problem:
Let's say I have a web application appA. Locally, I set...
|
by: Manso |
last post by:
Hi,
We have an application that is installed in default web site (root web
site). The same application will be installed as virtual directories under
the root site e.g. <default web site>/app1...
|
by: Bob Peek |
last post by:
I would like to share code between several web sites that exist as virtual
directories under a single site. It appears that I have to create an
app_code directory under each virtual root in order...
|
by: Chuck P |
last post by:
Using vs05 and making an asp.net 2.0 website.
We use VSS and have everything organized like this
SolutionName
Documents
Code
WebProjectName1
WebServiceProjectName1
|
by: djmc |
last post by:
Hi,
I am having problems with virtual directories and web.config inheritance. I
have read the section titled "Conflicts between settings on virtual and
physical directories" at...
|
by: Paul F |
last post by:
Im confused about the difference(s) between virtual directories and
physical
directories in IIS.
Any ideas?
*** Sent via Developersdex http://www.developersdex.com ***
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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,...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
| |