473,320 Members | 1,930 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.

Compiled .ASPX page cannot reference an assembly in the GAC

Hello all,

I was wondering if anyone could provide me with some assistance with
and error I have been observing. Our current set of framework .dlls
defines custom user controls in an assembly called
Architecture.Web.DLL. One of the controls within that assembly
references an enumeration in another framework .DLL -
Architecture.services.dll. Both assemblies are strongly named.

The target deployment scenario for our framework is to have it reside
exclusively in the GAC (with copies in a common LIB folder for
referencing with visual studio). In other words, we don't want any
copies of the framework .dlls in the local \bin directory for the
application in question.

We have a rather large VB.NET web app that we are trying to deploy with
the framework, but have encountered an issue with the above .dll files.
When using a control in Architecture.Web.DLL that references an
enumeration in Architecture.services.dll, we are faced with an
exception that is presented by the .ASPX page compiler (we can build
the application correctly, and navigate to the page in question through
other pages in the application) that states "Services is not a member
of Architecture". The error that it points to resides in the compiled
..aspx page within the temporary ASP.NET directory created by the JIT
compiler. Is there a known issue with .NET that prevents the
JIT-compiled pages from accessing an assembly in the GAC? Has anyone
else encountered this issue?

Thanks for your time,

Matt Billock

Aug 16 '05 #1
0 1399

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

Similar topics

1
by: francois | last post by:
Hi all, I need to use an helper class in my ASP.NET page. I want to use it in the actual ASPX page and not in the code behind class. For doing so I obviously need to import the package...
6
by: Gordo | last post by:
Hi, I have written a number of server controls to build the company's intranet from data held in an Oracle database. Everything works well for the various navigation pages. However, the...
2
by: Jason Kendall | last post by:
I've got a simple report that I'm building. This is just a single web page. It uses a custom DLL that I've built as an interface to my database. When I use th page within an ASP.Net project, in...
10
by: Jordan | last post by:
I would like to take my ASP.NET project to another computer, which doesn't have Visual Studio. If I modify the code there, is there a way to recompile it without Visual Studio? Thanks!
0
by: Paul van Brenk | last post by:
Hi, after installing sp1 on windows 2003 I get the following error when accessing an aspx page in an otherwise asp application: error: Unable to generate a temporary class (result=1). error...
0
by: Matt Billock | last post by:
Hello all, I was wondering if anyone could provide me with some assistance with and error I have been observing. Our current set of framework .dlls defines custom user controls in an assembly...
5
by: Gregory Gadow | last post by:
All done in ASP.Net 2.0 using VB... The website I am developing has a large DLL that includes custom MembershipUser, MembershipProvider and RoleProvider classes, several frequently used web...
2
by: Beemer Biker | last post by:
I have some demo code that came with a 3rd party product. This is what it looks like (I remove html braces in case it does not print right) Register TagPrefix="pin"...
2
by: lds | last post by:
I am getting the error "The file '/AHSD/MainMenu.aspx' has not been pre-compiled, and cannot be requested." when I try to deploy one of my applications that I am just migrating to VS 2005. I have...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
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

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.