Re: [Mono-list] VB problems

2008-05-01 Thread Oleg Deribas
Lyle - CosmicPerl.com Support wrote:

>   This is the only version of Mono we've managed to get working. We've 
> tried new versions but without much luck. As Mono-Project only provide 
> 32bit RPM's for RHEL4 I'm guessing there are problems getting it to work 
> on 64bit  RHEL5.

There is repository here: http://anmar.eu.org/

-- 
Oleg

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


Re: [Mono-list] Documentation for Mod_Mono

2008-04-29 Thread Oleg Deribas
Andre van Staden wrote:

> Where can I find the Official Documentation for this module please ?

http://www.mono-project.com/Mod_mono

-- 
Oleg

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


Re: [Mono-list] Packaged .NET Software for Linux

2008-04-20 Thread Oleg Deribas
Andrew Jorgensen wrote:

> We focus on the current openSUSE release so some of the packages may not
> be building on Fedora yet.  If there are open source .NET programs you'd
> like to see added please let me know and we'll consider it.

Is it possible to package latest version of Firebird .NET provider?
The version packaged with mono is old 1.7 version, and current stable 
version is 2.1.0, and unstable 2.5a2 according to project's page:

http://www.firebirdsql.org/index.php?op=files&id=netprovider

-- 
Oleg

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


Re: [Mono-list] Detect OS using mono framework

2008-03-26 Thread Oleg Deribas
Hi,

Scott Graves wrote:

> I now have a requirement to execute a method based on the targeted OS. 
> As of today, the code is 100% portable across OS X, Linux, and Wn32. 
> Using the mono framework, is there a way to determine this by using a 
> Conditional attribute or any other means?

Partially it is described here:
http://mono-project.com/FAQ:_Technical#How_to_detect_the_execution_platform_.3F

-- 
Oleg

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


Re: [Mono-list] Starting MONO ASP.NET development: Tips/Gotchas request

2008-01-22 Thread Oleg Deribas
Joshua Tauberer wrote:

>> Is there any mono RPMs for CentOS 5?
> 
> I'm using the RHEL4 rpms... or maybe Fedora 5. Or both. Not sure at the 
> moment.
> 
> Now that I think about it, I may have had some dependency issues after 
> all that I (forgot about and) just ignored with rpm --nodeps or 
> something. So maybe I should take back that CentOS was OK...

Also, it seems that there are not x86_64 RPMs for CentOS at all ...

-- 
Oleg

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


Re: [Mono-list] Starting MONO ASP.NET development: Tips/Gotchas request

2008-01-22 Thread Oleg Deribas
Joshua Tauberer wrote:

> I can only say that I have had no problems in particular with Fedora (in 
> the past) and CentOS (which I use now)... more or less (see below).

Is there any mono RPMs for CentOS 5?
Or you built it by yourself?

-- 
Oleg

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


Re: [Mono-list] Webservices and return data types

2008-01-15 Thread Oleg Deribas
Bálint Kardos wrote:

> The only problem was when I've tried to
> connect to this web service from Visual Studio, it said when i've
> tried to add a web reference:
> 
> The document at the url http://x.hu/WebShop.asmx was not
> recognized as a known document type.

> However by explicitly calling the Url http://.hu/WebShop.asmx?disco
> Visual Studio finally was able to use all functions from the service.

Very clever! I will try that too. Thank you!

> I saw that I mcs is still unable to build this web service on the
> linux, but who cares, we can build it with the ms frameworks build
> tools (without VS) :D

Why can't you build web service with mcs? I'm compiling my web service 
on linux. I just had to create nant build file.

-- 
Oleg

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


Re: [Mono-list] Webservices and return data types

2008-01-15 Thread Oleg Deribas
Bálint Kardos wrote:

> i'm trying to port a VisualStudio2005 project to mono. It has a
> webservice with the following code:

> with the MS framework, the DataSet type is fully functional,
> with mono, it generates an exception:

It used to work. But I've tried it more than year ago.

But how do you use web services on mono? Web services on mono are 
completely unusable for me because of this bug:
https://bugzilla.novell.com/show_bug.cgi?id=343174

-- 
Oleg

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


Re: [Mono-list] mono messaging

2007-12-16 Thread Oleg Deribas
Dan Smithers wrote:

> Does mono have a messaging system that I can use to communicate between
> threads? I see that System.Messaging has not been implemented yet.

You could use http://activemq.apache.org/
The server itself is written in java, but they have .NET client.

-- 
Oleg

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


Re: [Mono-list] mono 1.2.5.1 web services

2007-11-20 Thread Oleg Deribas
Atsushi Eno wrote:

> Yes. As I wrote earlier, there is no live bug report on such a bug.

Done: https://bugzilla.novell.com/show_bug.cgi?id=343174

> Though I'm quite not sure what you are doing (especially because you
> say you do something for Visual Studio 2005 project).

I've tried to use wsdl.exe from .NET SDK and mono's wsdl utility - it 
doesn't work either. Even with TestService.asmx from xsp test suite.

--
Oleg

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


Re: [Mono-list] mono 1.2.5.1 web services

2007-11-19 Thread Oleg Deribas
Atsushi Eno wrote:

> There's no 1.2.6 stuff yet. But you can always try the daily builds
> (as long as the build is alive). http://mono.ximian.com/daily/

I've tested latest 1.2.6 preview today and it has the same problem with
web services as described here:
http://lists.ximian.com/pipermail/mono-devel-list/2007-August/024603.html

When I'm opening web service URL in browser it looks good.
When I'm trying to add web reference to visual studio 2005 project I
have the following error message:

-
The document at the url http://192.168.1.1/webservice/ was not
recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'DISCO Document' is 'There was an error downloading
'http://192.168.1.1/<%25=Request.FilePath%25>?disco'.'.
   - The request failed with HTTP status 404: Not Found.
- Report from 'WSDL Document' is 'The document format is not recognized
(the content type is 'text/html; charset=utf-8').'.
- Report from 'XML Schema' is 'The document format is not recognized
(the content type is 'text/html; charset=utf-8').'.
- Report from 'http://192.168.1.1/webservice/' is 'The document format
is not recognized (the content type is 'text/html; charset=utf-8').'.
-

The same web service works in mono 1.2.4 without any problems.
Should I file this in bugzilla?

--
Oleg


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


Re: [Mono-list] mono 1.2.5.1 web services

2007-10-17 Thread Oleg Deribas
Hello,

Atsushi Eno said the following on 17.10.2007 13:22:

> I think there was such a bug report (not sure though; the branch for
> 1.2.5 was cut more than 3 months ago). Now I see no live bug report
> that looks like this one. So the issue had probably gone. But you
> won't see such fixes until 1.2.6. (You said 1.2.5 is broken, and
> asking if it is fixed in 1.2.5. The answer would be always "no".)

I'm sorry, I meant to ask if it is fixed in 1.2.5.1 ;-)

So I will wait until 1.2.6 is released. Is there any 1.2.6 preview 
release planned so I could test it?

-- 
Oleg

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


[Mono-list] mono 1.2.5.1 web services

2007-10-17 Thread Oleg Deribas

Last month when I've tried to update mono from 1.2.4 to 1.2.5 on my 
server, I've found that my web service isn't working anymore - I can't 
update web reference from VS2005. Th bug was similar to what described here:

http://lists.ximian.com/pipermail/mono-devel-list/2007-August/024603.html

Now I'm wonder if this bug was fixed in 1.2.5? I can't find any mention 
of web services in the release notes:

http://www.go-mono.com/archive/1.2.5/

-- 
Oleg

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


Re: [Mono-list] Message Queues

2007-08-16 Thread Oleg Deribas
Hello,

Adrien Dessemond said the following on 17.08.2007 5:39:

>>> is it possible to use Message Queues like MSMQ on linux with mono?
>> You could use http://activemq.apache.org/
> 
> Just for my curiosity, has someone ever managed to use a Jabber server
> for achieving this kind of functionality ? I am curious to see if XMPP
> can be used to make an application aware of another and use an
> asynchronous communication channel..

ActiveMQ supports XMPP transport.

-- 
Oleg

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


Re: [Mono-list] Message Queues

2007-08-16 Thread Oleg Deribas
Hello,

Ales Vojacek said the following on 16.08.2007 16:43:

> is it possible to use Message Queues like MSMQ on linux with mono?

You could use http://activemq.apache.org/

