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

How to create virtual directory to hold assemblies?

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.n et\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
Nov 18 '05 #1
2 1756
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.n et\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

Nov 18 '05 #2
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\js c"
/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" <Ga****@discussions.microsoft.com> wrote in message
news:60**********************************@microsof t.com...
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.n et\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

Nov 18 '05 #3

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

Similar topics

5
by: David Webb | last post by:
The problem started when the Working Folder for a project was somehow set to the folder of another project. I set the correct working folder in VSS and deleted the .vbproj files that had been...
0
by: No Spam | last post by:
After looking all the ways to progrrammatically create a new FTP Server & Virtual Directory, I have come to see that the code below is the cleanest. Here is my basic issue. When I run this code, I...
3
by: Smitha Nataraj | last post by:
Hello, I need to create a Virtual Directory in C#. Pls let me know if you have any hints regarding this.. Thanks, Smitha
5
by: Max | last post by:
I have several web applications I'm trying to upload to my web site, but it seems to be only letting one run at a time. It's totally ignoring the new bin folder in my subdirectory. Is there...
2
by: Mickey | last post by:
When I try to create a new web application in VS Studio .NET 2003 at a simple default location eg: http://localhost/WebApplication1 I get the following error: Visual Studio .NET cannot create or...
2
by: McGeeky | last post by:
Are there any best practices on releasing updates of an ASP.Net application to a virtual directory in a production environment? E.g. is it okay to simply copy over changes to ASP.Net pages in to...
3
by: Steve Franks | last post by:
I'm using Visual Studio 2005 RC and cannot figure out how to produce a "release" build. Am I doing something wrong? I'm wondering if perhaps MS locked out the ability to produce a release build...
1
by: mbosco51 | last post by:
Hi. I have an external facing website that has both a customer login and an admin login. I want to prevent external access to the admin login for security reasons. On the same webserver I...
4
by: illegal.prime | last post by:
Hi all, I'm getting unexpected results when trying to preload assemblies into an AppDomain I'm creating. Upon creation of the AppDomain - I attach an AssemblyResolve to both my current AppDomain...
0
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...
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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.