How to create virtual directory to hold assemblies?

Discussion in 'ASP .Net' started by Siegfried Heintze, Nov 11, 2004.

  1. I ran Internet Services Manager to create a virtual directory whose physical
    path was C:\InetPub\wwwroot\SIGNITEK_PRIVATE. Since this notebook is not
    exposed on the network, I gave the virtual directory write and browse
    permissions in addition to the defaults of read and execute.

    I then created a C:\InetPub\wwwroot\SIGNITEK_PRIVATE\bin directory and
    recompiled some assemblies and stored them in that bin directory. I also ran
    tlbimp to import MSXML2 and stuck that in the bin directory too.

    My web pages in C:\InetPub\wwwroot\SIGNITEK_PRIVATE\articles\asp.net\lecture
    referencing those libraries would not work.They could not find the
    assemblies I was referencing.

    I created c:\InetPub\wwwroot\bin and moved all the assemblies there. Then my
    web pages started to work again. What do I have to do special when creating
    a virtual directory so it can find the assemblies in the bin directory?

    Thanks,
    Siegfried
     
    Siegfried Heintze, Nov 11, 2004
    #1
    1. Advertising

  2. you need to change the output path property of your project to just bin\

    "Siegfried Heintze" wrote:

    > I ran Internet Services Manager to create a virtual directory whose physical
    > path was C:\InetPub\wwwroot\SIGNITEK_PRIVATE. Since this notebook is not
    > exposed on the network, I gave the virtual directory write and browse
    > permissions in addition to the defaults of read and execute.
    >
    > I then created a C:\InetPub\wwwroot\SIGNITEK_PRIVATE\bin directory and
    > recompiled some assemblies and stored them in that bin directory. I also ran
    > tlbimp to import MSXML2 and stuck that in the bin directory too.
    >
    > My web pages in C:\InetPub\wwwroot\SIGNITEK_PRIVATE\articles\asp.net\lecture
    > referencing those libraries would not work.They could not find the
    > assemblies I was referencing.
    >
    > I created c:\InetPub\wwwroot\bin and moved all the assemblies there. Then my
    > web pages started to work again. What do I have to do special when creating
    > a virtual directory so it can find the assemblies in the bin directory?
    >
    > Thanks,
    > Siegfried
    >
    >
    >
     
    =?Utf-8?B?R2FybmV0?=, Nov 11, 2004
    #2
    1. Advertising

  3. Property? I'm confused. I'm not using MS Visual Studio so there are no
    properties. I'm just manually using tlbimp and jsc (javascript compiler) to
    create assemblies from the command line and specifying the output to be bin
    directory. I wonder if case sensitivity could be messing me up?

    Here are my commands:
    "\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\TlbImp.exe"
    c:\Windows\System32\msxml2.dll /out:..\..\bin\msxml2.dll /namespace:MSXML2
    "\WINDOWS\Microsoft.NET\Framework\v1.1.4322\jsc"
    /out:..\..\bin\SlideMaker.dll
    /reference:c:\Windows\Microsoft.NET\Framework\v1.1.4322\System.Web.dll\;..\.
    ..\bin\msxml2.dll /debug /target:library SlideMaker02.js


    Thanks
    Siegfried

    "Garnet" <> wrote in message
    news:...
    > you need to change the output path property of your project to just bin\
    >
    > "Siegfried Heintze" wrote:
    >
    > > I ran Internet Services Manager to create a virtual directory whose

    physical
    > > path was C:\InetPub\wwwroot\SIGNITEK_PRIVATE. Since this notebook is not
    > > exposed on the network, I gave the virtual directory write and browse
    > > permissions in addition to the defaults of read and execute.
    > >
    > > I then created a C:\InetPub\wwwroot\SIGNITEK_PRIVATE\bin directory and
    > > recompiled some assemblies and stored them in that bin directory. I also

    ran
    > > tlbimp to import MSXML2 and stuck that in the bin directory too.
    > >
    > > My web pages in

    C:\InetPub\wwwroot\SIGNITEK_PRIVATE\articles\asp.net\lecture
    > > referencing those libraries would not work.They could not find the
    > > assemblies I was referencing.
    > >
    > > I created c:\InetPub\wwwroot\bin and moved all the assemblies there.

    Then my
    > > web pages started to work again. What do I have to do special when

    creating
    > > a virtual directory so it can find the assemblies in the bin directory?
    > >
    > > Thanks,
    > > Siegfried
    > >
    > >
    > >
     
    Siegfried Heintze, Nov 11, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jack Wright
    Replies:
    1
    Views:
    477
    sonikchopra
    Apr 19, 2005
  2. Javier Martinez
    Replies:
    27
    Views:
    775
    Juan T. Llibre
    Nov 15, 2005
  3. =?Utf-8?B?SmVmZiBCZWVt?=

    physical path to virtual path under virtual directory

    =?Utf-8?B?SmVmZiBCZWVt?=, Aug 1, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    1,067
    Eliyahu Goldin
    Aug 1, 2007
  4. olduncleamos

    assemblies in sub directory?

    olduncleamos, Apr 23, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    250
    bruce barker
    Apr 23, 2008
  5. rockdale

    include virtual in virtual directory?

    rockdale, Sep 3, 2008, in forum: ASP General
    Replies:
    3
    Views:
    458
    rockdale
    Sep 4, 2008
Loading...

Share This Page