-- 
Oleg

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


Re: [Mono-list] Mono on RHEL5

2007-08-01 Thread Oleg Deribas
Hello,

Adrien Dessemond said the following on 18.07.2007 15:13:

> I have installed it on a Centos 5 (the bad way : use packages built for
> RHEL4 dependencies) 

> In last resort, you can also use the generic installer. It works fine.

I'm also want to install mono on Centos 5 x86_64, but there are not any 
rpms for RHEL4 nor generic installer for x86_64 on mono download page.

So is there any way to install mono on Centos 5 x86_64 from rpms?

-- 
Oleg

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


Re: [Mono-list] Database in a file

2007-05-18 Thread Oleg Deribas
Hello,

Kamil Skalski said the following on 18.05.2007 14:43:

> It would be great to have some comparison analysis for Sqlite and
> Firebird. Do you know any sites with such information or have your own
> experiences?

There was something on sqlite's site.
We're using firebird in many projects. The difference between sqlite and 
firebird is that sqlite is embedded database engine, and firebird - 
fully functional database server which comes in two flavours - embedded 
and client/server. And it scales easily from embedded to multiuser 
client/server with just changing connection string.

-- 
Oleg

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


Re: [Mono-list] Call for testing: Mono 1.2.4 Preview Available

2007-04-24 Thread Oleg Deribas
Hello,

Marek Habersack said the following on 23.04.2007 11:01:

>> I've installed preview and I have exactly the same problem as described 
>> here:
>> http://lists.ximian.com/pipermail/mono-list/2007-April/034836.html
>>
>> It seems that it happens with any webservice compiled with gmcs and 
>> served with xsp2.
> Can you file a bug describing the issue and attach a simple test case? Thanks
> in advance,

Done:
http://bugzilla.ximian.com/show_bug.cgi?id=81443

-- 
Oleg

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


Re: [Mono-list] Call for testing: Mono 1.2.4 Preview Available

2007-04-23 Thread Oleg Deribas
Hello,

Wade Berrier said the following on 21.04.2007 7:26:

> Mono 1.2.4 preview sources, packages, and installers are available at:

I've installed preview and I have exactly the same problem as described 
here:
http://lists.ximian.com/pipermail/mono-list/2007-April/034836.html

It seems that it happens with any webservice compiled with gmcs and 
served with xsp2.

-- 
Oleg

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


Re: [Mono-list] mono-service

2007-03-28 Thread Oleg Deribas
Hello,

Jyoti Seth said the following on 28.03.2007 12:20:

> I want to run my window service on suse linux 10.0 SP1 system. I have 
> read about mono-service on net with which it is possible. I have already 
> installed mono on my system and my asp.net application is running . But 
>  I didn’t find mono-service anywhere on the system.
> 
> Do I need to seperately install mono-service on my suse linux system.

mono-service and mono-service2 are in mono-extras rpm.

-- 
Oleg

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


Re: [Mono-list] Nullable types in web services

2007-02-14 Thread Oleg Deribas
Hello,

Atsushi Eno said the following on 14.02.2007 11:26:

> If the exact reported bug still happens then please reopen. Otherwise 
> filing a new bug is better, as your issue is likely related to different 
> issue then.

Done: http://bugzilla.ximian.com/show_bug.cgi?id=80847

-- 
Oleg

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


Re: [Mono-list] Nullable types in web services

2007-02-14 Thread Oleg Deribas
Hello,

Andrés G. Aragoneses [ knocte ] said the following on 18.01.2007 22:21:

> http://bugzilla.ximian.com/show_bug.cgi?id=80551

I've tried to get nullable integer from web service using latest mono 
1.2.3 and it still doesn't work. It seems there is another problem.

For testing I use simple method:

int? GetNull()
{
 return null;
}

Here is fragment of WSDL I've got from IIS:


   
 
   
 
   


and this is what I've got from XSP2:


   
 
   
 
   


The difference is that mono doesn't set nillable="true" attribute.
Should I reopen bug 80551 or it is another bug and should be filed 
separately?

-- 
Oleg

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


Re: [Mono-list] System.Drawing.Image serialization

2007-01-19 Thread Oleg Deribas
Hello,

Sebastien Pouliot said the following on 19.01.2007 15:42:

> Looks like it, if MS can serialize an Image so should Mono. Please fill
> a bug into bugzilla for this.

Done:
http://bugzilla.ximian.com/show_bug.cgi?id=80558

> But note that it's very likely that Mono and MS serialized images won't
> interoperate (different internal representation) and it's also a
> wasteful way to send the image. 
> 
> You should look at saving the image into a stream (e.g. as a PNG image),
> serialized the stream, then re-created the image from the stream on the
> other end.

Thanks for the tip.

-- 
Oleg

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


[Mono-list] System.Drawing.Image serialization

2007-01-19 Thread Oleg Deribas
Hello,

I'm trying to use System.Drawing.Image in web service and have the
following exception:

System.InvalidOperationException:
There was an error reflecting field 'TechStatusImage'.
---> System.InvalidOperationException:
There was an error reflecting type 'System.Drawing.Image'.
---> System.InvalidOperationException:
There was an error reflecting field 'Palette'.
---> System.InvalidOperationException:
There was an error reflecting type 
'System.Drawing.Imaging.ColorPalette'.
---> System.InvalidOperationException:
System.Drawing.Imaging.ColorPalette cannot be serialized because it does
not have a default public constructor

And I noticed that Microsoft's ASP.NET doesn't even try to reflect
Palette field and produces such output in the example response:






Is it a bug in mono?

-- 
Oleg

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


Re: [Mono-list] Nullable types in web services

2007-01-19 Thread Oleg Deribas
Hello,

Atsushi Eno said the following on 18.01.2007 21:16:

> You are too quick to get excited. Actually my guess (that was with
> buggy CodeDom) that my System.Xml fix would fix this specific WSDL
> issue was not correct. It is not fixed and no idea when it will be
> fixed.

No, I insist! And I see in bugzilla that you have fixed it anyway ;-)

-- 
Oleg

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


Re: [Mono-list] Nullable types in web services

2007-01-18 Thread Oleg Deribas
Hello,

Atsushi Eno said the following on 18.01.2007 8:41:

> Oh, ok, so it's all about wsdl.exe and in that sense you are right :)
> Actually I cooked a fix in System.Xml, but turned out that
> some CodeDom love is needed as well. I'll fix them as well.

Thank you! Will wait for next release.

-- 
Oleg

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


Re: [Mono-list] Nullable types in web services

2007-01-17 Thread Oleg Deribas
Hello,

Andreas Färber said the following on 17.01.2007 21:30:

>> But I can't get it to work. Could you please explain what I should  
>> do to get the same results from ASP.NET and xsp2?
> 
> In case it's not obvious: Just modify the generated code!

There are many reasons not to do that. Is it an only possible solution?

> As you said yourself, the XML is fine. Maybe Microsoft is simply  
> checking against a hardcoded xsi prefix (the xsp XML had d1p1  
> instead). Doesn't Mono have a similar tool you could check?

Sure it have. But mono's wsdl2 tool generates the same result with the
service running on xsp2:

public int GetNull()

And when web service is running under ASP.NET mono's wsdl2 generates
just "Error: Cannot cast from source type to destination type."

-- 
Oleg

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


Re: [Mono-list] Nullable types in web services

2007-01-17 Thread Oleg Deribas
Hello,

Atsushi Eno said the following on 17.01.2007 17:49:

Thanks for your answer.

>> Here is output from the latest mono + mod_mono using xsp2:
>> And here is what I've got from IIS and ASP.NET 2.0:

I'll skip XML for better readability.

> So, what's the problem? They are exactly equivalent.

Yes, they are equivalent in XML sense, but wsld.exe from microsoft's SDK
generate different C# proxies for GetNull method:

when web service is running under ASP.NET:
public System.Nullable GetNull()

and running under xsp2:
public int GetNull()

>> So, is there any possibility to make nullable types work in xsp2?
> Against your expectation, it is already working.

But I can't get it to work. Could you please explain what I should do to
get the same results from ASP.NET and xsp2?

-- 
Oleg

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


[Mono-list] Nullable types in web services

2007-01-17 Thread Oleg Deribas
Hello,

Does mono support nullable types in web services? I'm trying to test it
with simple method like this:

[WebMethod(Description="Test nullables")]
public int? GetNull()
{
return null;
}

