Hello,
When I try to reference a class property from within an ASPX file, I get a
"reference not found" error. This only happens in our production
environment, where we have the Assemblies loaded in the GAC. On our
Development machines, where we the Assemblies in the local "/bin" folder, it
works fine.
We've been able to get around this by creating a "wrapper" property for the
actual class property in the ASPX code-behind file, but I'm curious why ASPX
can't find it when it's in the GAC.
I suppose, we could also make it work by putting the Assemblies into the
local /bin folder, but our Production environment has hundreds of /bin
folders, so it wouldn't be very nice.
Thanks.
--
- Tony D 1 1378
while the compiled code is in the gac, the .net compiler (when it compiles
the aspx page) needs additional information that is stored in the dlls. if
you don't want to install the dll's on the server then you will need to use
the wrapper approach.
-- bruce (sqlwork.com)
"Tony D" <To***@discussions.microsoft.com> wrote in message
news:2E**********************************@microsof t.com... Hello,
When I try to reference a class property from within an ASPX file, I get a "reference not found" error. This only happens in our production environment, where we have the Assemblies loaded in the GAC. On our Development machines, where we the Assemblies in the local "/bin" folder,
it works fine.
We've been able to get around this by creating a "wrapper" property for
the actual class property in the ASPX code-behind file, but I'm curious why
ASPX can't find it when it's in the GAC.
I suppose, we could also make it work by putting the Assemblies into the local /bin folder, but our Production environment has hundreds of /bin folders, so it wouldn't be very nice.
Thanks. -- - Tony D This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: |
last post by:
Hi
I have written a class (Vb.net) which supposed to write out page title, img
URLs and other stuff.
I can access the class methods and properties easily through the .vb page
But how do I...
|
by: TM |
last post by:
When I run an ASP.Net application I am getting the following error:
"Error while trying to run project: Unable to start debugging on the web
server. The project is not configured to be debugged."...
|
by: John Rivers |
last post by:
hi, here is how to do it and restore sanity to aspx html rendering:
(please only reply with sensible architectural discussion - juan)
put this at the end of an aspx file (or use an include at...
|
by: Will Gillen |
last post by:
I know this has probably been asked before, but I can't seem to find a solid
answer in any of the archives. First, before my question, please forgive my
limited knowledge of the event lifecycle...
|
by: c676228 |
last post by:
Hi,
I guess I am confused. In aspx script, I mean (you won't use
Codebehind="enrollinfo.aspx.vb", but mix code with html and code together)
You can access user control's property directly. Since I...
|
by: amir |
last post by:
Hi,
When compiling a page in VS2005 this morning I received 101 messages
regarding schema problems in my web.config file.
When I go to view an aspx page in my IIS, IE just displays a blank...
|
by: Fernando Chilvarguer |
last post by:
I'm sure this has come up before but I could not find any post on it.
How can I read a variable or property that has been set on a ASPX page from
inside a ASCX control.
ASPX code:
public...
|
by: Buddy Home |
last post by:
Hello,
I'm trying to upload a file programatically and occasionally I get the
following error message.
Unable to write data to the transport connection: An established connection
was aborted...
|
by: Buddy Home |
last post by:
Hello,
I'm trying to upload a file programatically and occasionally I get the
following error message.
Unable to write data to the transport connection: An established connection
was aborted...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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: 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...
|
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...
| |