[Mono-aspnet-list] 'ConnectionStringsSection' is not declared. It may be inaccessible due to its protection level.

2016-04-14 Thread Danny Hogan
Good evening,

I'm trying to troubleshoot an installation of mono asp.net 4 on apach2 on a
rasberry pi.  I have a fully functioning ASP.Net web site that when I put
it on the rasberry pi mono gives me the error shown below.  Nothing in the
site's design was changed when it was moved to the pi so it should just
work.  The rasberry pi will run hello world and other simple ASPX pages I
feed it, it also runs HTML pages just fine so the installation seems to be
working.  Is there a special setting with mono I need to configure to use
certain features?  In my code below I un-comment Imports
System.Configuration (on the pi just to see if my mono needs broader
inclusion but then I get another error with hardly any details at all which
is even more confusing.  Is it odd that a perfectly working aspx site on
windows suddenly won't run on mono?  The site is built for asp.net 4.0.

Application Exception
System.Web.Compilation.CompilationExceptionerror VBNC30451:
'ConnectionStringsSection' is not declared. It may be inaccessible due to
its protection level.

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

*Details:* error VBNC30451: 'ConnectionStringsSection' is not declared. It
may be inaccessible due to its protection level.

*Error origin: *Compiler

*Error source file: *
/tmp/www-data-temp-aspnet-0/b64ce37f/App_Web_3d2f48ae_0.vb
*Exception stack trace:*
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath,
System.CodeDom.Compiler.CompilerParameters options) [0x0] in :0 at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.CodeDom.Compiler.CompilerParameters options) [0x0] in :0 at System.Web.Compilation.AppCodeAssembly.Build (System.String[]
binAssemblies) [0x0] in :0 at
System.Web.Compilation.AppCodeCompiler.Compile () [0x0] in :0 at System.Web.HttpApplicationFactory.InitType
(System.Web.HttpContext context) [0x0] in :0
*Error source context:*

*Error lines:* 21, 24
19: 20: ' Get the connectionStrings section. 21: Dim
connectionStringsSection As ConnectionStringsSection =
WebConfigurationManager.GetSection("connectionStrings") 22: 23: ' Get the
connectionStrings key,value pairs collection.
Full error source code: (click to hide):
1: #ExternalSource("/var/www/AA/App_Code/DB.vb",1) 2: Imports
Microsoft.VisualBasic 3: Imports MySql.Data.MySqlClient 4: Imports
System.Data 5: Imports System.Web.Configuration 6: Imports System.Web 7:
'Imports System.Configuration 8: 9: 10: 11: 12: 13: Public Class DB 14: Dim
strConnStr As String 15: Dim objConn As New MySqlConnection 16: Sub New()
17: strConnStr = "Server=[withheld]; Port=3306; Database=[withheld]; Uid=
[withheld]; Pwd=[withheld];" 18: 19: 20: ' Get the connectionStrings
section. 21: Dim connectionStringsSection As ConnectionStringsSection =
WebConfigurationManager.GetSection("connectionStrings") 22: 23: ' Get the
connectionStrings key,value pairs collection. 24: Dim connectionStrings As
ConnectionStringSettingsCollection =
connectionStringsSection.ConnectionStrings 25: 26: strConnStr =
connectionStrings(1).connectionString.toString() 27: 28: 29: 30: 31: 32:
33: End Sub
___
Mono-aspnet-list mailing list
Mono-aspnet-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


[Mono-list] Configuration.SectionGroups type cast problem

2015-08-24 Thread Danny Gorton
Hello all.  I searched the list archives (using google) and couldn't find
anything related to this issue.

My environment is:

Linux raspberrypi 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l
GNU/Linux and Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4+rpi1).
I develop on Windows with VS.NET and automate builds on Linux/Mono and test
on Windows and Raspbian (ARM) and Ubuntu.  Most of the time it *just
works*, but every once in a while I run into some weird differences between
.NET and Mono.

My product is a daemon with ServiceStack 3.9.x embedded to provide web
services.  I have features for altering server configuration options
through a web UI.  When that web service is called it looks for specific
ConfigurationSection instances (some custom, some standard) by iterating
the configuration hierarchy, through the SectionGroups
(ConfigurationSectionGroupCollection) on downward until it finds a match.
Here is one example:

foreach (Config.ConfigurationSectionGroup group in
_config.SectionGroups)
{
..
}

In this code _config is a System.Configuration.Configuration instance and
this code works on .NET (Windows 7), but breaks on Mono on the foreach line
with:

System.InvalidCastException: Cannot cast from source type to destination
type.

For some reason the contents of SectionGroups don't seem to be
ConfigurationSectionGroup objects. So I put in some debug logging like this:

if (_log.IsDebugEnabled)
{
StringBuilder sb = new StringBuilder();
sb.AppendLine(string.Format(Configuration has [{0}]
section groups:, _config.SectionGroups.Count));
foreach(object o in _config.SectionGroups)
{
sb.AppendLine(string.Format(\tSectionGroup of type:
[{0}] is [{1}], o.GetType().FullName, o));
}
_log.Debug(sb.ToString());
}

The output on .NET shows the right types (don't have an example handy right
now).  The output on Mono looks like:

2015-08-23 21:59:14,945 [Threadpool worker] DEBUG raspberrypi
ConfigurationHandler.getSection (line 0) - Configuration has [5] section
groups:
SectionGroup of type: [System.String] is [system.web]
SectionGroup of type: [System.String] is [system.net]
SectionGroup of type: [System.String] is [system.serviceModel]
SectionGroup of type: [System.String] is [system.transactions]
SectionGroup of type: [System.String] is [apac]

As you can see, the types are string and the values are the names of the
section groups in question.  I've looked at the code history for
ConfiguratoinSectionGroupCollection and Configuration.SectionGroups and I
don't see where either was ever written to store just simple strings,
though I may be missing something.

My configSections element is:
  configSections
sectionGroup name=apac
type=System.Configuration.ConfigurationSectionGroup, System.Configuration,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
  section name=default
type=Apac.Configuration.XmlSerializingConfigSection, apac.core/
  section name=pluginPaths
type=Apac.Configuration.NameMultipleValueSectionHandler, apac.core/
/sectionGroup
  !-- APAC Messaging Configuration--
section
 name=apac.messaging
 type=Apac.Configuration.MessageControllerConfigSection, apac.core
 restartOnExternalChanges=true /

  !-- APAC Licensing Configuration--
  section name=apac.licensing

 type=Apac.Licensing.Configuration.LicensingConfigurationSection,
apac.licensing
   restartOnExternalChanges=true/
  /configSections

Anyone have any idea why this would be happening?

Regards,
Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Using mod-mono from source

2013-07-03 Thread Danny

No idea.

On 07/03/2013 05:30 PM, Martin Thwaites wrote:

Is this message not getting through? is it just that no one knows the
answer, can someone just send a simple No idea so I know this is
getting through.  It's the first time I've used the list.


On Mon, Jul 1, 2013 at 9:49 PM, Martin Thwaites
monofo...@my2cents.co.uk mailto:monofo...@my2cents.co.uk wrote:

I'm trying to get mono working from source so i can try and get some
.net 4.5 website stuff working.  I'm using Ubuntu Server 13.04, and
I followed this:

http://stackoverflow.com/questions/13365158/installing-mono-3-0

Apart from the libgdiplus, I can get everything to compile, however,
when I've installed mod_mono, I keep getting the following in the log...

[Mon Jul 01 21:20:57 2013] [error] Failed to connect to
mod-mono-server after several attempts to spawn the process.

I enable debug on the compile and got this in the logs..

[Mon Jul 01 21:20:55 2013] [warn] getting unix socket path
[Mon Jul 01 21:20:55 2013] [warn] Socket file name
/tmp/mod_mono_server_GalleryLive
[Mon Jul 01 21:20:55 2013] [warn] try_connect: -1
[Mon Jul 01 21:20:55 2013] [warn] After setup_socket
[Mon Jul 01 21:20:55 2013] [warn] No backend found, will start a new
copy.
[Mon Jul 01 21:20:55 2013] [warn] Acquiring the
/tmp/mod_mono_dashboard_GalleryLive_2.lock lock for backend start
[Mon Jul 01 21:20:55 2013] [warn] config-servers [0]-dashboard == 0x0
[Mon Jul 01 21:20:55 2013] [warn] config-servers [1]-dashboard ==
0x7F2F61407000
[Mon Jul 01 21:20:55 2013] [warn] xsp address 0x7f2f6599c6c8,
dashboard 0x7f2f61407000
[Mon Jul 01 21:20:55 2013] [warn] getting unix socket path
[Mon Jul 01 21:20:55 2013] [warn] Socket file name
/tmp/mod_mono_server_GalleryLive
[Mon Jul 01 21:20:55 2013] [warn] try_connect: -1
[Mon Jul 01 21:20:55 2013] [warn] backend cannot be connected to.
[Mon Jul 01 21:20:55 2013] [warn] Starting backend for alias GalleryLive
[Mon Jul 01 21:20:55 2013] [warn] Applications: /:/var/www/gallery/
[Mon Jul 01 21:20:55 2013] [warn] Config file: (null)
[Mon Jul 01 21:20:55 2013] [warn] Config dir.: (null)
[Mon Jul 01 21:20:55 2013] [warn] Listen port: (null)
[Mon Jul 01 21:20:55 2013] [warn] Listen address: (null)
[Mon Jul 01 21:20:55 2013] [warn] Started new backend, sleeping 2s
to let it configure
[Mon Jul 01 21:20:55 2013] [warn] child started
[Mon Jul 01 21:20:55 2013] [warn] PATH: /usr/local/bin:/usr/bin:/bin
[Mon Jul 01 21:20:55 2013] [warn] serverdir: /usr/bin
[Mon Jul 01 21:20:55 2013] [warn] PATH after:
/usr/bin:/usr/local/bin:/usr/bin:/bin
[Mon Jul 01 21:20:55 2013] [warn] getting unix socket path
[Mon Jul 01 21:20:55 2013] [warn] Backend socket path:
/tmp/mod_mono_server_GalleryLive
Warning: unparsed command line arguments:
/tmp/mod_mono_server_GalleryLive /:/var/www/gallery/


It seems there there is no /tmp/mod_mono_server_GalleryLive socket
for it to connect to, so the error makes sense, but I can't see why
this is the case.

I can run mod-mono-server4 from the desired directory, and it seems
to run fine.

I've run sites using mod-mono from the repos before, but this is the
first time I've compiled from source.

vhost config is (this is also copied some a server using the repos
and is working):

VirtualHost *:80
 ServerAdmin webmaster@localhost
 ServerName gallery.internal.com http://gallery.internal.com

 DocumentRoot /var/www/gallery/
 MonoServerPath GalleryLive /usr/bin/mod-mono-server4

 MonoApplications GalleryLive /:/var/www/gallery/
 Location /
 Allow from all
 Order allow,deny
 MonoSetServerAlias GalleryLive
 SetHandler mono
 /Location

 ErrorLog /var/log/apache2/error.log

 # Possible values include: debug, info, notice, warn,
error, crit,
 # alert, emerg.
 LogLevel debug

 CustomLog /var/log/apache2/access.log combined

/VirtualHost

I'm thinking that this could be a permissions error somewhere, but
I've run out of places to look.

Any ideas?




___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] string equals method

2013-05-21 Thread Danny
The mono question is easy to answer by looking at their sources.  The 
.NET question is easy to answer by using Reflector/ILSpy/or similar.  I 
won't answer the .NET question here b/c I don't want to cause any IP 
issues with posting .NET internal information on a mono site.


On 05/21/2013 06:25 PM, Edward Ned Harvey (mono) wrote:

Msdn says string.Equals() overrides the string == operator.

Msdn also says it's an ordinal comparison, blah blah.

The thing I'd like to know:  Ordinal string comparison tends to be an
expensive thing to do.  This can be skipped under certain circumstances,
such as, if ReferenceEquals returns true, or if the two string length's
are different.

Can anybody authoritatively say, under the hood, that .Net or mono
actually do this sort of acceleration in the string.Equals() method?

public static bool operator ==( string a, string b)

{

 if ( Object.ReferenceEquals(a,b) )

 return true;

 else

 {

 if ( a.Length != b.Length )

 return false;

 else

 {

 for ( int i=0;
ia.Length ; i++ )

 if (
a[i] != b[i] )


 return false;

 return true;

 }

 }

}



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Help debugging program failing randomly

2013-04-09 Thread Danny