Here is output from the latest mono + mod_mono using xsp2:


http://www.w3.org/2001/XMLSchema-instance";
  xmlns="http://localhost/webservice/WebService.asmx"/>

And here is what I've got from IIS and ASP.NET 2.0:


  http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xsi:nil="true"
  xmlns="http://localhost/webservice/WebService.asmx"; />


Result is that in VS 2005 web reference this method has plain Int32
result value type instead of nullable Int32.
So, is there any possibility to make nullable types work in xsp2?

BTW, I've found similar topic dated 2003:
http://thread.gmane.org/gmane.comp.gnome.mono.devel/3269/focus=3272

-- 
Oleg

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


Re: [Mono-list] C# command line parsing library

2007-01-04 Thread Oleg Deribas
Hello,

Chris Seaton said the following on 04.01.2007 13:02:

> Is there a library for parsing command lines in C#? 

There is support for command line parsing in nini library:
http://nini.sourceforge.net/

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


Re: [Mono-list] COM Refference Error

2006-12-26 Thread Oleg Deribas
Hello,

Mohammad Abul Khayer said the following on 26.12.2006 10:15:

> Does mono need registration to use external DLL???

Read this: http://www.mono-project.com/Interop_with_Native_Libraries

-- 
Oleg

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


Re: [Mono-list] System.Messaging assembly ?

2006-12-13 Thread Oleg Deribas
Hello,

laas said the following on 13.12.2006 9:43:

> I'm planning to develop a little application having the possibility to
> send Instant Message using the Jabber protocol. I don't know the
> features of OpenWire protocol, but I will read its specifications as
> soon as possible.

You could use ActiveMQ and its .NET client directly:
http://incubator.apache.org/activemq/dot-net.html

BTW there is XMPP/Jabber Support in the latest ActiveMQ 4.1 - ActiveMQ
can now send and receive message from a XMPP network.

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


[Mono-list] xsp in mono 1.1.18

2006-10-25 Thread Oleg Deribas
Hello,

I'm trying xsp test web server. I've installed mono 1.1.18 and run "XSP
2.0 Test Web Server"

When trying to access
http://localhost:8088/1.1/webservice/TestService.asmx I have the
following exception:
System.DllNotFoundException: libc.so.6

When I'm trying to run "XSP Test Web Server" (without 2.0),
TestService's page works, but service proxy generation doesn't work
anyway with the System.InvalidOperationException.

Then I decided to try the same on the linux computer. And with xsp the
results were the same while with xsp2 it worked.

So I have a question. Is xsp supposed to work on windows or should I
leave my attempts and use linux?

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


Re: [Mono-list] a GTK# application multi platform

2006-10-19 Thread Oleg Deribas
Hello,

[EMAIL PROTECTED] said the following on 19.10.2006 16:32:

> But if i understood, normally when you install mono on Windows, this
> libraries are recorded in the  MS GAC, isn't it ?

No, these libraries are installed in Mono's GAC, so your application
will use these libraries only if run like this:
mono Application.exe"

To use these libraries with MS runtime you should install separate
copies into MS GAC.

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


Re: [Mono-list] mono 1.1.16.1 NotImplementedException in System.Data

2006-08-17 Thread Oleg Deribas
Hello,

Atsushi Eno said the following on 17.08.2006 18:49:

> Seems like there actually is a problem - see r63919 comment.

Does it mean that firebird .net provider's maintainer should address
this issue? Will just changing AssemblyVersion be enough?

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


Re: [Mono-list] mono 1.1.16.1 NotImplementedException in System.Data

2006-08-10 Thread Oleg Deribas
Hello,

Miguel de Icaza said the following on 09.08.2006 17:51:

>> Is this going to be implemented soon, or should I try to limit my code
>> with .NET 1.1 features?
> 
> We recommend that you stick to 1.1 until we officially release Mono 2.0

Thanks, Miguel.

But I'm just wondering why there is not FirebirdSql.Data.Firebird.dll in
mono's GAC for .NET 2.0 ? It seems that it could be built with gmcs...

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


[Mono-list] mono 1.1.16.1 NotImplementedException in System.Data

2006-08-09 Thread Oleg Deribas
Hello,

