Re: ASPX unable to find class properties
From: bruce barker (nospam_brubar_at_safeco.com)
Date: 09/24/04
- Next message: cpnet: "Re: Stress testing help"
- Previous message: bruce barker: "Re: session id in popup widow"
- In reply to: Tony D: "ASPX unable to find class properties"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Sep 2004 17:05:39 -0700
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" <TonyD@discussions.microsoft.com> wrote in message
news:2E35C515-A186-4D96-B2D5-FD25E122CAD4@microsoft.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
- Next message: cpnet: "Re: Stress testing help"
- Previous message: bruce barker: "Re: session id in popup widow"
- In reply to: Tony D: "ASPX unable to find class properties"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|