(Sent this earlier, but it didn't post to the list)
Thanks to Ian and Alan for the replies.  I have done some further 
elimination (by removing runtime components) and I don't think it is the 
new board interface causing this.  I think it is another component, that 
isn't quite as new, but I had forgotten is new in this context (ubuntu 
server).  This component periodically uses a graphing library (ZedGraph) 
to generate line graphs from the data collected from the input boards. 
I have included the entire capture of the stack trace that mono sends to 
stdout.  Note that this is a capture of the console, not a log file or 
core dump (which I'd like to know how to get from monoservice2), so it 
includes system status messages from my code as well - I left them in 
for context, whether it matters or not.


http://pastebin.com/kQFF4TUB

I currently have a test running that eliminates this graphing component, 
but includes the new board component, and it seems promising so far. 
I'll feel better after it runs for a week though, since I've had it run 
for almost 5 days before it crashed.


At any rate, if it is this new component and the graphing library
causing this issue, I need figure out how to fix it.  Also, I have used 
ZedGraph for a very long time to generate images like this, but the 
frequency used to be limited to once per day.  Now it can be once per 
minute.  The once/day generation is done in yet another component, so it 
could be the two 'walking' on each other if the underlying code isn't
thread-safe.  I would expect some kind of time correlation if that was 
the case, and I just don't see that.  I have some ideas on how to
serialize all of these operations to a single thread, but I'd need to be 
fairly sure of the problem before I went to the effort to implement that.


If I could get a good bead on what I'm doing that causes this error I
can work around it.

Thanks again for the help,
Danny

On 04/08/2013 06:21 AM, Alan wrote:

I'm not sure if fontconfig is threadsafe and the finalizer thread is
directly unreffing some fontconfig objects. This could easily be causing
the corruption you're seeing if that's the case. Can you paste the full
stacktrace of your crash (including all threads!) in a pastebin, or
attach it to your email in some way?

Alan


On 8 April 2013 08:42, Ian Norton
ian.norton-bad...@thales-esecurity.com
mailto:ian.norton-bad...@thales-esecurity.com wrote:

I'd be sure to check your struct packing and call conventions
properly. And
perhaps be sure that you aren't passing in any ref System.String
instead of
StringBuilders

Ian

On Mon, Apr 08, 2013 at 04:21:32AM +0100, Danny wrote:
  Hello,
 
  I'm having a difficult time with an application I have written.  I
  recently made some changes and I'm having a problem with it
failing at
  seemingly random times and locations (within the code), with sigsegv
  errors.  This is a multithreaded plugin-style daemon/service (can be
  launched from CLI) and I recently added a new component to it to
poll a
  data acquisition board via USB using FTDI.
 
  Almost all of our integrations like this use a shared library (or
DLL on
  Windows) and p/invoke to access hardware.  I have done dozens of
these
  integrations over USB without a persistent issue like this.  But
still
  at first I suspected this new component, as I had initially
thought it
  was trashing RAM because of the problems I had developing the
shared library
 
  However, at the same time as I made this addition, I was also
(somewhat)
  forced to upgrade our base OS to the latest LTS Ubuntu 12.04 (was on
  10.04).  So unfortunately, I have more than one variable changing
at a
  time.  So I confirmed, with a configuration that eliminates the newly
  developed component, that this problem occurs without that running.
 
  That's good and bad, since now it seems likely that the offending
code
  is out of my control.  I am hoping to get some information on the
  error(s) I was able to capture, or some advice on how to debug
the root
  cause of this problem.
 
  I have a couple of stack traces captured and I'll include what I
believe
  is the crucial part of one here.  It's worth noting that not all
of the
  stack traces are the same.  It's also worth noting that I have seen
  libgdiplus.so in other traces that I didn't get captured.
 
  I tried setting up a 10.04 machine to test with, but one of our newer
  dependencies (ServiceStack) introduced a class that is not in the
  default mono on that platform, giving a startup error trying to
resolve
  the IgnoreDataMemberAttribute class.  So I then got the latest
mono set
  up on that machine now, but fear that this will result in the
same error
  I am reporting (ie: I believe this to be a mono problem

Re: [Mono-list] Help debugging program failing randomly

2013-04-08 Thread Danny
Thanks to Ian and Alan for the replies.  I have done some further 
elimination (by removing runtime components) and I don't think it is the 
new board interface causing this.  I think it is another component, that 
isn't quite as new, but I had forgotten is new in this context (ubuntu 
server).  This component periodically uses a graphing library (ZedGraph) 
to generate line graphs from the data collected from the input boards. 
I have included the entire capture of the stack trace that mono sends to 
stdout.  Note that this is a capture of the console, not a log file, so 
it includes system status messages from my code as well - I left them in 
for context, whether it matters or not.


http://pastebin.com/kQFF4TUB

I currently have a test running that eliminates this graphing component, 
but includes the new board component, and it seems promising so far. 
I'll feel better after it runs for a week though, since I've had it run 
for almost 5 days before it crashed.


At any rate, if it is this new component and the graphing library 
causing this issue, I need figure out how to fix it.  Also, I have used 
ZedGraph for a very long time to generate images like this, but the 
frequency used to be limited to once per day.  Now it can be once per 
minute.  The once/day generation is done in yet another component, so it 
could be the two 'walking' on each other if the underlying code isn't 
thread-safe.  I would expect some kind of time correlation if that was 
the case, and I just don't see that.  I have some ideas on how to 
serialize all of these operations to a single thread, but I'd need to be 
fairly sure of the problem before I went to the effort to implement that.


If I could get a good bead on what I'm doing that causes this error I 
can work around it.


Thanks again for the help,
Danny


On 04/08/2013 06:21 AM, Alan wrote:

I'm not sure if fontconfig is threadsafe and the finalizer thread is
directly unreffing some fontconfig objects. This could easily be causing
the corruption you're seeing if that's the case. Can you paste the full
stacktrace of your crash (including all threads!) in a pastebin, or
attach it to your email in some way?

Alan


On 8 April 2013 08:42, Ian Norton
ian.norton-bad...@thales-esecurity.com
mailto:ian.norton-bad...@thales-esecurity.com wrote:

I'd be sure to check your struct packing and call conventions
properly. And
perhaps be sure that you aren't passing in any ref System.String
instead of
StringBuilders

Ian

On Mon, Apr 08, 2013 at 04:21:32AM +0100, Danny wrote:
  Hello,
 
  I'm having a difficult time with an application I have written.  I
  recently made some changes and I'm having a problem with it
failing at
  seemingly random times and locations (within the code), with sigsegv
  errors.  This is a multithreaded plugin-style daemon/service (can be
  launched from CLI) and I recently added a new component to it to
poll a
  data acquisition board via USB using FTDI.
 
  Almost all of our integrations like this use a shared library (or
DLL on
  Windows) and p/invoke to access hardware.  I have done dozens of
these
  integrations over USB without a persistent issue like this.  But
still
  at first I suspected this new component, as I had initially
thought it
  was trashing RAM because of the problems I had developing the
shared library
 
  However, at the same time as I made this addition, I was also
(somewhat)
  forced to upgrade our base OS to the latest LTS Ubuntu 12.04 (was on
  10.04).  So unfortunately, I have more than one variable changing
at a
  time.  So I confirmed, with a configuration that eliminates the newly
  developed component, that this problem occurs without that running.
 
  That's good and bad, since now it seems likely that the offending
code
  is out of my control.  I am hoping to get some information on the
  error(s) I was able to capture, or some advice on how to debug
the root
  cause of this problem.
 
  I have a couple of stack traces captured and I'll include what I
believe
  is the crucial part of one here.  It's worth noting that not all
of the
  stack traces are the same.  It's also worth noting that I have seen
  libgdiplus.so in other traces that I didn't get captured.
 
  I tried setting up a 10.04 machine to test with, but one of our newer
  dependencies (ServiceStack) introduced a class that is not in the
  default mono on that platform, giving a startup error trying to
resolve
  the IgnoreDataMemberAttribute class.  So I then got the latest
mono set
  up on that machine now, but fear that this will result in the
same error
  I am reporting (ie: I believe this to be a mono problem), since it
  should be the same mono framework running there.
 
  Any help is greatly appreciated

[Mono-list] Help debugging program failing randomly

2013-04-07 Thread Danny

Hello,

I'm having a difficult time with an application I have written.  I 
recently made some changes and I'm having a problem with it failing at 
seemingly random times and locations (within the code), with sigsegv 
errors.  This is a multithreaded plugin-style daemon/service (can be 
launched from CLI) and I recently added a new component to it to poll a 
data acquisition board via USB using FTDI.


Almost all of our integrations like this use a shared library (or DLL on 
Windows) and p/invoke to access hardware.  I have done dozens of these 
integrations over USB without a persistent issue like this.  But still 
at first I suspected this new component, as I had initially thought it 
was trashing RAM because of the problems I had developing the shared library


However, at the same time as I made this addition, I was also (somewhat) 
forced to upgrade our base OS to the latest LTS Ubuntu 12.04 (was on 
10.04).  So unfortunately, I have more than one variable changing at a 
time.  So I confirmed, with a configuration that eliminates the newly 
developed component, that this problem occurs without that running.


That's good and bad, since now it seems likely that the offending code 
is out of my control.  I am hoping to get some information on the 
error(s) I was able to capture, or some advice on how to debug the root 
cause of this problem.


I have a couple of stack traces captured and I'll include what I believe 
is the crucial part of one here.  It's worth noting that not all of the 
stack traces are the same.  It's also worth noting that I have seen 
libgdiplus.so in other traces that I didn't get captured.


I tried setting up a 10.04 machine to test with, but one of our newer 
dependencies (ServiceStack) introduced a class that is not in the 
default mono on that platform, giving a startup error trying to resolve 
the IgnoreDataMemberAttribute class.  So I then got the latest mono set 
up on that machine now, but fear that this will result in the same error 
I am reporting (ie: I believe this to be a mono problem), since it 
should be the same mono framework running there.


Any help is greatly appreciated.



snip - a bunch of standard output msgs from the service /

Stacktrace:

  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipDeleteFont 
(intptr) 0x

  at System.Drawing.Font.Dispose () 0x0002b
  at (wrapper remoting-invoke-with-check) System.Drawing.Font.Dispose 
() 0x

  at System.Drawing.Font.Finalize () 0x00013
  at (wrapper runtime-invoke) 
object.runtime_invoke_virtual_void__this__ (object,intptr,intptr,intpt$


Native stacktrace:

mono() [0x80e16fc]
mono() [0x81209fc]
mono() [0x806094d]
[0xb770240c]

/usr/lib/i386-linux-gnu/libfontconfig.so.1(FcCharSetDestroy+0x15) 
[0xb4b1b9b5]

/usr/lib/i386-linux-gnu/libfontconfig.so.1(+0x17b43) [0xb4b29b43]

/usr/lib/i386-linux-gnu/libfontconfig.so.1(FcPatternDestroy+0x82) 
[0xb4b29e12]

/usr/lib/libgdiplus.so.0(GdipDeleteFontFamily+0x132) [0xb5004642]
/usr/lib/libgdiplus.so.0(GdipDeleteFont+0x2c) [0xb500510c]
[0xaf711940]
[0xaf7118cc]
[0xaf711870]
[0xaf7117ec]
[0xb5cddf41]
mono() [0x8150107]

snip - 42 thread stack details

=
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=




Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Regarding Fedex Rate Webservice Method Call

2013-01-04 Thread Danny

Do you get any response at all?  If so, what is in it?

On 01/04/2013 09:31 AM, Anil Chauhan wrote:

Hi,

I'm working on monodevelop(2.10) to develop a web application on
Linux(Ubuntu) in which i'm trying to call a Fedex Rate Webservice(a wsdl
file to get Fedex rate for shipping ) method but i did got any
value instead it should be return rate of shipping for something.Can
anyone tell,  whether Fedex web service works on monodevelop..? .If you
need source code i can send you.

Please help me !!!



Thanks
Anil Chauhan


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Cross-platform user settings files

2012-12-28 Thread Danny
The built-in app.config features work fine cross-platform.  Even custom 
configuration sections and all of that.  Our system uses them 
extensively for system composition (ie: defining which components should 
be started at runtime) on both .NET and Mono.  But that type of setting 
setup is per-application; it doesn't make an ideal per-user 
configuration system unless you create your own construct within it. 
Totally feasible, but probably not what the OP was getting at.


On 12/28/2012 08:11 PM, Daniel Lo Nigro wrote:

What's wrong with the built-in Application Settings features in the .NET
Framework? I've never tested this with Mono, but it's been there since
.NET Framework 2.0 so I assume it would work fine. The .NET Framework
handles loading and saving the settings into an XML file, and gives
strongly-typed access to all the properties.

See http://msdn.microsoft.com/en-us/library/k4s6c3a0(v=vs.100).aspx


On Sat, Dec 29, 2012 at 2:49 AM, Hristo Pavlov hristo_dpav...@yahoo.com
mailto:hristo_dpav...@yahoo.com wrote:

Hello,
What is the recommended way to save user settings files from Mono
across different platforms?
For example I have an XML file with settings that I want to store
somewhere. I thought the IsolatedFileStorage would be a good place
but I have permission problems (read and write) on both Mac OSX and
Linux.
Would the solution require setting file access permissions during
deployment or is there a place a user can always save a file?
Where is the best location on Linux/Mac OSX to store such setting files?
Regards,
Hristo Pavlov

___
Mono-list maillist  - Mono-list@lists.ximian.com
mailto:Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list




___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem with MySQL connection using ProviderFactory

2011-07-22 Thread Danny
You can add this to your app.config file using the add/ element and it 
will get appended to the system's default set.  An example from my 
system that uses Firebird...

   system.data
 DbProviderFactories
   add name=FirebirdClient Data Provider
invariant=FirebirdSql.Data.FirebirdClient
description=.Net Framework Data Provider for Firebird
type=FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, 
FirebirdSql.Data.FirebirdClient, Version=2.5.1.0, Culture=neutral, 
PublicKeyToken=3750abcc3150b00c /
 /DbProviderFactories
   /system.data

Regards,
Danny

On 07/22/2011 12:16 PM, Vinod wrote:
 I am sorry if this sounds noobish (I am a noob as far as mono goes
 btw!), but where do I find system.dataDbDbProviderFactories...In
 windows it's machine.config. where is it located in Linux (Open SUSE
 11.3 to be specific).

 Thanks for your replies.

 -Vinod

 On Fri, Jul 22, 2011 at 4:50 PM, Robert Jordan [via Mono] [hidden
 email] /user/SendEmail.jtp?type=nodenode=3687122i=0 wrote:

 On 22.07.2011 12:45, Vinod wrote:
   well I did notice the casing. I corrected it in the code too. I
 get the error
   message now in small letters -___-

 Maybe I was too sloppy in my post. The assembly file name
 *must* be MySql.Data.dll.

 How does your system.dataDbDbProviderFactories looks like?
 Check the casing of the provider name, assembly name etc.

 Robert

 ___
 Mono-list maillist  - [hidden email]
 http://user/SendEmail.jtp?type=nodenode=3686475i=0
 http://lists.ximian.com/mailman/listinfo/mono-list


 
 If you reply to this email, your message will be added to the
 discussion below:
 
 http://mono.1490590.n4.nabble.com/Problem-with-MySQL-connection-using-ProviderFactory-tp3686395p3686475.html

 To unsubscribe from Problem with MySQL connection using
 ProviderFactory, click here.



 
 View this message in context: Re: Problem with MySQL connection using
 ProviderFactory
 http://mono.1490590.n4.nabble.com/Problem-with-MySQL-connection-using-ProviderFactory-tp3686395p3687122.html
 Sent from the Mono - General mailing list archive
 http://mono.1490590.n4.nabble.com/Mono-General-f1490591.html at
 Nabble.com.



 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem with MySQL connection using ProviderFactory

2011-07-22 Thread Danny
You can add this to your app.config file using the add/ element and it 
will get appended to the system's default set.  An example from my 
system that uses Firebird...

   system.data
 DbProviderFactories
   add name=FirebirdClient Data Provider
invariant=FirebirdSql.Data.FirebirdClient
description=.Net Framework Data Provider for Firebird
type=FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, 
FirebirdSql.Data.FirebirdClient, Version=2.5.1.0, Culture=neutral, 
PublicKeyToken=3750abcc3150b00c /
 /DbProviderFactories
   /system.data

The system.data element is a child of configuration.

Regards,
Danny

On 07/22/2011 12:16 PM, Vinod wrote:
 I am sorry if this sounds noobish (I am a noob as far as mono goes
 btw!), but where do I find system.dataDbDbProviderFactories...In
 windows it's machine.config. where is it located in Linux (Open SUSE
 11.3 to be specific).

 Thanks for your replies.

 -Vinod

 On Fri, Jul 22, 2011 at 4:50 PM, Robert Jordan [via Mono] [hidden
 email] /user/SendEmail.jtp?type=nodenode=3687122i=0 wrote:

 On 22.07.2011 12:45, Vinod wrote:
   well I did notice the casing. I corrected it in the code too. I
 get the error
   message now in small letters -___-

 Maybe I was too sloppy in my post. The assembly file name
 *must* be MySql.Data.dll.

 How does your system.dataDbDbProviderFactories looks like?
 Check the casing of the provider name, assembly name etc.

 Robert

 ___
 Mono-list maillist  - [hidden email]
 http://user/SendEmail.jtp?type=nodenode=3686475i=0
 http://lists.ximian.com/mailman/listinfo/mono-list


 
 If you reply to this email, your message will be added to the
 discussion below:
 
 http://mono.1490590.n4.nabble.com/Problem-with-MySQL-connection-using-ProviderFactory-tp3686395p3686475.html

 To unsubscribe from Problem with MySQL connection using
 ProviderFactory, click here.



 
 View this message in context: Re: Problem with MySQL connection using
 ProviderFactory
 http://mono.1490590.n4.nabble.com/Problem-with-MySQL-connection-using-ProviderFactory-tp3686395p3687122.html
 Sent from the Mono - General mailing list archive
 http://mono.1490590.n4.nabble.com/Mono-General-f1490591.html at
 Nabble.com.



 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] C# app with makefile n executable

2011-05-14 Thread Danny
I'm not sure about the makefile, since I never build C# code with make - 
it probably calls in to msc or similar though.

But the 'executable' file is just a bash script that will run the 
compiled EXE using mono on Linux.  It doesn't need an extension, and you 
might name it like your program, without the extension.  Just make sure 
the executable bit is set on that script.



