[Mono-aspnet-list] Need help running existing app under mono

ddevil acpji at sapo.pt
Mon Apr 20 09:24:51 EDT 2009


For me in a Ubuntu mono installation, codeBehind only work if i put the dll
in a bin directory above document apache root.


For instance: I have test1.aspx and whatever.cs in a directory
/var/www/aspNet/test. If i put the result of compilation whatever.dll in
/var/www/aspNet/test, it doesn't work, if a put in /var/www/bin it's work
fine.


My mono version:
Mono JIT compiler version 2.0.1 (tarball)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none







jan van der watt wrote:
> 
> Hi,
> 
> Perhaps my 2 cents will help ... I see that Stan refers to a 'Bin'
> directory
> (which is fine on Windows), but it appears that it must be 'bin' on Linux
> systems, i.e. ALL LOWER CASE.
> Cheers
> 
> Jan
> 
> On Fri, Apr 17, 2009 at 12:37 AM, ddevil <acpji at sapo.pt> wrote:
> 
>>
>>
>>
>> Stan81 wrote:
>> >
>> > Hi,
>> >
>> > I'm having problems running existing asp.net app under mono 2.2 and
>> xsp2
>> > server. The application is web site project and works with IIS. The
>> > problem
>> > with mono seems to be that my custom assemllies are not found hence the
>> > 'Cannot find type'. But I don't understand why as the assemblies are
>> > present
>> > in the Bin folder. Should I do something to help mono find them ?
>> >
>> > Thanks
>> >
>> >
>>
>>
>> Hi
>>
>> I have the same problem with mod_mono. It work ok with xsp2 but not with
>> mod_mono. So i place de dll in de bin directory just below DocumentRoot
>> apache directory. In my case, my apache DocumentRoot is /var/www, so i
>> create the directory /var/www/bin and put all my "custom" assemblies in
>> that
>> directory and voilá, works ok. If this is a mod_modo bug  ou not i canot
>> say
>> ...
>> --
>> View this message in context:
>> http://www.nabble.com/Need-help-running-existing-app-under-mono-tp22523175p23079266.html
>> Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Mono-aspnet-list mailing list
>> Mono-aspnet-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>>
> 
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Need-help-running-existing-app-under-mono-tp22523175p23136585.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list