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

ASPX unable to find class properties

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
Nov 18 '05 #1
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

Nov 18 '05 #2

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

Similar topics

1
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...
2
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."...
6
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...
1
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...
5
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...
1
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...
5
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...
0
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...
3
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...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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...

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.