On 05/14/2011 12:34 PM, Mujahid Azam wrote:
 Hi,

 I have been asked to run my C# app on Mono 2.4. They hav requested to
 attach the *makefile *and an *executable *file which contains the
 following code.


 #!/bin/bash
 mono MyProgram.exe $@

 What is the use of the makefile and the executable file?

 What should be the extensions of the Makefile and the executable file.
 plz share sample files if available. Its a little urgent


 --
 *Thanks  Regards
 Mujahid*



 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Difficulty with DllImport in mono - config.AG_Config file is not in load-path.

2011-03-19 Thread Danny
Without seeing your wrapper code, I'd guess that your DllImport 
statements include the file extension (.dll).  To make the lookup work 
properly on Linux/Mono you either need to exclude the file extension 
(ie: just use 'ag_gui' - both .NET and Mono will resolve this correctly 
if the file is in a proper search path) so the native naming schemes can 
be used on the respective platforms, or use a DllMap in your config file 
to tell mono how to map ag_gui.dll (and others).

On 03/19/2011 11:55 AM, jims wrote:
 Background, I am working on a C# wrapper for Agar ( http://libagar.org/ ) in
 Visual Studio express 2010. I have knocked the .NET framework target down to
 2.0 to improve platform compatibility, for users of older software.

 When I try to run the first demo, I get this error:
 [sjss@elrond ~/Desktop/Agar.NET_Demo]$ mono ./AgarDemo_Windows.exe
 [DllNotFoundException:ag_gui.dll]The //config.AG_Config file is not in
 load-path.

 verification it exists:
 [sjss@elrond ~/Desktop/Agar.NET_Demo]$ ls -l /usr/local/lib | grep -e
 'libag_.*.so'
 lrwxr-xr-x   1 root  wheel17 Mar 18 15:39 libag_core.so -
 libag_core.so.1.4
 -rw-r--r--   1 root  wheel299513 Mar 18 14:54 libag_core.so.1.4
 lrwxr-xr-x   1 root  wheel16 Mar 18 15:39 libag_dev.so -
 libag_dev.so.1.4
 -rw-r--r--   1 root  wheel 70586 Mar 18 14:54 libag_dev.so.1.4
 lrwxr-xr-x   1 root  wheel16 Mar 18 15:39 libag_gui.so -
 libag_gui.so.1.4
 -rw-r--r--   1 root  wheel   1246374 Mar 18 14:54 libag_gui.so.1.4
 lrwxr-xr-x   1 root  wheel17 Mar 18 15:39 libag_math.so -
 libag_math.so.1.4
 -rw-r--r--   1 root  wheel328560 Mar 18 14:54 libag_math.so.1.4
 lrwxr-xr-x   1 root  wheel15 Mar 18 15:39 libag_rg.so -
 libag_rg.so.1.4
 -rw-r--r--   1 root  wheel255964 Mar 18 14:54 libag_rg.so.1.4
 lrwxr-xr-x   1 root  wheel15 Mar 18 15:39 libag_vg.so -
 libag_vg.so.1.4
 -rw-r--r--   1 root  wheel205641 Mar 18 14:54 libag_vg.so.1.4


 I have installed Agar, FreeType and SDL on my machine, all the libs are in
 /usr/local/lib, are in my libpath, and the directory has been ldconfig'ed
 for good measure after the first time I saw the error.

 Since Visual Studio 2010 wants to add the '.dll' to the first argument of
 the DllImport call, I have added the following to the  section of the config
 config of all of my .NET dlls/exes:




 ag_core.so is loading properly, the error message is produced by:
System.Console.WriteLine([+e.GetType().Name+:+e.Message+] +
 Agar.GetError()+\n);

 The Agar.GetError() part is what I find interesting - that requires that
 ag_core be called. I *believe* the //config.AG_Config file is not in
 load-path. portion of the error is being set by an earlier portion of the
 code in a manner that doesn't cause an exception or problem, as a warning.
 Regardless, it shouldn't make ag_gui unlocatable.


 Any ideas what I should look into next?
 Thanks,
 -Jim Stapleton

 --
 View this message in context: 
 http://mono.1490590.n4.nabble.com/Difficulty-with-DllImport-in-mono-config-AG-Config-file-is-not-in-load-path-tp3389891p3389891.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Creating a Daemon un Linux

2011-03-17 Thread Danny
You want to look into implementing a standard 'Windows' service (using 
the service template is easiest, but since you didn't mention your dev 
environment I can't say how you'd go about it) where you subclass 
ServiceBase and then control it with mono-service or mono-service2 and 
an init.d script.

Last time I did this, a long time ago, I had to piece my solution 
together from information about each of these parts.  But it isn't 
terribly difficult, just kind of obscure at the moment so getting a full 
end-to-end explanation doesn't seem easy.

On 03/18/2011 12:06 AM, Leonel Florin Selles wrote:
 Hi:

 I want to create a Linux daemon using mono 2.6.7 on monodevelop with C#,
 I'm working with Debian squeezy.

 I'm came from C++ and for do this used ths fork() funtion, but here I do
 not know what to use, theres is someome that know, I have search in
 internet but i don't fine.


 help please.

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] C# First port of application to mono

2011-02-27 Thread Danny
Actually, that *is* right, with some important notes.  Firstly, if your 
p/invoke calls are decorated with the full DLL name (MediaInfoLib.dll) 
then on Linux you must use Mono's dllmap to get it to find your native 
code due to the different naming conventions for shared object libraries.

For native libs that I control the source for and I can decide the 
compiled file names, I always make the 'root' of the names the same and 
p/invoke with just the file name, no extension.  Eg: MyCode.dll becomes 
libMyCode.so on Linux and the p/invoke DllIMport attributes use 'MyCode' 
as the dllName.  This can apply for 3rd party native libs too if their 
libraries are thusly named.  After that, the .NET and mono search 
algorithms work just fine on their respective platforms, as long as the 
native libs are in standard place (/lib, /usr/lib, local dir, system32) 
- see the docs for specific info on those search algorithms.  If not, 
again dllmap is your friend.




On 02/27/2011 05:59 PM, toxicious wrote:
 Hi guys,

 I am completely new to mono, only used it one time before to run a program
 on Ubuntu. I am a windows .NET developer but my interest for porting my apps
 to Linux has grown. I therefore ran MoMa and discovered that there is mainly
 one thing that needs to be fixed.

 I am calling a dll in my app (MediaInfoLib), this came up as a P/Invoke. I
 know MediaInfoLib is available for Ubuntu etc. but how do I use it? I mean
 is it just to replace the MediaInfoLib.dll in my to code to the name of the
 dll-like (.so?) for linux? That doesn't seem right. I am developing in
 VS2010.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono and Dallas/Maxim 1-Wire

2011-01-06 Thread Danny Gorton
Hello list,

This may be slightly off-topic for the Mono list, but I'm making a
cross-platform product on Windows/Linux using .NET/Mono and have until now
had really good successes with making my components work seamlessly on the
two platforms using the appropriate native libraries and P/Invoke
(DllImport).  Now I'm trying to integrate 1-Wire sensors into the mix and
I'm having trouble finding the code module(s) I need.  It may be due to my
lack of a traditional C background, or whatever.

I just wanted to make a quick poll to see if anyone knows of a
cross-platform version, or at least a dynamic library, of the 1-Wire
interface:  http://www.maxim-ic.com/products/1-wire/software/.  I've looked
at all of these (except Java, which isn't an option) and they seem to be
really geared toward Windows - the .NET components P/Invoke Windows (or CE)
libraries for serial comms.  I don't have enough C-foo to make a dynamic
library out of the public domain component(s), but that is what I intend to
tackle if I can't find that it has already been done.

I *can* make distinct plug-ins for *nix and Windows if necessary, but would
rather not.  At any rate, I need to target Linux first, and at the moment
I'm stuck. So before I dig in to get really dirty I figured I'd ping this
list.  Also, I have noticed owfs (http://owfs.org/), which got me excited
until I realized that it put me in nearly the same boat - no dynamic library
that I can call from C#.

Any and all help is appreciated, even if it poses a way to solving the
problem I haven't mentioned or alluded to.

Thanks in advance,
Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Application port to .Net, including Mono

2010-11-02 Thread Danny
FWIW, I have used interop on both MS.NET and Mono on Ubuntu with no
problems.  I think you're more likely to run into interop problems due
to the native library signatures than any platform oddities.  Just leave
off the DLL extension in your DllImport declarations and build one
version of the native code for Windows, the other for *nix and deploy
accordingly.  I think there is some weirdness there WRT to MAC (Apple)
OS's file naming, but I've no direct experience there.

As for #2, I'd make an wrapper assembly that is solely responsible for
interoping your native library.  That leaves the web service code
responsible for ONLY web service necessities, and gives you the ability
to host your component in a non-web-service host, such as a Windows
service (daemon) without copying core code around - or having to
refactor later - and the only real worrisome part being managing object
serialization properly, which is no big deal really.

Use interfaces to define your messages and your client side component
becomes a proxy object to the remoted server, web service or otherwise.
With web services you get proxy generation for free based on the WSDL
and with standard remoting you just use the configuration infrastucture
to get your proxy object instance of your interface.  This is more
nuts-n-bolts than WCF, which I never bothered to really learn, but we
use this approach alot and it works well.  Though you have more
components to manage in the long run, it gives you almost complete
control over how you can deploy the service using a once-and-only-once
and separation-of-concerns paradigm.


On 11/02/2010 02:59 PM, SaulToc wrote:
 
 Hi Folks,
 
 I have been tasked with modernizing a complex, distributed application.
 Part of that modernization involves discarding a proprietary TCP/IP-based
 messaging protocol and, in its stead, using Web Services.
 
 As a proof of concept, I am considering taking a very small part of the
 application and writing a WS version thereof. For the sake of discussion I
 would describe the current implementation of this part as follows:
 
 a. UI on nodeA connects to an inetd-like process on nodeB, asking this
 process to start another process,   
 let's call it a filesystem browser.
 b. the inetd-like process launches the filesystem browser and hands off the
 connection to the UI
 c. the UI can now obtain and display the contents of nodeB's filesystem.
 Note that the UI uses a dll that implements the aforementioned proprietary
 messaging.
 
 Part of this POC is to not completely rewrite the application. The intent is
 to preserve, where possible, the existing application code and to replace
 only the plumbing. My current thinking is to realize this functionality via
 .Net as follows:
 
 1. Build the fileystem browser as a .dll (it is presently an .exe)
 2. Implement the inetd-like process as a Web Service wrapper around this
 dll (interop implicated here)
 3. Replace the client-side messaging dll with a .Net dll that offers the
 same entry points as the original dll.
 4. This .Net dll would function as a client to the Web Service.
 
 So the new implementation, at least its steady-state, would look something
 like this:
 
 i.  UI sends a proprietary message to nodeB by calling into the new client
 dll of step 3. 
 ii.  client dll sends this propriety message via MTOM to the Web Service
 wrapper at nodeB
 iii. Web Service at nodeB makes an interop call to the dll version of the
 .exe file of step 1, passing the proprietary message to the same code that
 has always processed this message.
 iv. data returned by the dll, perhaps including a reply message, is returned
 by the Web Service to the 
 client, thence to the UI
 
 That's about as far as I've gotten. Some questions:
 
 A. Does this seem a reasonable approach to this POC?
 B. Will the use of interop lend itself to Mono? I have read the FAQs and see
 that there seems to be pretty 
 robust support for interop.
 C. Will the use of WCF lend itself to Mono?
 
 I try to evangelize for .Net but am routinely and reflexively shot down
 because of a perceived lack of *nix support. This is my first foray into the
 Mono world and alot depends on it.
 
 At any rate, I would be most grateful if folks who have dealt with similar
 problems, or those who simply can shed some light on such a matter, would
 offer their opinions.
 
 Thank you.
 
 -Saul
 company?
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Desktop Silverlight applicaition for Linux

2010-08-12 Thread Danny
FYI, that same Wikipedia page lists a link to Multi-Pointer X, and 
states that it was a project that eventually merged with X.org - 
exactly what you're looking for, I think.

http://en.wikipedia.org/wiki/Multi-Pointer_X

Danny

On 08/12/2010 09:46 AM, Abe Gillespie wrote:
 As Bojun has alluded to, it seems like MultiPoint requires tight
 integration with the OS's windowing engine.  And for MultiPoint to
 work with Linux it would have to work with X Server.  It's possible it
 does although I'd be quite surprised.  If it doesn't support X Server
 then you'd either have to implement something yourself *if* MultiPoint
 has an API available or see how far you can get cobbling something
 together with something like VNC.  The good news is VNC is open source
 so you could use that to build something completely custom.

 Oh, here some more info:
 http://en.wikipedia.org/wiki/Windows_MultiPoint - looks like there's an SDK
 http://en.wikipedia.org/wiki/Linux_Terminal_Server_Project - this is
 probably your best option, IMO

 -Abe

 On Thu, Aug 12, 2010 at 4:31 AM, optimus_primeauthor.blog...@gmail.com  
 wrote:

 Initially, I had also dropped the idea about a Silverlight app on Linux but
 then I encountered this page.

 http://www.codeproject.com/KB/cross-platform/monosugar.aspx
 and came to know about Mono.
 I have also seen an online Multi Point app built using Silverlight. But
 still I am not sure, how it could be done or could it even be done on Linux.
 And that is what I wanted the guidance for.
 How could Multi Point be implemented in Linux? and if not, what can I do to
 make it work?

 Quitting is not an option, please help!
 Thanks!!
 --
 View this message in context: 
 http://mono.1490590.n4.nabble.com/Desktop-Silverlight-applicaition-for-Linux-tp2321439p2322379.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Where to start?

2010-03-03 Thread Danny
You might also run your app through MoMA: http://www.mono-project.com/MoMA

Stifu wrote:
 Hello,
 
 Yes, 100% managed code should run on Mono (if not, it's a bug in Mono).
 For the record, the WinForms implementation of Mono has some rough edges,
 but it's slowly getting better (bug reports and patches are welcome).
 
 Yes, you can just copy the exe and run it with Mono. You can try it on
 Windows, too. Install Mono for Windows, run the Mono command prompt, go to
 your application folder, and type mono yourapp.exe. It's basically the
 same on Linux, but I prefer to add Mono to the explorer context menu, so I
 can just right click the exe and choose to run it with Mono.
 
 
 Ben K wrote:
 I have some basic questions on how to get my program running on Mono.My
 Windows Forms .NET application uses 1000managed code, no use of InterOp
 classes.  Is this a good candidate to run on Mono?How do I run on Mono? 
 Can I just copy the portable executable generated by Visual Studio onto a
 Mono host and it will run?Thanks.

 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Scripting with Mono

2009-10-26 Thread Danny Haak
Hi,

You could have a look at Mono.Addins; or scripting languages like Boo,
IronPython and IronRuby. I have done some experiments with that, and you
can compile a Boo script while running the host program, and execute it
afterwards. Works nicely. 

Regards,
Danny

-- 
Product Developer RFID (UHF)
Nedap Retail Support
e: danny.h...@nedap.com
t: +31 544 471568
-Original Message-
From: mono-list-boun...@lists.ximian.com
[mailto:mono-list-boun...@lists.ximian.com] On Behalf Of eSPiYa
Sent: donderdag 22 oktober 2009 5:24
To: mono-list@lists.ximian.com
Subject: [Mono-list] Scripting with Mono


I'm currently developing an application that enables the clients to
extend it through scripting.
Primarily what I need is ECMAScript/JavaScript but it is way better to
support other languages.

I think I don't need to embed Mono runtime in my application 'coz it is
running over .NET/Mono.

How to achieve this?

Thanks.
--
View this message in context:
http://www.nabble.com/Scripting-with-Mono-tp26003469p26003469.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] JSON not working when using WebServiceHost (returning XML)

2009-10-17 Thread Danny Haak
Hi,

I compiled mono from trunk, and the problem is solved. Nice.

Regards,
Danny


-Original Message-
From: Atsushi Eno [mailto:atsushi...@veritas-vos-liberabit.com]
Sent: Fri 16/10/2009 18:07
To: Danny Haak
Cc: mono-list@lists.ximian.com
Subject: Re: [Mono-list] JSON not working when using WebServiceHost (returning 
XML)
 
Hello,

System.ServiceModel.Web is in active development so that at least you 
cannot reliably use it in 2.4. Try it from trunk or at least wait for 
2.6 instead.

Atsushi Eno

On 2009/10/16 23:41, Danny Haak wrote:
 Hi all,

 I am trying to implement the example at 
 http://www.developmentalmadness.com/2008/05/intro-to-wcf-for-ajax.html (want 
 to make a RESTful webservice using JSON). The example is working, but instead 
 of JSON, it returns XML. Is this example correct (bit tough to find an easy 
 example on the interwebs); or is is it a bug (using Mono 2.4.2.3 at Mac OS X 
 10.6)?

 Thanks!

 Best regards,
 Danny
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list






___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] JSON not working when using WebServiceHost (returning XML)

2009-10-16 Thread Danny Haak
Hi all,

I am trying to implement the example at 
http://www.developmentalmadness.com/2008/05/intro-to-wcf-for-ajax.html (want to 
make a RESTful webservice using JSON). The example is working, but instead of 
JSON, it returns XML. Is this example correct (bit tough to find an easy 
example on the interwebs); or is is it a bug (using Mono 2.4.2.3 at Mac OS X 
10.6)?

