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 2597
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" <michelledoesnt want@spam> wrote in message
news:uL******** *****@TK2MSFTNG P11.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******@fitzm e.com> wrote in message
news:un******** ******@TK2MSFTN GP10.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" <michelledoesnt want@spam> wrote in message news:uL******** *****@TK2MSFTNG P11.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 NetAdvantage component suite from Infragistics for my
web applications. When installing they create several virtual
|
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 directory structure:
FileManager (application name a.k.a. virtual directory?)
|
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 it up as
C:\domains\appA. Locally, my IIS root points to C:\domains. I don't
point it to C:\domains\appA since if I have an appB under C:\domains I
wouldn't be able to get to it. So to access it via my browser I go to
localhost/appA.
|
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 and <default web site>/app2.
Starting the root application goes well but when starting app1 it complains
that the HttpModule installed for the default web site is already loaded. I
don't understand this. The following thread mentions a nasty...
| |
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 to share classes accross
the code in the different virtual directories.
This seems to defeat the purpose of shared code.
Is there any way to specify to IIS where the app_code directory is for a
virtual site?
|
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
http://msdn2.microsoft.com/en-us/library/ms178685.aspx
I have a web application running with the properties:
http://www.domain.com/
c:\domain\
|
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: 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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |