[Mono-list] ASP.NET and references to external assemblies

Morten Krog mk at i3m.dk
Mon Jan 16 05:37:04 EST 2006


Hi,

I have a problem with asp.net running under apache with mono-1.1.13. The
problem is that my aspx page and associated aspx.cs file does not seem to be
compiled against the ByteFX.Data assembly as I would have expected to.

The installation of mono was done with the installer and not through
yum/redcarpet.

I've configured the mod_mono by simply including the mod_mono.conf file and
nothing else. It works fine as long as a page has no need to know about
other assemblies.

I have tried the following ways of making the page aware of the assembly:

1) <%@ Assembly Name="ByteFX.Data" %> in the page
2) Placed a Web.config in the same directory as the page  <add assembly="
ByteFX.Data, Version=0.7.6.2, Culture=neutral,
PublicKeyToken=0738eb9f132ed756"/> in the system.web->compilation->assemblies
node.
3) Created a bin directory in the same directory as the aspx-page and copied
the ByteFX.Data.dll file there.

I realize the ByteFX.Data assembly is rather old, but suppose that makes no
difference as to whether the mono-framework can find it?

I'd really appreciate some help here.

Regards
/Morten Krog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20060116/f700de43/attachment.html


More information about the Mono-list mailing list