[Mono-list] ASP.NET TemplateParser error?

Travis Staloch twostepted at yahoo.com
Tue Jan 2 15:24:37 EST 2007


> System.IO.FileNotFoundException:
>  /home/advanced/cworks/public_html/componentworks.net/bin/ComponentWorks.dll : /home/advanced/cworks/public_html/componentworks.net/bin/ComponentWorks.dll
> in <0x00000> <unknown method>
> in (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
> in <0x00013> System.Reflection.Assembly:LoadFrom (System.String assemblyFile)
> in <0x0026c> System.Web.UI.TemplateParser:LoadType (System.String typeName)
> in <0x00091> System.Web.UI.TemplateParser:SetBaseType (System.String type)
> in <0x0024a> System.Web.UI.TemplateParser:ProcessMainAttributes (System.Collections.Hashtable atts)
> 
> And here's my apache2.conf virtual host def: 
> 
> <VirtualHost *:8025>
> 
>         ServerAdmin admin at mydomain.net
>         DocumentRoot /home/advanced/cworks/public_html/mydomain.net
>         ServerName mydomain.net
>         CustomLog logs/mydomain.net-access.log combined
> 
> ScriptAlias /cgi-bin/ /home/advanced/cworks/public_html/mydomain.net/cgi-bin/
> 
>         MonoUnixSocket
> mydomain.net /home/advanced/cworks/tmp/mod_mono.sock
>         MonoWapidir mydomain.net "/home/advanced/cworks/tmp/"
>         MonoApplications mydomain.net
> "/:/home/advanced/cworks/public_html/mydomain.net/"
>         AddMonoApplications mydomain.net
> "/:/home/advanced/cworks/public_html/mydomain.net/"
>         AddMonoApplications mydomain.net/Licensing
> "/:/home/advanced/cworks/public_html/mydomain.net/Licensing"

None of your applications are configured to have its base virtual
directory on /home/advanced/cworks/public_html/componentworks.net. So
whatever is under bin in that directory is not automatically referenced.
You should copy that dll to the bin directory of every application that
uses it or install it in the GAC.

-Gonzalo



Gonzalo,

I'm not sure how to configure my apps to use the base virtual directory 
mentioned.  If you have a link or pointer on that I would appreciate it.  

Also, the assembly _does_ exist in my app's bin directory.  That is why 
the error seems  so strange.  I've also verified that the assembly has 
execute permissions.  

Regards,

--Travis




 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070102/73374d3a/attachment.html 


More information about the Mono-list mailing list