Thanks!

Best regards,
Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] JSON not working when using WebServiceHost (returningXML)

2009-10-16 Thread Danny Haak
For the sake of clarity, I mean the 'WCF Console Application' example on that 
website.

Danny


-Original Message-
From: mono-list-boun...@lists.ximian.com on behalf of Danny Haak
Sent: Fri 16/10/2009 16:41
To: mono-list@lists.ximian.com
Subject: [Mono-list] JSON not working when using WebServiceHost (returningXML)
 
Hi all,

I am trying to implement the example at 
http://www.developmentalmadness.com/2008/05/intro-to-wcf-for-ajax.html (want to 
make a RESTful webservice using JSON). The example is working, but instead of 
JSON, it returns XML. Is this example correct (bit tough to find an easy 
example on the interwebs); or is is it a bug (using Mono 2.4.2.3 at Mac OS X 
10.6)?

Thanks!

Best regards,
Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] monolinker and web apps

2009-10-01 Thread Danny Waite

Hi All,

 

We run a platform that has both a mono daemon/console app and a web user 
interface that users mod_mono.

 

Most of the functionilty is contained in the console app and we've successfully 
used linker and mkbundle to create a single binary containing all libs etc.  
Great! I can now remove the mono framework and save some much needed disk space.

 

Then I realised about the web app...!

 

How would I go about running the web app (which is pre-compiled) since the mono 
framework will no longer exist?  Can I link this too?

 

Help, as always, is very much appreciated.

 

Regards,

Danny
  ___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] - XslCompiledTransform.Load missing overloads

2009-09-24 Thread Danny
And, to chant the mantra: Patches are always welcome.  (Not that I've 
ever submitted any, but it begged to be said).

daniel wrote:
 Thats a shame.
 
 It appears from our testing that non compiled xslt is an order of 
 magnitude slower then the compiled version. Which for our purposes is to 
 slow.
 
 I see from the msdn documentation that loading by type was added in .net 
 2.0 SP1. So it wasn't in .net 2.0. Which explains why it is missing from 
 mono 2.0
 
 Even if you can't make a compatible type loading method. Is it possible 
 to make your own non compatible xslt compiler in order to get the speed 
 boost. IE the point of XslCompiledTransform is to compile the xslt into 
 MSIL, this will then execute much faster then a XSLT interpreter.
 
 I guess the question is how can you implement a class with 'Compiled' in 
 the name using an interpreter. It's just plain misleading. If you can't 
 make do a 'Compiled' transform then why pretend? XslCompiledTransform 
 should be maked as not implemented/ throw a not implemented exception 
 rather then pretend its a compiled transform when its actually an 
 interpreter.
 
 As a user if I wanted an interpreted transform I would have used 
 XslTransform. I would rather its was obvious that mono didn't have a 
 compiled transform then that it appeared to all the world to have one 
 but actually didn't.
 
 OK so imagine that mono had implemented StringBuilder using normal 
 string concatenation. Sure it would correctly add strings together but 
 it wouldn't do the thing that people use it for, That is to provide an 
 faster more efficient method of adding strings together. Its the same 
 with  XslCompiledTransform. People use XslCompiledTransform because its 
 faster, because its 'compiled'. That is its whole reason for it 
 existing, thats the reason why Microsoft added it rather then just 
 sticking with the existing XslTransform.
 
 If you had a XSLT Compiler you could have a fastest XSLT transformer in 
 linux. Our testing to date puts the .net implementation of 
 XslCompiledTransform significantly faster then any other method of 
 performing XSLT transforms on windows. It would give mono bragging 
 rights as well as provide a compelling reason for people doing xslt on 
 linux to use mono.
 
 Thats my 2 cents worth.
 
 Sincerely,
 Daniel
 
 Atsushi Eno wrote:
 NET XslCompiledTransform has horrible design choice that there is *no* 
 public API
 exposed to make compiled XSLT implementable. There is no choice for us 
 to implement
 it at least from public documentation. We won't support it beyond any 
 wrapper.

 (I feel almost no need to add this comment, but: loading stylesheet by 
 compiled type is
 newer stuff than we have finished 2.0 API. Besides/anyways I don't 
 really care about tiny,
 cosmetic, minor API missings like other API lands.)

 Atsushi Eno

 On 2009/09/24 14:50, Daniel Hughes wrote:
   
 XslCompiledTransform.Load appears to only have 6 overloads where as 
 .net has 8. The two missing overloads are for loading an already 
 compiled transform from a type. These are the overloads I need. When I 
 started investigating this I also recognized that the transform on 
 mono appears to be a lot slow then it should be.

 I have a horrible thought that XslCompiledTransfrom in mono is just a 
 wrapper for XslTransfrom and so it not compiled at all... so none of 
 the speed improvement are available.

 Please tell me this is not the case and that I am just doing something 
 wrong. XslCompiledTransfrom is a .net 2.0 libary I had heard that mono 
 had a complete implementation of .net 2.0.

 Cheers,
 Daniel Hughes
 

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

   
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Serial Ports

2009-08-31 Thread Danny Haak
Hi Glenn,

My experience is that serial ports work using the same code in Windows
and Linux - with the only change being the port name. Does your serial
device need RTS/CTS lines? Are they set right? Is the timeout set
correctly? 

Best regards,
Danny Haak 

-Original Message-
From: mono-list-boun...@lists.ximian.com
[mailto:mono-list-boun...@lists.ximian.com] On Behalf Of Glenn Martin
Sent: maandag 31 augustus 2009 3:27
To: mono-list@lists.ximian.com
Subject: [Mono-list] Serial Ports

We have a peice of code that is working without a hitch on windows.
However on Mono (Ubuntu Jaunty; runtime 2.4) We get nothing. No
exceptions, no errors but also its not connecting. Are there any
settings or configuration options, any gotchas that i need to know when
handling Serial ports on Mono on Linux? We have switched our code to use
the ubuntu device name (/dev/ttyS1) and have verified the device exixts
and works on that port, weve tested with PUTTY.

Thanks

Glenn R. Martin
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] USB hardware detection using Mono on Linux

2009-08-18 Thread Danny Haak
Hi all,

I am currently writing a piece of software that needs to detect which
USB devices are attached to the computer. Event-based notifications of
attaching and detaching hardware while the software is running is nice,
but not required.

I first used DeviceKit-Sharp (by Ben Gamari), but when observing a bug
and asking the DeviceKit mailing-list, Kay Sievers answered: The
DeviceKit daemon is dead and will not run, or be installed on any usual
system. You need to use libudev, or the GUdev to retrieve this
information. This is a pity, because DeviceKit was working nicely,
despite the bug in the daemon.

I can't find any Mono-bindings for libudev, and diving deeper in the
documentation, libudev seems quite low-level and talking to HAL. Looking
for HAL abstractions, I discovered that HAL will be obsolete as well in
the near future. This leaves me completely confused about 'the way to
go' for hardware detection in Mono on Linux. Is there anybody who can
suggest a (sort of) future-proof approach to this?

Thanks, best regards,
Danny Haak

-- 
Product Developer RFID (UHF)
Nedap Retail Support
e: danny.h...@nedap.com
t: +31 544 471568
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] USB hardware detection using Mono on Linux

2009-08-18 Thread Danny Haak
Hi,

That seems like a good approach, but on the HAL site it states that HAL
is in maintenance mode - no new features are added. All future
development focuses on Software/DeviceKit-disks,
Software/DeviceKit-power, NetworkManager, PulseAudio, udev, ...  [1].
Therefore, it seems not a good idea to me to use it in new software.

Best regards,
Danny

[1]: http://www.freedesktop.org/wiki/Software/hal

-Original Message-
From: mono-list-boun...@lists.ximian.com
[mailto:mono-list-boun...@lists.ximian.com] On Behalf Of Adam Tauno
Williams
Sent: dinsdag 18 augustus 2009 12:49
To: mono-list
Subject: Re: [Mono-list] USB hardware detection using Mono on Linux

On Tue, 2009-08-18 at 12:06 +0200, Danny Haak wrote:
 Hi all,
 I am currently writing a piece of software that needs to detect which 
 USB devices are attached to the computer. Event-based notifications of

 attaching and detaching hardware while the software is running is 
 nice, but not required.
 I first used DeviceKit-Sharp (by Ben Gamari), but when observing a bug

 and asking the DeviceKit mailing-list, Kay Sievers answered: The 
 DeviceKit daemon is dead and will not run, or be installed on any 
 usual system. You need to use libudev, or the GUdev to retrieve this 
 information. This is a pity, because DeviceKit was working nicely, 
 despite the bug in the daemon.
 I can't find any Mono-bindings for libudev, and diving deeper in the 
 documentation, libudev seems quite low-level and talking to HAL. 
 Looking for HAL abstractions, I discovered that HAL will be obsolete 
 as well in the near future. This leaves me completely confused about 
 'the way to go' for hardware detection in Mono on Linux. Is there 
 anybody who can suggest a (sort of) future-proof approach to this?

I believe you can attach to the system D-BUS and you will receive HAL
events.   http://www.ndesk.org/DBus_Documentation
--
OpenGroupware developer: awill...@whitemice.org
http://whitemiceconsulting.blogspot.com/
OpenGroupare  Cyrus IMAPd documenation @
http://docs.opengroupware.org/Members/whitemice/wmogag/file_view

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Service or daemon with Mono?

2009-07-14 Thread Danny
I'd like to second that.  I use the same techniques with good results. 
However, *occasionally* I have problems with my remoting listener 
holding open the TCP socket after shutdown (in which I unregister the 
marshalled object(s)).

If you don't mind me asking, do you do anything specific or special to 
clean up your remoting channel?

Amc Gmail wrote:
 We don't have any problems with .NET service running under Mono. 
 It's based on ServiceBase, uses EventLog and .NET Remoting without any 
 problems.
 All you need to do is to create init.d script to start/stop mono-service 
 during startup/shutdown
 -- amc
 
 - Original Message -
 From: jos_ j...@sonhult.se
 To: mono-list@lists.ximian.com
 Sent: Tuesday, July 14, 2009 8:45:07 AM GMT -05:00 US/Canada Eastern
 Subject: [Mono-list]  Service or daemon with Mono?
 
 
 Hello,
 
 What is the recommended way to write a service-like software in Mono?
 
 My first guess would be to use the normal class ServiceBase existing in Mono
 (and .NET of course). But there seems to be little information on how this
 works with Mono, and from what I've read it is not considered stable (?).
 
 1. Is it better to just create a normal app, turn on automatic login and run
 it at login?
 2. Is it possible to create a daemon using Mono?
 3. Is there any documentation on how to install the service if developed
 in Mono using ServiceBase (or any other method)?
 
 In short: I'm looking for a way to build the Linux equivalent for a service
 using Mono, and install it on a Linux-dist =)
 
 Thanks in advance!
 / Jonas
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Service or daemon with Mono?

2009-07-14 Thread Danny
Thanks alot.  Indeed it does look pretty vanilla in term of the remoting 
usage, but one difference IS the SingleCall.  I'll take a closer look 
when I can get back to that ticket.

Thanks again,
Danny

Amc Gmail wrote:
 Hmmm... hard to say, i did remoting part 4+ years ago :) in .net 1.1 era :)
 It sees to be I am not doing anything special, but keep in mind i am using 
 mode=SingleCall
 
 Here is more details:
 
 system.runtime.remoting
 application
 service
 wellknown type=Rmt.RmtBridge, Rmt objectUri=Rmt 
 mode=SingleCall 
 /
 /service
 channels
 channel ref=tcp name=RmtChannel port=12345
 /channel
 /channels
 /application
 /system.runtime.remoting
 
 And all remoting types/methods are in one class:
 
 namespace Rmt {
 public class RmtBridge : MarshalByRefObject {...}
 }
 
 Service has multiple threads and some of them are control threads which i am 
 using to kill real worker threads if they are hang. Control thread code look 
 like:
 
 public override void ControlThreadLoop() {
 
 // Configure remoting
 bool isInitOk = InitRemoting();
 if (IsStop()) return;   // exit signaled
 if (!isInitOk) {
 // Fail to init remoting - log exception and continue 
 . error EventLog here...
 }
 
 while (!IsStop()) {
  create worker thread and monitor it health 
 }
 }
 
 // Try to configure remoting, return true on success
 private bool InitRemoting() {
 for (int j = 0; !IsStop()  j  INIT_ATTEMPT_COUNT; j++) {
 try {
 RemotingConfiguration.Configure(
 System.IO.Path.Combine(
 AppDomain.CurrentDomain.BaseDirectory, 
 AppDomain.CurrentDomain.FriendlyName + .config
 ));
 return true;// success
 }
 catch(Exception e) {
 . warning EventLog here...
 }
 
 // sleep before next attempt
 IdleSleep(IDLE_SLEEP_TIME);
 }
 
 return false;   // not initialized
 }
 }
 
 sorry for that long e-mail, hope it helps (not sure about that, but trying my 
 best :)
 -- amc
 
 
 - Original Message -
 From: Danny dgorto...@gmail.com
 To: Amc Gmail amc1...@gmail.com
 Cc: jos_ j...@sonhult.se, mono-list@lists.ximian.com
 Sent: Tuesday, July 14, 2009 3:47:17 PM GMT -05:00 US/Canada Eastern
 Subject: Re: [Mono-list] Service or daemon with Mono?
 
 I'd like to second that.  I use the same techniques with good results. 
 However, *occasionally* I have problems with my remoting listener 
 holding open the TCP socket after shutdown (in which I unregister the 
 marshalled object(s)).
 
 If you don't mind me asking, do you do anything specific or special to 
 clean up your remoting channel?
 
 Amc Gmail wrote:
 We don't have any problems with .NET service running under Mono. 
 It's based on ServiceBase, uses EventLog and .NET Remoting without any 
 problems.
 All you need to do is to create init.d script to start/stop mono-service 
 during startup/shutdown
 -- amc

 - Original Message -
 From: jos_ j...@sonhult.se
 To: mono-list@lists.ximian.com
 Sent: Tuesday, July 14, 2009 8:45:07 AM GMT -05:00 US/Canada Eastern
 Subject: [Mono-list]  Service or daemon with Mono?


 Hello,

 What is the recommended way to write a service-like software in Mono?

 My first guess would be to use the normal class ServiceBase existing in Mono
 (and .NET of course). But there seems to be little information on how this
 works with Mono, and from what I've read it is not considered stable (?).

 1. Is it better to just create a normal app, turn on automatic login and run
 it at login?
 2. Is it possible to create a daemon using Mono?
 3. Is there any documentation on how to install the service if developed
 in Mono using ServiceBase (or any other method)?

 In short: I'm looking for a way to build the Linux equivalent for a service
 using Mono, and install it on a Linux-dist =)

 Thanks in advance!
 / Jonas
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Need High-Level Graphics Library

2009-06-24 Thread Danny
One of the references found here 
(http://www.mono-project.com/Libraries), under Graphing, is ZedGraph. 
Not sure about your requirement in Canvas so it may not meet them; it is 
used as a control in Winforms or WebForms.   It does nice graphs in a 
flexible way and supports zooming, etc.  I use it for both static graphs 
and graphing live data.

Felix Natter wrote:
 hello,
 
 I am looking for a Canvas abstraction (Graphics library) to display
 Functions graphs, zoom in/out, select points/regions and so on... Displaying
 histograms may also be an issue.
 Preferrably this would be LGPL or a similar license.
 
 So far I found only expensive commercial products.
 
 I would appreciate any hint.
 Thanks in advance!
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Error with Precompiled App

2009-05-09 Thread Danny Waite

Hi All,
 
I'm trying to test precompilation under the new mono 2.4 and getting the 
following error:
 
Server Error in '/' Application

Object reference not set to an instance of an object
Description: HTTP 500. Error processing request.
Stack Trace: 
System.NullReferenceException: Object reference not set to an instance of an 
object
  at System.Web.Compilation.BuildManager.GetPrecompiledType (System.String 
virtualPath) [0x0] 
  at System.Web.Compilation.BuildManager.GetPrecompiledApplicationType () 
[0x0] 
  at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext 
context) [0x0]  

Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 
2.0.50727.1433 
 

I noticed the following post, it seems this may be a known issue.
 
http://go-mono.com/forums/#nabble-td23255638
 
Can anyone advise on the best way to overcome this?
 
TIA,
Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] cannot find metadata file

2009-05-05 Thread Danny Waite

Hi All,
 
Sorry to come back to you on this one, but I'm having troubles getting this 
working.
 
I've now pre-compiled my web app using VS2008 and Web Deployment Tool.
 
When I browse to the URL I get:
 
This is a marker file generated by the precompilation tool.
 
What needs to be done to the apache configuration, ie. which extensions should 
be passed to mod_mono.
 
I know I'm missing something very silly.
 
TIA -- Danny


 Date: Thu, 30 Apr 2009 16:57:47 +0100
 Subject: Re: [Mono-list] cannot find metadata file
 From: donbonifa...@gmail.com
 To: dannywai...@hotmail.com
 CC: mono-list@lists.ximian.com

 Interesting! Thanks Pedro. What do you mean by precompile?

 I mean this:
 http://gonzalo.name/blog/archive/archive-2009-Feb.html

 Our deploy process sends everything to a Web folder and then we call
 (using nant);

 basedir=H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
 program=aspnet_compiler
 commandline=-nologo -f -c -fixednames -p Deploy/Web -v /
 Deploy/WebPrecompiled/ /

 This creates a WebPrecompiled folder with everything precompiled. The
 first access is faster because mono doesn't need to compile
 aspx/master/etc.

 Hope this helps,
 BR

 On Thu, Apr 30, 2009 at 4:49 PM, Danny Waite wrote:

 Interesting! Thanks Pedro. What do you mean by precompile? I'm using the 
 publish function in Visual Studio (gulp) I saw that there is better support 
 for that in 2.4 however maybe thats a bad way to do things.

 
 Date: Thu, 30 Apr 2009 16:33:03 +0100
 Subject: Re: [Mono-list] cannot find metadata file
 From: donbonifa...@gmail.com
 To: dannywai...@hotmail.com
 CC: mono-list@lists.ximian.com

 I also experienced that behavior. What we now do is precompile
 everything. That way our websites never get that error when mono tries
 to compile them. :-)

 On Thu, Apr 30, 2009 at 4:21 PM, Danny Waite wrote:

 Hi All,

 I've been through various mono versions over time and have seen this error 
 throughout and it really has been beaten! It's an ASP.NET web app, quite a 
 simple one. It works well for a while until we get the following error.

 If we kill the mod-mono-server2.exe process or restart apache, it stops.

 Could anyone shed any light onto it before I pull my hair out! :-)

 Best,
 Danny


 Server Error in '/' Application


 Compilation Error
 Description: Error compiling a resource required to service this request. 
 Review your source file and modify it to fix this error.
 Compiler Error Message: CS0006: cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'/manage/dynamic-interfaces.aspx

 Show Detailed Compiler Output:


 gmcs /target:library /debug+ /optimize- /warn:4 
 /out:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1.dll 
 /r:/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll 
 /r:/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
  
 /r:/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
  
 /r:/usr/local/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
  
 /r:/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
  
 /r:/usr/local/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
  
 /r:/usr/local/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/a41b7686/305f42ab_9444342d_0001/Mo
 no.Da
 ta.SqliteClient.dll 
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/0c44534b/98006766_9444342d_0001/Mono.Data.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/fa8669ae/6ec25d83_9444342d_0001/Mono.Posix.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/3c856a06/a8c15e2b_9444342d_0001/Xrio.Enterprise.DataTypes.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/7dcf53f1/e98b67dc_9444342d_0001/Xrio.Standalone.Configuration.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/c09555f0/54d161dd_9444342d_0001/Xrio.Standalone.Service.dll
  /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll 
 /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.dll /nowarn:0169 
 -- /tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1_0.cs error 
 CS0006: cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'error CS0006: 
 cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a57
 1.
 dll'

 Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 
 2.0.50727.1433
 ___
 Mono-list maillist - Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list




 --
 Pedro Santos
 Home - http://psantos.zi

[Mono-list] cannot find metadata file

2009-04-30 Thread Danny Waite

Hi All,
 
I've been through various mono versions over time and have seen this error 
throughout and it really has been beaten!  It's an ASP.NET web app, quite a 
simple one.  It works well for a while until we get the following error.
 
If we kill the mod-mono-server2.exe process or restart apache, it stops.
 
Could anyone shed any light onto it before I pull my hair out! :-)
 
Best,
Danny
 

Server Error in '/' Application


Compilation Error
Description: Error compiling a resource required to service this request. 
Review your source file and modify it to fix this error. 
Compiler Error Message: CS0006: cannot find metadata file 
`/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'/manage/dynamic-interfaces.aspx

Show Detailed Compiler Output:


gmcs /target:library /debug+ /optimize- /warn:4 
/out:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1.dll 
/r:/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll 
/r:/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
 
/r:/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
 
/r:/usr/local/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
 
/r:/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
 
/r:/usr/local/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
 
/r:/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
 
/r:/usr/local/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
 
/r:/usr/local/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
 
/r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/a41b7686/305f42ab_9444342d_0001/Mono.Da
 ta.SqliteClient.dll 
/r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/0c44534b/98006766_9444342d_0001/Mono.Data.dll
 
/r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/fa8669ae/6ec25d83_9444342d_0001/Mono.Posix.dll
 
/r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/3c856a06/a8c15e2b_9444342d_0001/Xrio.Enterprise.DataTypes.dll
 
/r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/7dcf53f1/e98b67dc_9444342d_0001/Xrio.Standalone.Configuration.dll
 
/r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/c09555f0/54d161dd_9444342d_0001/Xrio.Standalone.Service.dll
 /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll 
/r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.dll  /nowarn:0169  -- 
/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1_0.cs error CS0006: cannot 
find metadata file 
`/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'error CS0006: cannot 
find metadata file `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.
 dll'

Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 
2.0.50727.1433
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] cannot find metadata file

2009-04-30 Thread Danny Waite

Interesting!  Thanks Pedro.  What do you mean by precompile?  I'm using the 
publish function in Visual Studio (gulp) I saw that there is better support for 
that in 2.4 however maybe thats a bad way to do things.


 Date: Thu, 30 Apr 2009 16:33:03 +0100
 Subject: Re: [Mono-list] cannot find metadata file
 From: donbonifa...@gmail.com
 To: dannywai...@hotmail.com
 CC: mono-list@lists.ximian.com

 I also experienced that behavior. What we now do is precompile
 everything. That way our websites never get that error when mono tries
 to compile them. :-)

 On Thu, Apr 30, 2009 at 4:21 PM, Danny Waite wrote:

 Hi All,

 I've been through various mono versions over time and have seen this error 
 throughout and it really has been beaten! It's an ASP.NET web app, quite a 
 simple one. It works well for a while until we get the following error.

 If we kill the mod-mono-server2.exe process or restart apache, it stops.

 Could anyone shed any light onto it before I pull my hair out! :-)

 Best,
 Danny


 Server Error in '/' Application


 Compilation Error
 Description: Error compiling a resource required to service this request. 
 Review your source file and modify it to fix this error.
 Compiler Error Message: CS0006: cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'/manage/dynamic-interfaces.aspx

 Show Detailed Compiler Output:


 gmcs /target:library /debug+ /optimize- /warn:4 
 /out:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1.dll 
 /r:/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll 
 /r:/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
  
 /r:/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
  
 /r:/usr/local/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
  
 /r:/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
  
 /r:/usr/local/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
  
 /r:/usr/local/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/a41b7686/305f42ab_9444342d_0001/Mono
 .Da
 ta.SqliteClient.dll 
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/0c44534b/98006766_9444342d_0001/Mono.Data.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/fa8669ae/6ec25d83_9444342d_0001/Mono.Posix.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/3c856a06/a8c15e2b_9444342d_0001/Xrio.Enterprise.DataTypes.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/7dcf53f1/e98b67dc_9444342d_0001/Xrio.Standalone.Configuration.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/c09555f0/54d161dd_9444342d_0001/Xrio.Standalone.Service.dll
  /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll 
 /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.dll /nowarn:0169 -- 
 /tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1_0.cs error CS0006: 
 cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'error CS0006: 
 cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.
 dll'

 Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 
 2.0.50727.1433
 ___
 Mono-list maillist - Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list




 --
 Pedro Santos
 Home - http://psantos.zi-yu.com
 Work - http://www.pdmfc.com
 The future - http://www.orionsbelt.eu
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] cannot find metadata file

2009-04-30 Thread Danny Waite

Fantastic, thanks Pedro, I'll give that a try!
 
Any other considerations or tips you can add, sounds like you've got things 
working really well for you.
 
Regards,
Danny


 Date: Thu, 30 Apr 2009 16:57:47 +0100
 Subject: Re: [Mono-list] cannot find metadata file
 From: donbonifa...@gmail.com
 To: dannywai...@hotmail.com
 CC: mono-list@lists.ximian.com

 Interesting! Thanks Pedro. What do you mean by precompile?

 I mean this:
 http://gonzalo.name/blog/archive/archive-2009-Feb.html

 Our deploy process sends everything to a Web folder and then we call
 (using nant);

 basedir=H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
 program=aspnet_compiler
 commandline=-nologo -f -c -fixednames -p Deploy/Web -v /
 Deploy/WebPrecompiled/ /

 This creates a WebPrecompiled folder with everything precompiled. The
 first access is faster because mono doesn't need to compile
 aspx/master/etc.

 Hope this helps,
 BR

 On Thu, Apr 30, 2009 at 4:49 PM, Danny Waite wrote:

 Interesting! Thanks Pedro. What do you mean by precompile? I'm using the 
 publish function in Visual Studio (gulp) I saw that there is better support 
 for that in 2.4 however maybe thats a bad way to do things.

 
 Date: Thu, 30 Apr 2009 16:33:03 +0100
 Subject: Re: [Mono-list] cannot find metadata file
 From: donbonifa...@gmail.com
 To: dannywai...@hotmail.com
 CC: mono-list@lists.ximian.com

 I also experienced that behavior. What we now do is precompile
 everything. That way our websites never get that error when mono tries
 to compile them. :-)

 On Thu, Apr 30, 2009 at 4:21 PM, Danny Waite wrote:

 Hi All,

 I've been through various mono versions over time and have seen this error 
 throughout and it really has been beaten! It's an ASP.NET web app, quite a 
 simple one. It works well for a while until we get the following error.

 If we kill the mod-mono-server2.exe process or restart apache, it stops.

 Could anyone shed any light onto it before I pull my hair out! :-)

 Best,
 Danny


 Server Error in '/' Application


 Compilation Error
 Description: Error compiling a resource required to service this request. 
 Review your source file and modify it to fix this error.
 Compiler Error Message: CS0006: cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'/manage/dynamic-interfaces.aspx

 Show Detailed Compiler Output:


 gmcs /target:library /debug+ /optimize- /warn:4 
 /out:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1.dll 
 /r:/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll 
 /r:/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
  
 /r:/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
  
 /r:/usr/local/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
  
 /r:/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
  
 /r:/usr/local/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
  
 /r:/usr/local/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/a41b7686/305f42ab_9444342d_0001/Mo
 no.Da
 ta.SqliteClient.dll 
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/0c44534b/98006766_9444342d_0001/Mono.Data.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/fa8669ae/6ec25d83_9444342d_0001/Mono.Posix.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/3c856a06/a8c15e2b_9444342d_0001/Xrio.Enterprise.DataTypes.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/7dcf53f1/e98b67dc_9444342d_0001/Xrio.Standalone.Configuration.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/c09555f0/54d161dd_9444342d_0001/Xrio.Standalone.Service.dll
  /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll 
 /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.dll /nowarn:0169 
 -- /tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1_0.cs error 
 CS0006: cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'error CS0006: 
 cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a57
 1.
 dll'

 Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 
 2.0.50727.1433
 ___
 Mono-list maillist - Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list




 --
 Pedro Santos
 Home - http://psantos.zi-yu.com
 Work - http://www.pdmfc.com
 The future - http://www.orionsbelt.eu



 --
 Pedro Santos
 Home - http://psantos.zi-yu.com
 Work - http://www.pdmfc.com
 The future - http://www.orionsbelt.eu
___
Mono-list

Re: [Mono-list] Remoting Puzzle

2009-04-30 Thread Danny
Not sure if this helps or not, but I've seen cross-platform remoting 
issues caused by serialization incompatibility - private member names 
differ across implementations so SerializationInfo contains different 
keys.  Could it be that a SerializationException is getting 'eaten' due 
to multi-threading or similar situation?

Charlie Poole wrote:
 Hi All,
 
 NUnit has a feature where it can run tests in a separate
 process, possibly using a different CLR from the originating
 process - the one running the Gui for example.
 
 On Windows, when the Gui is running under .NET, I can
 launch a mono process to load tests under mono and even 
 see the loaded tree of tests in the Gui window.
 
 However, when I try to run the tests, no progress 
 notifications ever arrive at the Gui, so it appears
 that the tests are not run.
 
 I have ascertained that the tests are in fact run, but
 that the very first progress call simply hangs without
 returning. The call is to a method on the EventListener
 interface: RunStarted(string, int). The EventListener
 is passed in when the Gui asks for the test to run.
 
 This works fine when both processes are running .NET
 or Mono, but not when a Gui under .NET has launched
 a Mono process.
 
 Does this problem ring a bell with anyone?
 
 Charlie
 
 
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Dock Panel Control (WinForms) for Mono

2009-04-15 Thread Danny
I would be very interested in a version of DockPanel with these changes 
made...to the point of helping out as needed.  I very quickly looked at 
DockPanel on Mono and decided to use it in spite of the p/invokes, 
hoping they could be factored out.

I have very little time in the short term, but if I can pitch in with 
some specific tasks or research don't hesitate to let me know.  If this 
isn't done now, I'll eventually have to get to it myself.  Though other 
(more pressing) things currently prevail, and will for some time, it 
would save me lots of time later to help out now.

TIA,
Danny

Everaldo Canuto wrote:
 Hi Pedro,
 
 I worked on it, unfortunately some pinvokes used in DockPanel can't be
 emulated right now so the solution is to change DockPanel and replace
 all pinvoke calls by managed code.
 
 Everaldo.
 
 2009/4/15 Pedro Alves pedro.alve...@gmail.com:
 Hi!


 Some time ago I saw something on the port the DockPanel Suite
 (http://sourceforge.net/projects/dockpanelsuite) to Mono.
 Why say something about it?

 Is there a Dock component compatible with Mono WinForms?


 Thanks!



 Pedro,
 Brazil.



 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] FileSystemWatcher on Linux to monitor a remote NTFS share

2009-04-05 Thread Danny
I think if you use a mount point, the FileSystemWatcher would then be 
unaware of the fact that the directory being watched is in fact on a 
Windows machine (abstraction) and that seems like a logical thing to try 
to me.  The only thing I'm wondering is whether the mount type needed 
(cifs) will support the FileSystemWatcher's needs, which I am not 
familiar with.

colinjones wrote:
 OK, I have now compiled a C# snippet that is essentially the same as the code
 on the MSDN site and it runs fine both on a Windows machine and on Linux
 running under Mono.
 
 Functionally it works for local files on both. On Windows it will also
 happily take a UNC path and monitor a remote folder. However, running on
 Linux under Mono it refuses to accept a UNC path, with:
 
 Unhandled Exception: System.ArgumentException: Directory does not exists
 Parameter name: path
   at System.IO.FileSystemWatcher..ctor (System.String path, System.String
 filter) [0x0]
   at System.IO.FileSystemWatcher..ctor (System.String path) [0x0]
   at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher:.ctor
 (string)
   at FileSystemWatcherTest.Program.Run (System.String[] args) [0x0]
   at FileSystemWatcherTest.Program.Main (System.String[] args) [0x0]
 
 
 I have tried alsorts of different formats to try to get it to accept a UNC
 like the .NET class does, but it won't do it. Is this a bug? Shouldn't the
 API present the same interface as the .NET class does?
 
 I don't think there is any point trying to mount the remote share, or
 anything like that because the FileSystemWatcher class needs to parse the
 UNC path to get the remote machine name so that it can connect to the same
 functionality on the remote machine using COM communications. 
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono and its limitations

2009-04-01 Thread Danny
You English seems pretty OK to me.  To your question (which others may 
be able to answer with greater detail): I've been successfully writing 
code on Windows and running it on Linux (Ubuntu+Mono) for over a year 
now.  It seems that the Mono guys have done a pretty good job at making 
a runtime that is compatible with any CLR assembly - at least those 
produced with current C# and VB compilers.

It stands to reason that they would also produce compatible assemblies 
with their development tools, so the reverse (Running code on Windows FW 
that was created on Linux+Mono) should be true as well.  There have been 
a few small 'gotchas' but overall very easy.

Marco Trapanese wrote:
 Hello,
 
 I'm from Italy and I'm sorry if my English is not so good. I hope it's good
 enough to explain whatever I'm going to say :-)
 
 I'm new to Mono and I read through the forum and the website.
 Anyway I'm not sure I understood all its qualities and limitations.
 
 To simplify the question, let me to use an example:
 
 I install the Mono IDE on a Windows machine and a Debian Linux one. I can
 develop code in VB.NET on both ones and the compiled files will be executed
 on both as well. I can also use my .NET third-party library (eg.
 http://www.dundas.com/Products/Gauge/NET/index.aspx) on Linux machines.
 
 The sentences I've just write are true? Otherwise what I can't do?
 
 I'd like to use Mono instead of Visual Basic .NET Express in order to
 develop cross-platform application.
 
 Thanks in advance
 Marco Trapanese
 Femtotech
 Italy
 
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] SoC project idea - PLPlot#

2009-03-27 Thread Danny
Have you looked at http://zedgraph.org?  I believe it can be used as you 
suggest, and it's all managed so should run on Mono.  I currently have 
only tested it on MS.NET as a UI control, but have need shortly to use 
it as a class library for generating static graphs from within my 
server-side component.  So I'll be vetting that part of it on Linux+Mono 
in the near term.

Allister Beharry wrote:
 Hello,
 I have an idea for a SoC project this year in the category Mono applications:
 
 Basic idea is to implement a Mono/.NET port of or bindings for an
 existing open-source charting/plotting/visualization library.
 Graphical representation of data is a very common requirement in many
 apps from stuff like business intelligence reporting to system tasks
 like visualizing resources utilization. This goes beyond the idea of a
 charting control in that it provides its functions as a class library
 which can be called from any app - from a web applicatiom say, that
 needs to display charts for a business report
 
 The library I've looked at is PLPlot - http://plplot.sourceforge.net/
 PLPlot is a very powerful C language plotting library with bindings
 for differnet languages. Displaying the graphs is done using plugins
 so it can target a backend like Gtk# / Cairo
 
 
 The steps would be:
 Create bindings based on the C++ interface using SWIG
 Create a native Mono API for the library
 Create a GTK# widget and Windows Forms control utilizing the library
 
 I have a lot more details to put into a proper proposal - but what do
 you guys think about the idea?
 
 Allister
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Dictionary`2 compatibility

2009-03-19 Thread Danny
One of the few areas of incompatibility I've had with Mono is binary 
serialization.  It's to be expected given the nature of that beast.

The way I handle it is to implement ISerializable in my code and 
serialize my members myself.  Then all the private names of the members 
stored in the SerializationInfo match on the inbound side.  If you do 
this, check the docs and don't forget the deserializing constructor.





zolof wrote:
 Hi,
 I serialize a dictionary using Microsoft .NET and a BinaryFormatter.
 When I try to deserialize it using Mono, I get an exception.
 Find out attached sample file: 
 http://www.nabble.com/file/p22581613/Program.cs Program.cs 
 Is there a way to fix this?
 Thanks for your help
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Build .sln from mono/monodevelop

2009-01-14 Thread Danny Waite

Hi All,
 
I'm trying to build an entire solution (.sln)
 
So far I have done the following:
 
mdtool project-export ./Solution.sln
 
once done I expect to run:
 
mdtool build
 
However the project-export returns:
 
Unknown file format: /root/Xrio.Standalone/Standalone.sln
 
Any ideas anyone?  Maybe its the version of Visual Studio the .sln was created 
from?
 
Regards,
Danny___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Run C# app on the server

2008-12-24 Thread Danny

See attached message from a couple of days ago.

M C wrote:

Quick question: is it possible to run a C# console application on a
Linux/Mono server as a scheduled task?

TIA,
Michael
---BeginMessage---
Just FYI, Mono also supports the system service model as built into .Net.

On Tue, Dec 23, 2008 at 8:52 AM, kuse mar...@in-process.se wrote:


 Sure, I don't see any problems why it should not be possible.

 #crontab
 * * 12 * * /usr/bin/mono MyConsoleApp.exe  /dev/null




 M C wrote:

 Quick question: is it possible to run a C# console application on a
 Linux/Mono server as a scheduled task?

 TIA,
 Michael


 --
 View this message in context: 
 http://www.nabble.com/Run-C--app-on-the-server-tp21135423p21144878.html
 Sent from the Mono - General mailing list archive at Nabble.com.

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

---End Message---
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Using Grep

2008-11-25 Thread Danny Waite

Hi guys,
 
I'm using System.Diagnostic.Process to execute a command and I'd like to pipe 
through grep.
 
If I set proc.StartInfo.Arguments to something like | grep blah the 
referenced binary does not understand the command.
 
Has anyone seen this problem before?
 
Regards,
Danny___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Olive/REST/WCF

2008-11-16 Thread Danny Waite

Excellent, thanks Atsushi,
 
Are you able to comment on the parts that are not yet ready?  Is it workable 
right now for basic functionality?
 
Regards,
Danny Date: Sun, 16 Nov 2008 08:39:13 +0900 From: [EMAIL PROTECTED] To: 
mono-list@lists.ximian.com Subject: Re: [Mono-list] Olive/REST/WCF  Hi,  
The WCF core is incomplete, but System.ServiceModel.Web is almost already 
done: 
http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System.ServiceModel.Web/
  Atsushi Eno   Danny Waite wrote:  Hi All,I'm looking at the 
possibility of using REST together with mono and wondering if anyone has any 
experience with this..NET 3.5 provides such functionality using 
System.ServiceModel.Web however I'm unsure if this functionality is implemented 
in Olive yet.I see there are a number of REST libraries around that 
might do the trick, but before I dive in I want to see if anyone else has been 
on this path.Any help/comments are appreciated.Regards,  
Danny  ___  Mono-list maillist 
- Mono-list@lists.ximian.com  
http://lists.ximian.com/mailman/listinfo/mono-list
___ Mono-list maillist - 
Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Olive/REST/WCF

2008-11-16 Thread Danny Waite

Hi Atsushi ,
 
Will moma pick up WCF projects? I guess not seen as the System.ServiceModel.Web 
code seems still to be in SVN.
 
Do you have any experience with REST?  If so, should WCF web services be 
workable in mono?
 
My goal is to create something like the following.
 
http://weblogs.asp.net/shijuvarghese/archive/2008/04/04/rest-and-wcf-3-5.aspx
 
Regards,
Danny Date: Mon, 17 Nov 2008 01:28:27 +0900 From: [EMAIL PROTECTED] To: 
mono-list@lists.ximian.com Subject: Re: [Mono-list] Olive/REST/WCF  There is 
gui-compare and moma when you are curious about missing/not-supported 
functionality (google them for details).  Atsushi Eno  Danny Waite wrote: 
 Excellent, thanks Atsushi,Are you able to comment on the parts that 
are not yet ready? Is it   workable right now for basic functionality?
Regards,  Danny Date: Sun, 16 Nov 2008 08:39:13 +0900   From: 
[EMAIL PROTECTED]   To: mono-list@lists.ximian.com   Subject: Re: 
[Mono-list] Olive/REST/WCF Hi, The WCF core is incomplete, 
but System.ServiceModel.Web is almost   already done: 
http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System.ServiceModel.Web/
 Atsushi Eno   Danny Waite wrote:Hi All,
   I'm looking at the possibility of using REST together with mono and   
wondering if anyone has any experience with this.   .NET 3.5 
provides such functionality using System.ServiceModel.Web   however I'm 
unsure if this functionality is implemented in Olive yet.   I see 
there are a number of REST libraries around that might do the   trick, but 
before I dive in I want to see if anyone else has been on   this path.   
Any help/comments are appreciated.   Regards,
Danny___Mono-list 
maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
___   Mono-list maillist - 
Mono-list@lists.ximian.com   
http://lists.ximian.com/mailman/listinfo/mono-list
___ Mono-list maillist - 
Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Olive/REST/WCF

2008-11-15 Thread Danny Waite

Hi All,
 
I'm looking at the possibility of using REST together with mono and wondering 
if anyone has any experience with this.
 
.NET 3.5 provides such functionality using System.ServiceModel.Web however I'm 
unsure if this functionality is implemented in Olive yet.
 
I see there are a number of REST libraries around that might do the trick, but 
before I dive in I want to see if anyone else has been on this path.
 
Any help/comments are appreciated.
 
Regards,
Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Web Service Extensions in mono 1.9.1

2008-10-28 Thread Danny
Firstly, I hope this is the right list.  If not please redirect me as 
needed.

I've been searching on the mono site and the 'Tubes in general for a 
couple of days now and can't seem to nail down anything definitive about 
how to get web service extensions working on Ubuntu Linux 8.04.  I've 
seen some posts stating that it's not available on Ubuntu, and others 
stating that it should be in mono 1.9.1, which is what I have.  I 
suspect I'm not knowledgeable enough about it to use the right key words 
- the obvious ones don't help much.

Specifically, I'm trying to consume a web service from JavaScript (using 
Dojo if it matters).  I have it working on Windows under IIS.  When I 
move it to mod_mono under Apache2 on Linux it fails with:

