473,396 Members | 2,037 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,396 software developers and data experts.

GAC doesn't work when trying to share ASP.NET dll

Hey all,
I'm trying to share a DLL that sits in the bin directory of a web
application. from responses I got here
I tried to change the output path (doesn't work) and I also tried to put it
in the GAC. although I was successive with the procedure of putting that
into the GAC, the DLL wasn't working even there.
I have to mention, that this DLL is not an extra component, but the actual
code behind for this page.
So I have a page named Webform1 and this is its compiled code behind that I
need to share, not another class. I saw the DLL in the GAC, so I guess I've
installed it correctly, but the page gave me the same error as it did before
I inserted the DLL to the GAC, saying it can't find the code.

any help on that?
TY
Nov 18 '05 #1
2 1104
Donald Sorenson wrote:
Hey all,
I'm trying to share a DLL that sits in the bin directory of a web
application. from responses I got here
I tried to change the output path (doesn't work) and I also tried to put it
in the GAC. although I was successive with the procedure of putting that
into the GAC, the DLL wasn't working even there.
I have to mention, that this DLL is not an extra component, but the actual
code behind for this page.
So I have a page named Webform1 and this is its compiled code behind that I
need to share, not another class. I saw the DLL in the GAC, so I guess I've
installed it correctly, but the page gave me the same error as it did before
I inserted the DLL to the GAC, saying it can't find the code.


Add the full name of the assembly you added to the GAC to your web.config:

<system.web>
<compilation>
<assemblies>
<add assembly="MyGlobalAssembly, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=0123456789abcdef" />
</assemblies>
</compilation>
</system.web>

--
mikeb
Nov 18 '05 #2
Have to put this string in one line, but its working great! TY!
"Donald Sorenson" <do****@excite.com> wrote in message
news:ek**************@TK2MSFTNGP09.phx.gbl...
Hey all,
I'm trying to share a DLL that sits in the bin directory of a web
application. from responses I got here
I tried to change the output path (doesn't work) and I also tried to put it in the GAC. although I was successive with the procedure of putting that
into the GAC, the DLL wasn't working even there.
I have to mention, that this DLL is not an extra component, but the actual
code behind for this page.
So I have a page named Webform1 and this is its compiled code behind that I need to share, not another class. I saw the DLL in the GAC, so I guess I've installed it correctly, but the page gave me the same error as it did before I inserted the DLL to the GAC, saying it can't find the code.

any help on that?
TY

Nov 18 '05 #3

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

Similar topics

2
by: Robert | last post by:
I am using the php4-cgi Debian package which is based on PHP 4.3.4. I have problems when running php4 on the command line. If I say something like $ php4 index.cgi a number of variables...
3
by: JT | last post by:
I posted this message a couple of weeks ago and know one answered. I am not sure if why. I am sure that I am not the only one that has had this issue. Or is it because I used a dirty N word....
149
by: Christopher Benson-Manica | last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.) strchr() is to strrchr() as strstr() is to strrstr(), but strrstr() isn't part of the standard. Why not? --...
11
by: Brett | last post by:
I have an assembly on a shared LAN drive. On my developer machine, I give that assembly full trust from the .NET wizard. It works fine. I go to a user machine on the LAN, map to the shared...
4
by: Garrett | last post by:
Hi all, I am trying to access folders on an Active Directory network share in my ASP code. In my config file I have the following: <identity impersonate="true"...
7
by: JohnR | last post by:
I am using dragdrop to drag and drop a custom class instance. When I drag/drop from one window to another window in the same application everything works fine. But when trying to move between the...
5
by: fab | last post by:
Hello, i'm trying to browse a UNC share through an ASP.NET application and i've got a problem : i've tried some examples from MSDN or other web sites (using LogonUser from Win32 API) and it...
0
by: giovanni gherdovich | last post by:
Hello, first of all: Is this the right place to ask plastek-related questions? I'm trying to make plastex work on my Ubuntu Dapper Drake. For LaTeX, I have the all-in-one package tetex.
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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...
0
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...
0
tracyyun
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...
0
agi2029
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,...
0
isladogs
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...

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.