I'm trying to use FirebirdSql.Data.FirebirdClient.dll for .NET 2.0 with
latest mono 1.1.16.1. And I've got the following exception:

System.NotImplementedException: The requested feature is not implemented.
  at System.Data.Common.DbDataAdapter.set_SelectCommand
(System.Data.Common.DbCommand value) [0x0]
  at FirebirdSql.Data.FirebirdClient.FbDataAdapter.set_SelectCommand
(FirebirdSql.Data.FirebirdClient.FbCommand value) [0x0]
  at FirebirdSql.Data.FirebirdClient.FbDataAdapter..ctor
(FirebirdSql.Data.FirebirdClient.FbCommand selectCommand) [0x0]
  at (wrapper remoting-invoke-with-check)
FirebirdSql.Data.FirebirdClient.FbDataAdapter:.ctor
(FirebirdSql.Data.FirebirdClient.FbCommand)
  at TestFb20.SQL (System.String sql) [0x0]

Is this going to be implemented soon, or should I try to limit my code
with .NET 1.1 features?

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


Re: [Mono-list] Auto Running Processeses

2006-06-19 Thread Oleg Deribas
Hello,

Lee said the following on 19.06.2006 18:37:

> I am writing a TCP socket server and want it to run as an automatic process.  
> Should that be written as a console app or as a Service app?

If you want to deal with sockets directly - you should create service.

But you could just create simple console application dealing with
stdin/stdout and run it under inetd/xinetd.

-- 
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: full duplex sockets and threads

2006-05-08 Thread Oleg Deribas
Hello,

Robert Jordan said the following on 08.05.2006 15:50:

>> And what if I use asynchronous calls - BeginSend/BeginReceive?
>> Should I provide some sort of my own synchronization mechanism then?
> 
> These are thread safe.

Thanks for your answer, it's great! There is another thing I would like
to know - what if I will simultaneously call BeginSend several times
from several different threads? Will these calls form some sort of
internal queue and will they complete in the FIFO order? Or maybe I
should create this queue myself and call each BeginSend only when
previous call completed?
And if so, will it be portable to microsoft's frameworks - 1.1 and 2.0?

-- 
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] full duplex sockets and threads

2006-05-08 Thread Oleg Deribas
Hello,

Jonathan Pryor said the following on 08.05.2006 13:42:

> The boilerplate message actually means "don't attempt to use an instance
> of Socket from multiple threads simultaneously without using a
> synchronization mechanism."

And what if I use asynchronous calls - BeginSend/BeginReceive?
Should I provide some sort of my own synchronization mechanism then?

-- 
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] About Report Writer

2006-04-13 Thread Oleg Deribas
Hello,

Romulo said the following on 13.04.2006 16:32:

> I want to know : How do you do to -into mono- build a report of data
> from database -postgresql- and show to the user it ?.
> I have a new (first) application in ASP.NET  into
> apache2 + mod_mono, and I have to build a few reports.

You could try this:
http://reportman.sourceforge.net/doc/dotnetport.html

-- 
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Remoting between mono and CF.NET

2006-02-28 Thread Oleg Deribas

Hello,

Miguel de Icaza said the following on 27.02.2006 19:41:

I'm looking for the way to transfer arbitrary objects between 
Compact.NET application on PocketPC and mono application on linux.



Try Ice from ZeroC.com


Thanks for the suggestion, Miguel. Although Ice is great, but they do 
not support Compact.NET framework yet ;(


--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Remoting between mono and CF.NET

2006-02-26 Thread Oleg Deribas

Hello,

I'm looking for the way to transfer arbitrary objects between 
Compact.NET application on PocketPC and mono application on linux.

And I need it bidirectional, so web service will not suit here.

I'd use remoting, but CF.NET doesn't support it.

Are there any solutions for such task?

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Numbers with ","

2006-02-11 Thread Oleg Deribas

Hello,

xavier de Blas said the following on 11.02.2006 12:15:


When I INSERT in SQL i always insert with '.' as decimal point
separator, i do it like this:


Why not use parametrized query instead?

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: Long-running services

2006-01-23 Thread Oleg Deribas

Hello,

Mario Munda said the following on 23.01.2006 11:17:

I have to write an application running under FreeBSD, and I choose Mono, 
because it is simple.. This app does not need GUI, and it has to run as 
a deamon.
I know how to design and develop app, but i don't know how to set it to 
run as a deamon.


Use System.ServiceProcess namespace and mono-service to run it as daemon 
(man mono-service). I'm not sure if it have any differences on FreeBSD, 
but I've tested it on linux and it works as expected.


--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] xsp as a daemon

