[Mono-list] mod_mono and .dll problems

Melissa Vandenbrink melissa.vandenbrink at gmail.com
Tue Sep 13 16:59:45 EDT 2005


'm running : Apache 2.0.54 / mono 1.1.9 with mod_mono 1.0.9 (and xsp 1.0.9 ) 


My mod_mono.conf file: 

<Directory /opt/apache2/htdocs/site/is/asp>
SetHandler mono
<IfModule !mod_mono.c>
LoadModule mono_module /opt/apache2/modules/mod_mono.so
</IfModule>
</Directory>

Alias /is/asp "/opt/apache2/htdocs/site/is/asp"

AddMonoApplications default "/is/asp:/opt/apache2/htdocs/site/is/asp"

MonoPath 
"/opt/apache2/htdocs/site/is/asp:.:/usr/lib/mono/1.0:/usr/lib/mono/2.0:/usr/lib/mono/gac:/usr/local/lib:/usr/lib/mono/aneet"

<Location /is/asp>
SetHandler mono
Order deny,allow
Allow from all
</Location>
 

I've put NPlot.dll in my /opt/apache2/htdoscs/site/is/asp directory – with 
the rest of this test app.. and get the following error when I call the 
page:

 *Compilation Error* 

*Description: *Error compiling a resource required to service this request. 
Review your source file and modify it to fix this error. 

*Error message: */tmp/58025.cs(6,7) : error CS0246: The type or namespace 
name `NPlot' could not be found. Are you missing a using directive or an 
assembly reference? /tmp/58025.cs(6,1) : error CS0246: The type or namespace 
name `NPlot' could not be found. Are you missing a using directive or an 
assembly reference? 

*File name: */opt/apache2/htdocs/site/is/asp/ChartGenerator.ashx

*Source File: */tmp/58025.cs 
 

I have successfully tested /usr/share/doc/xsp/test as a MonoApplication.. 
Can someone please tell me where I need to put my dll or how to get my app 
to see it?

I've also placed the app in the /usr/lib/mono/<dirs> / I've also gacutil –i 
Nplot.dll .. nothing seems to work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20050913/0946f70a/attachment.html


More information about the Mono-list mailing list