[Mono-list] ASP.NET TemplateParser error?

Travis Staloch twostepted at yahoo.com
Mon Jan 1 18:00:17 EST 2007

I can't seem to figure out what has gone wrong.  My web app worked fine running under the mono runtime a few builds back.  But currently every page gives the error message below (note that ComponentWorks.dll my web app's main assembly).  Also note that the app works correctly on windows.  

Searching around for similar bugs has let me to this report: http://bugzilla.ximian.com/show_bug.cgi?id=59608.  This bug accurately describes my app in that all pages inherit from a PageBase class.    However beyone that, I'm not how to workaround this problem with the info in the bug report.  

I would really appreciate a nudge in the right direction as I'm out of ideas.  I thought this problem might be fixed now as we just finally updgraded from 1.1.x to 1.2.x  



Here is the mono error:

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"

        <Location />
            AddHandler mono .aspx .ashx .asmx .ascx .asax .config .ascx
            MonoSetServerAlias mydomain.net

        <Location /svn> # Change /svn to any path you desire 
            DAV svn
            SVNParentPath /home/advanced/cworks/svn/

            AuthType Basic
            AuthName "Subversion repository"

            AuthUserFile /home/advanced/cworks/etc/mydomain.net

            # All access must be with a user account
            Require valid-user

        Alias /Licensing "/home/advanced/cworks/public_html/mydomain.net/Licensing"
        MonoApplications "/Licensing:/home/advanced/cworks/public_html/mydomain.net/Licensing"
        <Location /Licensing>
            SetHandler mono


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070101/6a42edbe/attachment.html 

More information about the Mono-list mailing list