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

Web.config Help

I am trying to configure a set of access rules for a subfolder in my
project. The folder is a subfolder in the application folder and cannot
read the dll file in the application's bin folder. How do I propertly tell
the compiler in the Web.config file used in the sub folder where to find the
application's dll? I tried the following to no avail:

<compilation defaultLanguage="vb" debug="true">
<assemblies>
<add assembly="D:\My Web Projects\application\bin\EPPP.dll"/>
</assemblies>
</compilation>

It seems like the compiler still can't find the dll. Can anyone help me
out? And if it's a matter of adding the assembly to the GAC can anyone tell
me how to properly do this? Is there anyway to this without putting the
assembly in the GAC?

Thanks,

~Peter


Oct 28 '05 #1
1 1494
CT
Peter,

Check this article to see how the runtime locates assemblies,
http://msdn.microsoft.com/library/de...assemblies.asp.

In addition, check these articles to see how to create strong named
assemblies to add to the GAC,
http://msdn.microsoft.com/library/de...emblycache.asp,
http://msdn.microsoft.com/library/de...assemblies.asp

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Peter Avalos" <pe****@proexam.org> wrote in message
news:OV**************@TK2MSFTNGP09.phx.gbl...
I am trying to configure a set of access rules for a subfolder in my
project. The folder is a subfolder in the application folder and cannot
read the dll file in the application's bin folder. How do I propertly tell
the compiler in the Web.config file used in the sub folder where to find
the application's dll? I tried the following to no avail:

<compilation defaultLanguage="vb" debug="true">
<assemblies>
<add assembly="D:\My Web Projects\application\bin\EPPP.dll"/>
</assemblies>
</compilation>

It seems like the compiler still can't find the dll. Can anyone help me
out? And if it's a matter of adding the assembly to the GAC can anyone
tell me how to properly do this? Is there anyway to this without putting
the assembly in the GAC?

Thanks,

~Peter

Oct 29 '05 #2

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

Similar topics

2
by: Suresh Gladstone | last post by:
Hi, This is a bit with versioning and installation of the .NET dlls. I want to perform the following, 1. A third party application will be invoking my .NET dll through COM interop . For this I...
3
by: Simon | last post by:
Hi everyone, I really need help with the following: It's common in app development to create numerous projects under one solution that as a whole combine to become your final application. For...
2
by: bmcelhany | last post by:
Hi all, I have a solution with 4 projects: a class library, a windows app, a windows service, and an installer project. The class library handles all communication with the database and its...
2
by: Richard | last post by:
Hi, I'm having trouble setting up a config file based trace switch & listener. I added an application config file to my console based C# program using the "Add New Application Config File" button...
2
by: PMac | last post by:
I'm trying to execute a stand-alone console application from an aspx page when a use clicks a button on that page. On the aspx page is the following lines of pertinent code: private void...
6
by: Mikey_Doc | last post by:
Hi We are running cms 2002, Framework 1.0 with Visual studio 2002. We have just upgraded to Framework 1.1 and visual studio 2003. All of our database connection strings are stored within the...
9
by: Benny Ng | last post by:
Hi,all, How to let the sub-directory to avoid the authentication control from Root's webconfig? I heard that we can add a new web.config to the sub-directory. And then we can slove the problem....
1
by: Joseph Geretz | last post by:
I need to download a greater than 4 megabyte attachment via WSE / DIME. The only way I know how to configure this is via a .config file. Normally, the ..config file is the same name as the base...
1
by: comic_rage | last post by:
Hi, I am trying to read from my application config file and keep getting null. Here is my config file My application is called SampleApp.exe
5
by: Andrew | last post by:
Hi, I have a default.aspx which allows the user to choose between module Admin and module B. When the user clicks either one, he will be redirected to a FormsAuthentication login page. The...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
jinu1996
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...

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.