2006-01-06 Thread Oleg Deribas

peter wrote:

One thing I notice that someone might like to comment on is that xsp is 
running as root.  Is this secure?  If not, what can I do about it?


I tried changing the ownership of the  script in /etc/init.d from 
root:root to peter:users, and then stopped and started the service, but 
it hasn't made any difference.  The links in rc5.d etc are still 
root:root.  Should I mess with those?


Maybe you could try to start xsp via "sudo -u wwwrun ..." from script?

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] xsp as a daemon

2006-01-04 Thread Oleg Deribas

peter wrote:

Could you, please, post your results here in case you'll have any 
success?



Here's what I have so far, namely a script (called xspd)


Thanks, Peter. It will definitely help. Running apache to do simple
tasks is huge overkill, sometimes... ;-)

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] xsp as a daemon

2006-01-03 Thread Oleg Deribas

peter wrote:


Inside the /etc/init.d directory is a skeleton file.  Edit that to your
heart's content.  There are instructions in the file itself.  Then 
install

your new script with insserv.



Thanks Clint.  I'll be giving it a go.


Could you, please, post your results here in case you'll have any success?

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Need a Reporting Tool

2005-12-20 Thread Oleg Deribas

Gayan Perera wrote:

I have tried the FyiRDL reports, but any body know a better tool like 
JasperReports(java) and Crystal(Win32) for Mono also. please if some 
body knows send me the URL, i'm stuck with my systems reports.


There are some news from the author of Report Manager - 
http://reportman.sf.net/ that in the next release it will support .NET 
(and he has mentioned mono there):


http://groups.yahoo.com/group/reportman/message/6707

Unfortunately, for some reason, you should be member of reportman yahoo 
group to see the message.


--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: mod_mono + Windows

2005-12-14 Thread Oleg Deribas

Angel Marin wrote:


MonoApplications default "/test:c:\Archiv~1\Mono-1~1.1\lib\xsp\test"


When MonoApplications is used, ':' can't be part of the path used. So it 
should be:


MonoApplications default "/test:/Archiv~1/Mono-1~1.1/lib/xsp/test"

And it will only work if apache is installed in c: otherwise you need to 
use the other possible ways of configuring apps.


Thank you. I've just got mod_mono to work also!

Could you please put this advice on the mod_mono-win32 page. Possibly it 
will save couple of hours for someone like me ;)


--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] MySql version for mono 1.1.10

2005-12-13 Thread Oleg Deribas

Evgeny Pirogov wrote:

For my simple test application with MySql server connection I have next 
exception :


MySqlException : Client does not support authentication protocol 
requested by server; consider upgrading MySql client.


http://dev.mysql.com/doc/refman/5.0/en/old-client.html

And, in general, - do not use MySQL at all ;-)

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Web service returning DataSet

2005-11-11 Thread Oleg Deribas

Ivano Luberti wrote:


Thanks Oleg, when it will be released ?



Maybe I have lost some messages: how endend up this request by  Oleg ?


Here is reply from Lluis Sanchez:

http://permalink.gmane.org/gmane.comp.gnome.mono.general/24519

And I'm waiting for the next release.


Today I've tested mono 1.1.10 - and it works nice. Thanks to developers!

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Need a Reporting Tool

2005-11-10 Thread Oleg Deribas

Gayan Perera wrote:

I have tried the FyiRDL reports, but any body know a better tool like 
JasperReports(java) and Crystal(Win32) for Mono also. please if some 
body knows send me the URL, i'm stuck with my systems reports.


There was two reporting engines for mono mentioned in this list:

1. SBReport:
http://home.metroweb.co.za/[EMAIL PROTECTED]/Gesin/Willem/Willem.htm
http://permalink.gmane.org/gmane.comp.gnome.mono.general/22421

2. MyNeoReport:
http://www.neodatatype.net/?page=myneoreport

I've not used any of this.

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Command Line Parsing

2005-11-08 Thread Oleg Deribas