Failed to load httpHandler type 
`System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, 
Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'

So System.Web.Extensions.dll obviously isn't there, and I could not 
locate it (any version of it) on the machine.

After not being able find any info on that assembly I tried copying the 
one from Windows over to my the web service bin, without much hope, and 
it actually worked, a little.  It would process an HTTPGET request, but 
fails on an HTTPPOST with a NullReferenceException originating down in
WebServiceData:

System.NullReferenceException: Object reference not set to an instance 
of an object
   at System.Web.Script.Services.WebServiceData.GetWebServiceData 
(System.Web.HttpContext context, System.String virtualPath, Boolean 
failIfNoData, Boolean pageMethods) [0x0]
   at System.Web.Script.Services.WebServiceData.GetWebServiceData 
(System.Web.HttpContext context, System.String virtualPath) [0x0]
   at System.Web.Script.Services.RestHandler.CreateHandler 
(System.Web.HttpContext context) [0x0]
   at System.Web.Script.Services.RestHandlerFactory.GetHandler 
(System.Web.HttpContext context, System.String requestType, 
System.String url, System.String pathTranslated) [0x0]
   at System.Web.Script.Services.ScriptHandlerFactory.GetHandler 
(System.Web.HttpContext context, System.String requestType, 
System.String url, System.String pathTranslated) [0x0]
   at System.Web.HttpApplication.GetHandler (System.Web.HttpContext 
context, System.String url) [0x0]
   at System.Web.HttpApplication+c__CompilerGenerated2.MoveNext () 
[0x0]

I reflected that assembly and it looks like the only obvious thing that 
might cause this is a null context.  Not sure what might cause that.

It could very well be my web service configuration and/or implementation 
- at this point I'm not sure what to think.  I hacked the thing together 
from bits and pieces of info I found here and there.  I am very familiar 
with web services both server-side and client/proxy, but I'm fairly new 
to mono, mostly I just write apps on Windows and move them to Linux and 
they work (which rocks BTW), and I've never written a web service client 
in JavaScript before.  So I have too many unknowns to be able to deduce 
the solution on my own - but most things point to my mono setup.

However, I know it COULD work, and the current prototype I have on 
Windows kind of proves that.  Can anyone suggest how I might get this 
functionality working in this config?   I need to know if it SHOULD work 
before proceeding further because I must deploy to Linux and will have 
to tackle client-side data updates some other way if it's not possible. 
  More info on specific config settings, et al will be provided ASAP and 
as necessary.

Thanks in advance,
Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Debugging Mono Apps developed on Windows/VStudio

2008-08-18 Thread Danny Waite
Excellent, thanks Jonathan/Petit, I'll give this a try and post back findings.

 Date: Mon, 18 Aug 2008 11:36:12 -0500 From: [EMAIL PROTECTED] To: [EMAIL 
 PROTECTED] CC: mono-list@lists.ximian.com Subject: Re: [Mono-list] 
 Debugging Mono Apps developed on Windows/VStudio  There are some things in 
 the works to help with this scenario, however  they are not production ready 
 yet.  SoC: - Automatically copy VS output to Linux and launch. - 
 http://groups.google.com/group/mono-soc-2008  VS Remote Debugging - Same 
 as above, with support for remote debugging in VS. - 
 http://anonsvn.mono-project.com/viewcvs/trunk/MonoVS  Jonathan   Danny 
 Waite wrote:  Hi All,I prefer to develop apps on Visual Studio, 
 build them and then SFTP to   my Linux box to test. It gets quite tedious 
 when in the final stages of   testing because you are making small tweaks 
 and have to keep   transferring them across.I just wondered what 
 other people were doing in this scenario? I guess   the problem is that I'm 
 making a lot of system calls so the code really   needs to execute on the 
 linux box itself. Is there any kind of remote   debugging supported?
 Thanks in Advance,Regards,  Danny  
    
  ___  Mono-list maillist - 
 Mono-list@lists.ximian.com  
 http://lists.ximian.com/mailman/listinfo/mono-list ___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Debugging Mono Apps developed on Windows/VStudio

2008-08-16 Thread Danny Waite
Hi All,
 
I prefer to develop apps on Visual Studio, build them and then SFTP to my Linux 
box to test.  It gets quite tedious when in the final stages of testing because 
you are making small tweaks and have to keep transferring them across.
 
I just wondered what other people were doing in this scenario?  I guess the 
problem is that I'm making a lot of system calls so the code really needs to 
execute on the linux box itself.  Is there any kind of remote debugging 
supported?
 
Thanks in Advance,
 
Regards,
Danny___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-dev] [Mono-list] Pash - cross platform PowerShell is out in the wild!Announcement.

2008-04-19 Thread Danny Waite
Fantastic! I've been waiting for this for a long while now. Great work Igor, 
I'll be playing around with this at the weekend.  I think this project has lots 
of mileage. 


From: Igor Moochnick 
Sent: Monday, April 07, 2008 4:23 PM
To: mono-devel-list@lists.ximian.com ; [EMAIL PROTECTED] 
Subject: [Mono-list] Pash - cross platform PowerShell is out in the 
wild!Announcement.


Pash - http://pash.sourceforge.net/

PowerShell open source cross-platform reimplementation.


About the name
Pash = PoSH (PowerShell) + bash (one of the Unix shells)


Goals
The main goal is to provide a rich shell environment for other operating 
systems as well as to provide a hostable scripting engine for rich 
applications. The user experience should be seamless for people who are used to 
Windows version of PowerShell. The scrips, cmdlets and providers should runs 
AS-IS (if they are not using Windows-specific functionality). The rich 
applications that host PowerShell should run on any other operating system 
AS-IS. Secondary goal: the scripts should run across the machines and different 
OS's seamlesly (but following all the security guidelines).


Environment
The current implementation of Pash is written using pure .Net 2.0. It compiles 
on VS 2008 as well as on Mono. So all the developers can choose the environment 
that fits their needs and preferences. The produced assemblies can be executed 
right out of the box on Windows, Linux, Mac (or others) without any 
additional recompilation. Note: for Windows Mobile and Windows CE the produced 
code should be recompiled against the .NET Compact Framework.


Progress
You're welcome to get the source code and contribute to the Pash public effort 
@ http://sourceforge.net/projects/pash. 

~50% of public PowerShell classes defined. 

~40% of framework functionality operational. 












___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
Emoticon1.gif___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-list] Pash - cross platform PowerShell is out in the wild!Announcement.

2008-04-17 Thread Danny Waite
Fantastic! I've been waiting for this for a long while now. Great work Igor, 
I'll be playing around with this at the weekend.  I think this project has lots 
of mileage. 


From: Igor Moochnick 
Sent: Monday, April 07, 2008 4:23 PM
To: [EMAIL PROTECTED] ; mono-list@lists.ximian.com 
Subject: [Mono-list] Pash - cross platform PowerShell is out in the 
wild!Announcement.


Pash - http://pash.sourceforge.net/

PowerShell open source cross-platform reimplementation.


About the name
Pash = PoSH (PowerShell) + bash (one of the Unix shells)


Goals
The main goal is to provide a rich shell environment for other operating 
systems as well as to provide a hostable scripting engine for rich 
applications. The user experience should be seamless for people who are used to 
Windows version of PowerShell. The scrips, cmdlets and providers should runs 
AS-IS (if they are not using Windows-specific functionality). The rich 
applications that host PowerShell should run on any other operating system 
AS-IS. Secondary goal: the scripts should run across the machines and different 
OS's seamlesly (but following all the security guidelines).


Environment
The current implementation of Pash is written using pure .Net 2.0. It compiles 
on VS 2008 as well as on Mono. So all the developers can choose the environment 
that fits their needs and preferences. The produced assemblies can be executed 
right out of the box on Windows, Linux, Mac (or others) without any 
additional recompilation. Note: for Windows Mobile and Windows CE the produced 
code should be recompiled against the .NET Compact Framework.


Progress
You're welcome to get the source code and contribute to the Pash public effort 
@ http://sourceforge.net/projects/pash. 

~50% of public PowerShell classes defined. 

~40% of framework functionality operational. 












___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
Emoticon1.gif___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Linux IP Networking Wrapper

2008-03-26 Thread Danny Waite
Hi All,

I'm about to start to build an help around the Linux ip command that is used 
to configure links, tunnels, IP addressing etc. and just wondered if there was 
anything available already, to prevent reinventing the wheel.

This seems like a fairly common requirement but it seems projects like Zeroconf 
do not cover it.

I came across the excellent http://code.google.com/p/sharpknocking/ that 
provides a great wrapper around iptables/netfilter but could see nothing in the 
way of the above.

Because all the various Linux distro's have their own way of configuring the IP 
stack, I guess this would be a really helpful library.

Regards,
Danny___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Linux IP Networking Wrapper

2008-03-26 Thread Danny Waite
Hi All,

I'm about to start to build an help around the Linux ip command that is used 
to configure links, tunnels, IP addressing etc. and just wondered if there was 
anything available already, to prevent reinventing the wheel.

This seems like a fairly common requirement but it seems projects like Zeroconf 
do not cover it.

I came across the excellent http://code.google.com/p/sharpknocking/ that 
provides a great wrapper around iptables/netfilter but could see nothing in the 
way of the above.

Because all the various Linux distro's have their own way of configuring the IP 
stack, I guess this would be a really helpful library.

Regards,
Danny___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono Linker

2008-01-06 Thread Danny Waite
Hi guys,
 
I'm trying to use Jb's Linker but seems that his SVN is down.  Does anyone know 
where I can get hold of his app?
 
Kind Regards,
Danny___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Running CGI on XSP2

2008-01-02 Thread Danny Waite
Hi guys,
 
Is there anyway to do that?
 
Regards,
Danny___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Running CGI on XSP2

2008-01-02 Thread Danny Waite
Thanks Vasili,

I was hoping to avoid apache as this is embedded device, I guess I might aswell 
run mod_mono if that is the case?

Regards,
Danny

 Date: Wed, 2 Jan 2008 15:35:33 -0800
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 CC: mono-list@lists.ximian.com
 Subject: Re: [Mono-list] Running CGI on XSP2
 
 You should probably do it in a mixed apache/xsp way. I.e. proxy all ASP 
 stuff to XSP and let apache handle all cgi requests.
 
 Regards,
 V.
 
 Danny Waite wrote:
  Hi guys,
   
  Is there anyway to do that?
   
  Regards,
  Danny
  
 
  ___
  Mono-list maillist  -  Mono-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-list

 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Running CGI on XSP2

2008-01-02 Thread Danny Waite
Yeah, I was hoping to support both in 1 web server, something like FastCGI in 
reverse :-) 

Thanks for your help anyway Vasili.

 Date: Wed, 2 Jan 2008 16:43:59 -0800
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 CC: mono-list@lists.ximian.com
 Subject: Re: [Mono-list] Running CGI on XSP2
 
 Hmm, then you might try something more lightweight, that does support CGI's.
 Maybe something along the lines of nginx, or some other minimalist proxy 
 server. I have no idea which ones support CGI, but there's bound to be 
 some :)
 
 V.
 
 Danny Waite wrote:
  Thanks Vasili,
 
  I was hoping to avoid apache as this is embedded device, I guess I 
  might aswell run mod_mono if that is the case?
 
  Regards,
  Danny
 
  
   Date: Wed, 2 Jan 2008 15:35:33 -0800
   From: [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   CC: mono-list@lists.ximian.com
   Subject: Re: [Mono-list] Running CGI on XSP2
  
   You should probably do it in a mixed apache/xsp way. I.e. proxy all ASP
   stuff to XSP and let apache handle all cgi requests.
  
   Regards,
   V.
  
   Danny Waite wrote:
Hi guys,
   
Is there anyway to do that?
   
Regards,
Danny

  
   
___
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
   
  
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Finding out the required dependencies

2007-12-29 Thread Danny Waite
Hi Alan,
 
Many thanks for replying to me regarding this, I know its a little while ago 
now.
 
How would I go about running this against an ASP.NET app where there are 
multiple files not just a single DLL or EXE.
 
Actually I'm using the website publish feature of VS.NET 2005 that seems to 
create App_Web_x.dll and App_Code.dll files, does this help?
 
Best Regards,
Danny


Date: Sun, 9 Dec 2007 19:53:51 +From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: 
[EMAIL PROTECTED]: Re: [Mono-list] Finding out the required dependenciesIf 
space is at a premium, you could use the linker to cut down on the size of the 
all the libraries that you 
reference.http://evain.net/blog/articles/2006/08/21/link-to-link You'd probably 
be best talking to jb himself on the finer points on what the linker can and 
cannot do, but it should be able to cut down on the size of the libraries 
fairly significantly.Alan.
On Dec 9, 2007 6:57 PM, Robert Jordan [EMAIL PROTECTED] wrote:



Danny Waite wrote: Hi guys, I'm running XSP2 in an embedded system when the 
disk space is sparse at best.  How do I find out what libraries my app is 
running and  remove all the rest from the GAC?  Is there a quick and easy way 
to do this.  I tried removing the ones I 'know' I am not using like 
Windows.Forms but seems there are hidden references in the dependency  
chain.System.Web actually depends on System.Windows.Forms.You can find the 
dependencies using monop or monop2 (for the 2.0profile):monop2 --refs 
-r:System.WebRobert ___Mono-list 
maillist  -  [EMAIL PROTECTED]://lists.ximian.com/mailman/listinfo/mono-list___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Forms Authentication

2007-12-10 Thread Danny Waite
Hi guys,
 
I'm trying to use Forms authentication but am getting strange problems.  I 
understand from a previous port that System.Web relies on System.Windows.Forms 
which I guess then relies on gdiplus.  When I load a page that references the 
asp:Login component I get a strange message Color X is not a valid color.  
If I take out all the colours I then get System.DllNotFoundException: 
gdiplus.dll.  I dont have this on the system for some reason but I added 
gdiplus.s to /usr/lib and called ldconfig but still get the same.
 
 
Help! is appreciated.
 
Regards,
Danny___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Executing shell scripts from XSP2

2007-12-09 Thread Danny Waite
Hi Robert,
 
Thanks for that, actually the problem was that I needed #!/bin/sh at the top of 
the script.  I'll move the proc.WaitForExit(). to the end.
 
Regards,
Danny



 To: Mono-list@lists.ximian.com From: [EMAIL PROTECTED] Date: Sat, 8 Dec 
 2007 21:58:05 +0100 Subject: Re: [Mono-list] Executing shell scripts from 
 XSP2  Hey,  Danny Waite wrote:  Hi guys,I'm having a hard time 
 trying to call a shell script from XSP2, it seems to work on somethings and 
 not others. What is the best way to do this? I've included my code below... 
System.Diagnostics.Process proc = new System.Diagnostics.Process();  
 proc.StartInfo.FileName = /sbin/commit_config;  proc.StartInfo.Arguments 
 = profile;  proc.StartInfo.UseShellExecute = false;  
 proc.StartInfo.RedirectStandardOutput = true;  proc.Start();
 proc.WaitForExit();  if (verbose)  Console.WriteLine(result:  + 
 proc.StandardOutput.ReadToEnd());  You must call 
 proc.StandardOutput.ReadToEnd() before proc.WaitForExit().  Robert  
 ___ Mono-list maillist - 
 Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Finding out the required dependencies

2007-12-09 Thread Danny Waite
Hi guys,
 
I'm running XSP2 in an embedded system when the disk space is sparse at best.  
How do I find out what libraries my app is running and remove all the rest from 
the GAC?  Is there a quick and easy way to do this.  I tried removing the ones 
I 'know' I am not using like Windows.Forms but seems there are hidden 
references in the dependency chain.
 
Thanks in advance.
 
Danny
 ___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Executing shell scripts from XSP2

2007-12-08 Thread Danny Waite
Hi guys,
 
I'm having a hard time trying to call a shell script from XSP2, it seems to 
work on somethings and not others.  What is the best way to do this?  I've 
included my code below...
 
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = /sbin/commit_config;
proc.StartInfo.Arguments = profile;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.RedirectStandardOutput = true;
proc.Start();

proc.WaitForExit();
if (verbose)
  Console.WriteLine(result:  + proc.StandardOutput.ReadToEnd());
 
Could this be a permissions problem? When I run the shell script from within 
linux it works perfectly, but when run with within XSP2 the StandardOutput 
gives nothing.
 
Help!
 
Much appreciated,
Danny___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Official Mono Repository for Ubuntu?

2007-09-04 Thread Danny Stolle
Miguel de Icaza wrote:
 I mean, really official packages, released along with the ones for
 Suse and RedHat, that are really updated and follow the release
 versions, not what we have today...
 
 We currently do not have plans;Ubuntu seems to have some pretty good
 up to date packages though.
 
 As a long time .NET developer, I would love to develop stuff for linux
 using mono but right now it is easier to install it on windows and
 code using SharpDevelop then on my ubuntu machine.
 
 You could try OpenSUSE :-)
 
 Miguel.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 

Hi,

I saw this posting and wanted to reply. I am currently using SusE10.1
and enthousiastic on the YAST capabilities for the first installation.
But I was having some difficulties with the mono-basic package. It had
dependency problems. But installing the package using commandline RPM
there was no trouble at all.

Even updating new packages is quite easy actually.

Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Howto: Build custom events

2007-09-01 Thread Danny Stolle
Hi all,

this perhaps sounds really dumb, but i have some trouble writing events
and raising them using C#. i have no trouble on writing classes having
its methods, properties, etc. but when it comes to events, i don't know
how to use them.

programming in VB6, I used Microsoft back then, was easy. you declared
the event you wanted, like: public event StatusOK(string message)
within the class you could raise the event by using: RaiseEvent
eventname: e.g. RaiseEvent StatusOK.

Now I am off VB and using C#. But can somebody please point me out to
some good documentation on how to write custom events for classes and
how to raise them in your apps.

Thanx a lot.

Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Howto: Build custom events

2007-09-01 Thread Danny Stolle
Danny Stolle wrote:
 Hi all,
 
 this perhaps sounds really dumb, but i have some trouble writing events
 and raising them using C#. i have no trouble on writing classes having
 its methods, properties, etc. but when it comes to events, i don't know
 how to use them.
 
 programming in VB6, I used Microsoft back then, was easy. you declared
 the event you wanted, like: public event StatusOK(string message)
 within the class you could raise the event by using: RaiseEvent
 eventname: e.g. RaiseEvent StatusOK.
 
 Now I am off VB and using C#. But can somebody please point me out to
 some good documentation on how to write custom events for classes and
 how to raise them in your apps.
 
 Thanx a lot.
 
 Danny
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 

Hi all,

I have done some small research and I got it working. Actually it is
quite easy;

I can mail how i have done it, perhaps that would be of interest.
perhaps some of you got some more tips on it.

Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Which mono version I have to install into SUSE Linux Enterprise Server 10

2007-07-26 Thread Danny
Ruben Guinez wrote:
 Hi everybody !!!
 
 I need to know: Which mono version I have to install into SUSE Linux
 Enterprise Server 10 ?
 
 Thanks in advance
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 

The current one, I guess :-)

Regards ... Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Monodevelop doesn't start :(

2007-07-26 Thread Danny Stolle
Lluis Sanchez wrote:
 Thanks for the reply ... I have checked my configurations; check your
 Xml manifest. For example for the Monodevelop.MonoQyery:
 /usr/monodevelop/AddIns/MonoQuery and open the xml file. The
 Extensionpoints are part of the DLL files which are imported as assembly
 in the beginning of the file (well I think they are if I think logically
 :-) ) ... If the extensionpoint can not be traced, than perhaps the
 DLL-files which are imported aren't correctly compiled. You can try by
 removing the extensionline (be sure to make a copy of the original first ;-)
 
 That won't fix the problem. The problem is that the add-in scanner fails
 to scan the add-in that defines those extension points. But I don't know
 yet why it fails.

Could the a problem have been caused during compiling time?

 
 Let me know ...

 Best regards ..

 Danny
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 
 


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Monodevelop doesn't start :(

2007-07-26 Thread Danny
� wrote:
 Danny wrote:
 � wrote:
 Hi!

 Thank you for the help, but it didn't... help :D. I did what you said, 
 but the same result.
 Maybe I should add that when I run monodevelop for the first time it 
 gives a lot of messages like this (but only right after the compilation 
 on first run):

 --- START ---

 ...
 Warning: The add-in 'Monodevelop.CSharpBinding,0.14.0' is trying to 
 extend '/MonoDevelop/FileTemplates', but there isn't any add-in defining 
 this extension point
 ...
 Warning: The add-in 'Monodevelop.MonoQuery,0.6.0' is trying to extend 
 '/SharpDevelop/Workbench/Pads', but there isn't any add-in defining this 
 extension point
 ...

 --- END ---

 Any idea what I am not doing right (maybe when compiling some other 
 component)?

 János

 Jeffrey Stedfast wrote:
   
 rm -rf $prefix/lib/monodevelop and then do another make install

 afaik, this means that you have old data still in that directory and md
 gets confused.

 Jeff

 On Wed, 2007-07-25 at 14:22 +0300, =?UTF-8?Q?Szentp=E1li_J=E1nos?=
 wrote:
   
 
 When I try to start monodevelop I get the following error (of course the 
 app quits instantly):

 --- START ---

 Unhandled Exception: Mono.Addins.Setup.InstallException: Application not 
 found: IDE
   at MonoDevelop.Core.ApplicationService.StartApplication (System.String 
 appId, System.String[] parameters) [0x0]
   at MonoDevelop.Startup.SharpDevelopMain.Main (System.String[] args) 
 [0x0]

 --- END ---


 My questions:
 - does anyone know what is going on?
 - how can I make it not complain about MOZILLA_FIVE_HOME... for I have 
 no Mozilla installed and I don't intend to. I currently set it to '/'

 János

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 
   
   
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
   
 Hi,

 I don't think I am getting the discussion here. Are you trying to start
 MonoDevelop, so you've already installed the software on your computer?
 Or are you trying to compile the software in order to install it on your
 computer. Because Jeffry implies that it is a compile error, while I am
 thinking you've already installed it and that there are errors during
 initialization time during startup of the software.

 Danny

 I did ./configure, than make, than make install. It only gave me 
 variable not used warnings. I don't think that has any effect :D. Yes it 
 is compiled and installed. When I first run it from CLI with the command 
 monodevelop it gives me the many
 Warning: The add-in...
 warnings and the
 Unhandled Exception: Mono.Addins.S...
 errors.
 After that (on subsequent) runs only gives the
  Unhandled Exception: Mono.Addins.S...
 error. And of course it doesn't start. Hope this clears things ;)
 
 Regards,
 János
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

Hi Janos,

Thanks for the reply ... I have checked my configurations; check your
Xml manifest. For example for the Monodevelop.MonoQyery:
/usr/monodevelop/AddIns/MonoQuery and open the xml file. The
Extensionpoints are part of the DLL files which are imported as assembly
in the beginning of the file (well I think they are if I think logically
:-) ) ... If the extensionpoint can not be traced, than perhaps the
DLL-files which are imported aren't correctly compiled. You can try by
removing the extensionline (be sure to make a copy of the original first ;-)

Let me know ...

Best regards ..

Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Which mono version I have to install into SUSE Linux Enterprise Server 10

2007-07-26 Thread Danny Stolle
Ruben Guinez wrote:
 Hi everybody !!!
 
 I need to know: Which mono version I have to install into SUSE Linux
 Enterprise Server 10 ?
 
 Thanks in advance
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 

Hi Ruben,

Sorry for the joke .. but perhaps installing from source? Would that be
an option? Or do you really want to install from packages?

Best Regards,

Danny

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Monodevelop doesn't start :(

2007-07-26 Thread Danny
� wrote:
 Hi!

 Thank you for the help, but it didn't... help :D. I did what you said, 
 but the same result.
 Maybe I should add that when I run monodevelop for the first time it 
 gives a lot of messages like this (but only right after the compilation 
 on first run):

 --- START ---

 ...
 Warning: The add-in 'Monodevelop.CSharpBinding,0.14.0' is trying to 
 extend '/MonoDevelop/FileTemplates', but there isn't any add-in defining 
 this extension point
 ...
 Warning: The add-in 'Monodevelop.MonoQuery,0.6.0' is trying to extend 
 '/SharpDevelop/Workbench/Pads', but there isn't any add-in defining this 
 extension point
 ...

 --- END ---

 Any idea what I am not doing right (maybe when compiling some other 
 component)?

 János

 Jeffrey Stedfast wrote:
   
 rm -rf $prefix/lib/monodevelop and then do another make install

 afaik, this means that you have old data still in that directory and md
 gets confused.

 Jeff

 On Wed, 2007-07-25 at 14:22 +0300, =?UTF-8?Q?Szentp=E1li_J=E1nos?=
 wrote:
   
 
 When I try to start monodevelop I get the following error (of course the 
 app quits instantly):

 --- START ---

 Unhandled Exception: Mono.Addins.Setup.InstallException: Application not 
 found: IDE
   at MonoDevelop.Core.ApplicationService.StartApplication (System.String 
 appId, System.String[] parameters) [0x0]
   at MonoDevelop.Startup.SharpDevelopMain.Main (System.String[] args) 
 [0x0]

 --- END ---


 My questions:
 - does anyone know what is going on?
 - how can I make it not complain about MOZILLA_FIVE_HOME... for I have 
 no Mozilla installed and I don't intend to. I currently set it to '/'

 János

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 
   
   
 


 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
   
Hi,

I don't think I am getting the discussion here. Are you trying to start
MonoDevelop, so you've already installed the software on your computer?
Or are you trying to compile the software in order to install it on your
computer. Because Jeffry implies that it is a compile error, while I am
thinking you've already installed it and that there are errors during
initialization time during startup of the software.

Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] namespace System.Windows.Forms cannot be found

2005-04-13 Thread Danny Brugman
Hi,
This might be a real beginners-question, but I couldn't
find an answer anywhere on the internet, nor in the
gnome documentation / Windows Forms home page.
Issue is that I try to compile a very simple hello-world
winforms application (Linux, Fedora FC3). I installed
mono 1.1.6 + winforms rpm + all required dependencies
(libgdiplus, cairo, etc), and I see a System.Windows.Forms
directory in '/usr/lib/mono/gac/'.
After invoking mcs I get the following error:
hello.cs(2) error CS0234: The type or namespace name `Windows' could not 
be found innamespace `System'

Could someone please help me out?
Many thanks,
Danny Brugman
BTW Here is the source:
using System;
using System.Windows.Forms;
using System.Drawing;
class MyForm : Form
{
  MyForm ()
  {
Text = My First MWF App;
  }
  protected override void OnPaint (PaintEventArgs e)
  {
e.Graphics.DrawString (Hello world, Font,
new SolidBrush (Color.Black), ClientRectangle);
  }
  static void Main ()
  {
Application.Run (new MyForm ());
  }
}
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] namespace System.Windows.Forms cannot be found

2005-04-13 Thread Danny Brugman
Hi Armand,
I imagined it would be something as simple as this. Indeed, I did
not reference any assembly on the command line. It now compiles
perfectly, but it won't run - but that's another issue.
Many thanks!
Danny
Armand du Plessis wrote:
What is the command line you used to compile the application?
Did you reference the System.Windows.Forms assembly when you compiled? 

The command line option :  -reference:ASS References the specified
assembly (-r:ASS) 

hth,
Armand

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny Brugman
Sent: 13 April 2005 11:37 AM
To: mono-list@lists.ximian.com
Subject: [Mono-list] namespace System.Windows.Forms cannot be found
Hi,
This might be a real beginners-question, but I couldn't find an answer
anywhere on the internet, nor in the gnome documentation / Windows Forms
home page.
Issue is that I try to compile a very simple hello-world winforms
application (Linux, Fedora FC3). I installed mono 1.1.6 + winforms rpm + all
required dependencies (libgdiplus, cairo, etc), and I see a
System.Windows.Forms directory in '/usr/lib/mono/gac/'.
After invoking mcs I get the following error:
hello.cs(2) error CS0234: The type or namespace name `Windows' could not be
found innamespace `System'
Could someone please help me out?
Many thanks,
Danny Brugman
BTW Here is the source:
using System;
using System.Windows.Forms;
using System.Drawing;
class MyForm : Form
{
   MyForm ()
   {
 Text = My First MWF App;
   }
   protected override void OnPaint (PaintEventArgs e)
   {
 e.Graphics.DrawString (Hello world, Font,
 new SolidBrush (Color.Black), ClientRectangle);
   }
   static void Main ()
   {
 Application.Run (new MyForm ());
   }
}
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] namespace System.Windows.Forms cannot be found

2005-04-13 Thread Danny Brugman
Hi Jordi,
Indeed, this did the trick.
Many thanks,
Danny
Jordi Mas wrote:
El dc 13 de 04 del 2005 a les 11:37 +0200, en/na Danny Brugman va
escriure:
Hi,
This might be a real beginners-question, but I couldn't
find an answer anywhere on the internet, nor in the
gnome documentation / Windows Forms home page.
Issue is that I try to compile a very simple hello-world
winforms application (Linux, Fedora FC3). I installed
mono 1.1.6 + winforms rpm + all required dependencies
(libgdiplus, cairo, etc), and I see a System.Windows.Forms
directory in '/usr/lib/mono/gac/'.
After invoking mcs I get the following error:
hello.cs(2) error CS0234: The type or namespace name `Windows' could not 
be found innamespace `System'

Try
mcs programa.cs -r:System.Windows.Forms -r:System.Drawing
Leave the System.Drawing reference, you may also need it.
Jordi,
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gtksourceview-sharp / gtksourceview conflict on Fedora Core 3

2005-04-07 Thread Danny Brugman
Hi Thomas,

I encountered the exact same problem. The conflicting file
is 'vbnet.lang', which contains the syntax highlighting
definitions for the VB.NET language. This is used by 'gedit',
for example.

This file can safely be overridden by the one provided by
the 'gtksourceview-sharp-0.5-1.novell.9.1' package. Just
use the '-f' option of rpm to force an install, and overwrite
the file. It worked for me.

Kind regards,

Danny Brugman


Thomas Pryds Lauritsen wrote:
 Hi
 
 I'm trying to install monodevelop and its dependencies as RPMs from
 http://www.go-mono.com/archive/1.0.6/fedora-3-i386/ on a fresh install
 of Fedora Core 3. It seems, however, that a file from the
 gtksourceview-sharp package conflicts with one from the already
 installed gtksourceview package, yet it still depends on the package
 being installed.
 
 Here's what I did:
 
 [EMAIL PROTECTED] packages]# rpm -ivh
 monodevelop-0.5.1-1.novell.9.1.i386.rpm
 gecko-sharp-0.6-1.novell.9.1.i386.rpm
 gtk-sharp-1.0.6-0.novell.9.1.i386.rpm
 monodoc-1.0.5-1.novell.9.1.i386.rpm mono-web-1.0.6-1.novell.9.1.i386.rpm
 gtksourceview-sharp-0.5-1.novell.9.1.i386.rpm
 mono-data-1.0.6-1.novell.9.1.i386.rpm
 Preparing...###
 [100%]
 file /usr/share/gtksourceview-1.0/language-specs/vbnet.lang from
 install of gtksourceview-sharp-0.5-1.novell.9.1 conflicts with file from
 package gtksourceview-1.1.0-4.fc3
 
 
 When I tried the same thing after uninstalling the gtksourceview package
 that came with FC3, I got this response:
 
 error: Failed dependencies:
 gtksourceview = 1.0 is needed by
 gtksourceview-sharp-0.5-1.novell.9.1.i386
 
 
 I am not sure what to do since the RPMs I get from go-mono.com are
 supposed to be compiled/packaged for my distribution. I could, of
 course, try building from the tarball myself but if I can I really
 prefer RPMs. Source-RPMs will do fine, too, but I can't seem to find
 them at go-mono.com, and I don't know if it would actually solve the
 problem.
 
 What would you suggest me to do?
 
 Thanks in advance,
 Thomas Pryds Lauritsen
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 
 
 


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono 1.1.5 yum repository for FC3 is broken

2005-03-30 Thread Danny Brugman
After deciding to give Mono a try, I attempted to install it using
yum on my Fedoro Core 3 machine. I'm using the following repository:
  http://www.go-mono.com/archive/1.1.5/fedora-3-i386/
(as indicated on http://www.mono-project.com/Downloads)
However, this repostitory seems to be broken, I receive the following
error message:
  Cannot open/read repomd.xml file for repository: mono115
  Cannot find repomd.xml file for mono115
This problem seems to have occured before, with the 1.1.4 release:
http://archive.neotonic.com/archive/mono-list/browse_frm/thread/7923/25909
The 1.0.6 repository is valid, but trying to yum-install mono from
that repository results in:
Error: Missing Dependency: libicuuc.so.26 is needed by package mono-core
Error: Missing Dependency: libicudata.so.26 is needed by package mono-core
Error: Missing Dependency: libicui18n.so.26 is needed by package mono-core
Installing 'libicu' from the Fedora Extras repository doesn't fix this.
I hope somebody can help me out and fix the repositories.
Many thanks.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mod_mono for Apache2 (Windows) installation

2004-02-02 Thread Danny Meier








Hi



I have downloaded the Win32 package from www.go-mono.com/download and I have
installed it.

But where is de mod_mono module for
Apache2? I cant see it.



I havent a compiler installed on my
system. And I wont do it ;)



Exist the modul (so, dll) as a Download on
the web?



Greets

Danny Meier