473,795 Members | 3,386 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.We b.DLL. One of the controls within that assembly
references an enumeration in another framework .DLL -
Architecture.se rvices.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.We b.DLL that references an
enumeration in Architecture.se rvices.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 1431

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

Similar topics

1
1249
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 containing that helper class in the ASPX page. For a normal C# class I can do the following : using Com.MyCompany.MyNameSpace How can I achieve the "using" feature in a ASPX page ?
6
1857
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 content pages are in the main converted .htm pages with no code behind. The issue I have is that I wish to place a small navigation server control on each page. All works well if I compile the pages with the solution referencing the server control dll....
2
1425
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 Visual Studio, I can set a reference to my DLL, Import the namespace, and everything works perfectly. However, when I convert the page to a JIT scenario so that I can publish both the .ASPX page and the associated .VB file and not have to...
10
3688
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
1271
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 CS0011: Referenced class 'ASP.InvoiceExport_aspx' has base class or interface 'System.Web.UI.Page' defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web'. error CS0011: Referenced class...
0
281
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 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...
5
1455
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 controls, custom base classes for Master and Page objects, so on and so on. All of this was done on my main dev machine, which I've also been using to write the website. On the dev machine, the DLL references compile Just In Time with no errors....
2
7320
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" Namespace="Pintexx.Components.Web.pinTab" Assembly="pinTab" That line of code was the 2nd line just below the Page Language="C#" ... in default.aspx I created a new, blank page, and attempted to copy and paste the control
2
2361
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 searched on the web for a solution, but none of the suggestions so far have worked. Here is my scenario: I am using Visual Studio 2005 with SP1 installed and I have created a Web Deployment Project with the following items selected in the...
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10214
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10001
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9042
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.