Abe Gillespie wrote:

2.  I think I ran into a bug playing around with the command line. 
When I send an asterisk "*" as one of the arguments I get some weird
stuff.  


Try to place asterisk in quotes like this:

mono yourprogram.exe "*"

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Command Line Parsing

2005-11-08 Thread Oleg Deribas

Abe Gillespie wrote:


1.  Is there a utility class out there that helps parse command line
arguments in a standard way?


More or less: http://nini.sourceforge.net/

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Web service returning DataSet

2005-11-08 Thread Oleg Deribas

Ivano Luberti wrote:


Maybe I have lost some messages: how endend up this request by  Oleg ?


Here is reply from Lluis Sanchez:

http://permalink.gmane.org/gmane.comp.gnome.mono.general/24519

And I'm waiting for the next release.

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Porting ASP.NET app from IIS to XSP

2005-11-07 Thread Oleg Deribas

Joe Audette wrote:


I would look into implementing an ajax type solution
that populates the dropdown with just a few items at a
time based on what the user keys.

I have implemented a solution like this in my
mojoportal project. I recently split that out of the
main project into mojoPortal.Web.Controls.dll and the
control is called SmartCombo or SmartDropDown I can't
remember off hand. 


Could you please provide simple example of SmartCombo usage?
Or there is some documentation and I've missed it?

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Web service returning DataSet

2005-11-07 Thread Oleg Deribas

Oleg Deribas wrote:

Mono gives me method which returns System.Xml.XmlElement instead of DataSet. 


So, could anyane to confirm it is bug in the mono? Or should I post it 
to bugzilla?


--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Web service returning DataSet

2005-11-04 Thread Oleg Deribas

Hello,

Can't get this to work. Mono gives me method which returns 
System.Xml.XmlElement instead of DataSet. To test it i've created such 
simple case:


 begin testdataset.asmx ---
<%@ WebService Language="C#" Class="Test.DataSetService" %>
using System.Web.Services;
using System.Data;

namespace Test
{
  public class DataSetService: WebService
  {
[WebMethod]
public DataSet MethodReturningDataSet()
{
  return new DataSet();
}
  }
}
- end testdataset.asmx 

Then run xsp in this directory:
xsp --root . --port 8088 --applications /:.

And then look at http://localhost:8088/testdataset.asmx?page=proxy&;

And here I have such MethodReturningDataSet definition:
public System.Xml.XmlElement MethodReturningDataSet()

while when running under microsoft's .NET runtime I've got this:
public System.Data.DataSet MethodReturningDataSet() {

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] XSP or mod_mono restart as in IIS?

2005-11-04 Thread Oleg Deribas

[EMAIL PROTECTED] wrote:


I would like to know if the changes that one makes in a config or
aspx file in a web application would be automatically picked up as in
MS IIS. I read that this was true of the older mono versions.


Use control panel: http://www.mono-project.com/Mod_mono#Control_panel

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Porting ASP.NET app from IIS to XSP

2005-11-02 Thread Oleg Deribas

Joe Audette wrote:


I don't mean to sound harsh or critical but whether
under IIS or xsp I would not ever recommend populating
a dropdown list with 4000 items. That is ridiculous
from a usability point of view. The user should not
ever have to scroll through 4000 itmes to find the one
they are looking for.


Sure, I understand that. And I'm looking for way to avoid such a
situation. But I think that XSP should not shut down quetly in that
situation anyway.


I have implemented a solution like this in my
mojoportal project. I recently split that out of the
main project into mojoPortal.Web.Controls.dll and the
control is called SmartCombo or SmartDropDown I can't
remember off hand. You are welcome to borrow this code
for your needs as it is open source. 


Thank you, Joe. I thought about something like that, and I will try to
use it.

--
Oleg


smime.p7s
Description: S/MIME Cryptographic Signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Porting ASP.NET app from IIS to XSP

2005-11-01 Thread Oleg Deribas


I have asp.net application which successfully works under IIS on 
windows. Now I'm truing tu run it under XSP. It basically works, but 
there is place where it should fill combo box with values. When there 
are relatively small count of items - it works nice, but when it is 
filled with more than 4000 items - XSP quietly exits witout no messages 
(XSP is running with --verbose option).


Is there any way how could I debug this problem?

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