[Mono-list] Re: Mono Beta2 packages for Fedora Core 2 to arrive by the end of the week

2004-06-04 Thread Ecmel Ercan
Any news on this?


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] modmono and apache + mod-mono bug

2004-06-04 Thread KiOrKY
hi,
how can i defnine my web applications somewhere else than in the http.conf?? besause 
with the mod-mono MonoApplicationsConfigDir i have a "non Applications specified"!!!
 /usr/local/sites_web/conf is my directory where i have xml based config files
 /usr/local/sites_web is my document root
 mod-mono works if i put these informations into httpd.conf


Another question, why am i obliged to kill modmono processes by hand? BUG?
regards
-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Installing beta 2

2004-06-04 Thread Pablo Chacin


Hi all
 
I'm trying to install mono beta 2. I would like to get the whole mono stuff but the source (I'm just tipping the waters). The first time I tried it, I couldn't get either the monodevelop or the monkey guide.
 
There are several options incl: using red carpet, using cvs, downloading the rpm, 
 
I have Red Carpet using Novell's Red Carpet server (I'm a Novell employee). I updated the Mono channel but it seams it is outdated and installed the beta 1. 
 
Then, I tried to download the mono-all.zip but it hangs at 0% percentage. 
 
I haven't tried the cvs option because last time I used it with beta 1, I just couln't compile it. Also, it is not clear for me what do I need to get to have all the pieces of mono.
 
What is the recomended way to get mono? 
 
Thanks
 
 
Pablo 


[Mono-list] Problemas con el autogen.sh

2004-06-04 Thread jgorrin
Hola:

Estamos teniendo problemas con el autogen.sh. Despues de bajarnos mono /
mcs por el CVS, estamos intentando ejecutar el autogen.sh y nos da el
siguiente error.

>Running libtoolize...
>Running aclocal  ...
>Running autoheader...
>configure.in:698: warning: AC_TRY_RUN called without default to
>allow cross compiling
>configure.in:798: warning: AC_TRY_RUN called without default to
>allow cross compiling
>Running automake --gnu  ...
>mono/mini/Makefile.am:166: invalid unused variable name:
>`nodist_libmono_la_SOURCES'
>runtime/net_2_0/Makefile.am:77: warning: automake does not support
>conditional definition of gac_assemblies in EXTRA_DIST
>runtime/net_2_0/Makefile.am:75: warning: automake does not support
>conditional definition of local_mscorlib in corlib_DATA
>

No sabemos que puedes, tenemos la version más nueva del automake.

Gracias por cualqueir ayuda que nos puedan dar.
Un Saludo.
jeannette.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] COM+,mono, and transaction

2004-06-04 Thread KiOrKY
so for distribued transaction with rollbac capability, its not possible?
i say just that because in exploitation or industry, this point is very important ! 
and its a bad poin nto mono if it cant implement it!
however keep on good work!
regards
Daniel Morgan <[EMAIL PROTECTED]> wrote :

> Mono does not support COM/OLE2/ActiveX/DCOM/MTS/COM+.
> 
> COM+ distributed transactions are in the .NET API
> System.EnterpriseServices.  However, Mono only has
> System.EnterpriseServices stubbed.  
> 
> It would be very difficult to implement COM+ transaction capability in
> Mono.
> 
> There are alternative technologies, such as, Remoting.Corba, which could
> be modified to provide transaction support.  I am only guessing here
> since I never done CORBA stuff before.
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of KiOrKY
> Sent: Thursday, June 03, 2004 3:06 AM
> To: [EMAIL PROTECTED]
> Subject: [Mono-list] COM+,mono, and transaction
> 
> 
> Hi, 
> i want to know if the actually state of mono support COM+ distribued
> transactions ( transaction disribuées en francais). It meaans if we make
> robusts mutibase transaction with a rollback possibility. Sorry,
> sometimes my english is poor, especially in the early morning ;) !
> regards
> -- 
> 
> - Gloire au monde libre-
> 
> I{ i () r |{ Y
> Debian User
> -
> -- Mathieu PASQUET 
> -- Testeur Debian SID
> -- irc: #debian-fr / irc.freenode.net port: 6667 
> -- Site: www.fr.debian.org 
> -
> 
> 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list

-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] webservices and mozilla

2004-06-04 Thread KiOrKY
i have a bug, dont know why.
with ie, the webservice client application is working fine, but with mozilla, the 
webservice return me this message:

Content is not 'text/xml' but 'text/plain; charset=ISO-8859-1' Response error message: 
-- <%@ WebService Language="c#" Codebehind="Service1.asmx.cs" 
Class="asp.System_WebService.ws_appli.Service1" %>

any idea?
regards
-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] error whith web

2004-06-04 Thread KiOrKY
why jhave i this error:
System.ArgumentException: Culture name rvice is not supported.
Parameter name: rvice
in <0x000f2> System.Globalization.CultureInfo:CreateSpecificCulture (string)
in (unmanaged) (wrapper managed-to-native) System.Reflection.Assembly:FillName 
(System.Reflection.Assembly,System.Reflection.AssemblyName)
in <0x4> (wrapper managed-to-native) System.Reflection.Assembly:FillName 
(System.Reflection.Assembly,System.Reflection.AssemblyName)
in <0x0002f> System.Reflection.Assembly:GetName (bool)
in <0x00013> System.Reflection.Assembly:GetName ()
in <0x0004f> System.Web.UI.TemplateParser:AddAssembly (System.Reflection.Assembly,bool)
in <0x000b4> System.Web.UI.TemplateParser:AddAssembliesInBin ()
in <0x001c1> System.Web.UI.TemplateParser:.ctor ()
in <0x00018> System.Web.UI.TemplateControlParser:.ctor ()
in <0x00034> System.Web.UI.PageParser:.ctor (string,string,System.Web.HttpContext)
in <0x00037> System.Web.UI.PageParser:GetCompiledPageInstance 
(string,string,System.Web.HttpContext)
in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler 
(System.Web.HttpContext,string,string,string)
in <0x00374> System.Web.HttpApplication:CreateHttpHandler 
(System.Web.HttpContext,string,string,string)
in <0x00122> CreateHandlerState:Execute ()
in <0x00084> StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool&)

whith webservices anyone have idea?
-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] error 500!

2004-06-04 Thread KiOrKY
hi,
i have this error with a webservice client (web based) applicatrion which runs under 
windows perfectly.
is there modifications to make on code (i have ever modify urls which were localhost 
;) ) ?
the error,

Server error in '/webclient' application
Description: Error processing request.

Error Message: HTTP 500.

Stack Trace:

System.ArgumentException: Culture name rvice is not supported.
Parameter name: rvice
in <0x000f2> System.Globalization.CultureInfo:CreateSpecificCulture (string)
in (unmanaged) (wrapper managed-to-native) System.Reflection.Assembly:FillName 
(System.Reflection.Assembly,System.Reflection.AssemblyName)
in <0x4> (wrapper managed-to-native) System.Reflection.Assembly:FillName 
(System.Reflection.Assembly,System.Reflection.AssemblyName)
in <0x0002f> System.Reflection.Assembly:GetName (bool)
in <0x00013> System.Reflection.Assembly:GetName ()
in <0x0004f> System.Web.UI.TemplateParser:AddAssembly (System.Reflection.Assembly,bool)
in <0x000b4> System.Web.UI.TemplateParser:AddAssembliesInBin ()
in <0x001c1> System.Web.UI.TemplateParser:.ctor ()
in <0x00018> System.Web.UI.TemplateControlParser:.ctor ()
in <0x00034> System.Web.UI.PageParser:.ctor (string,string,System.Web.HttpContext)
in <0x00037> System.Web.UI.PageParser:GetCompiledPageInstance 
(string,string,System.Web.HttpContext)
in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler 
(System.Web.HttpContext,string,string,string)
in <0x00374> System.Web.HttpApplication:CreateHttpHandler 
(System.Web.HttpContext,string,string,string)
in <0x00122> CreateHandlerState:Execute ()
in <0x00084> StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool&)

-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] webservice and error 500

2004-06-04 Thread kiorky
why have i this error when i use a distant webservice???
i have copy paste my windows files (under visual studio) with just a few
modifications (urls) on linux, and configure apache well (asdp.net
applications run)

Server error in '/webclient' application
Description: Error processing request.

Error Message: HTTP 500.

Stack Trace:

System.ArgumentException: Culture name rvice is not supported.
Parameter name: rvice
in <0x000f2> System.Globalization.CultureInfo:CreateSpecificCulture
(string)
in (unmanaged) (wrapper managed-to-native)
System.Reflection.Assembly:FillName
(System.Reflection.Assembly,System.Reflection.AssemblyName)
in <0x4> (wrapper managed-to-native)
System.Reflection.Assembly:FillName
(System.Reflection.Assembly,System.Reflection.AssemblyName)
in <0x0002f> System.Reflection.Assembly:GetName (bool)
in <0x00013> System.Reflection.Assembly:GetName ()
in <0x0004f> System.Web.UI.TemplateParser:AddAssembly
(System.Reflection.Assembly,bool)
in <0x000b4> System.Web.UI.TemplateParser:AddAssembliesInBin ()
in <0x001c1> System.Web.UI.TemplateParser:.ctor ()
in <0x00018> System.Web.UI.TemplateControlParser:.ctor ()
in <0x00034> System.Web.UI.PageParser:.ctor
(string,string,System.Web.HttpContext)
in <0x00037> System.Web.UI.PageParser:GetCompiledPageInstance
(string,string,System.Web.HttpContext)
in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler
(System.Web.HttpContext,string,string,string)
in <0x00374> System.Web.HttpApplication:CreateHttpHandler
(System.Web.HttpContext,string,string,string)
in <0x00122> CreateHandlerState:Execute ()
in <0x00084> StateMachine:ExecuteState
(System.Web.HttpApplication/IStateHandler,bool&)


_
Un mot doux à envoyer? Une sortie ciné à organiser? Faites le en temps
réel avec MSN Messenger! C'est gratuit!   http://ifrance.com/_reloc/m

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] GetDecimal workaround?

2004-06-04 Thread Marcin P
Hello!
I've just started writing simple applications
for mono using ADO.NET namespace (ODBC).
As the method GetDecimal  of the OdbcDataReader
is not implemented yet I wonder if anyone have
some workaroud  for reading data from column of
type Decimal? (the Type is displayed properly by GetFieldType.
I tried with GetValue and then casting it, but I get the
error from Formatter

Thanks in advance,

Marcin Pytel



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] webservice and error 500

2004-06-04 Thread KiOrKY
tHANKS, i have just a 401 error but its the distant server !
regards

Bopm <[EMAIL PROTECTED]> wrote :

> Kill all mod_mono_server.exe after recompilation. It's not restart with 
> apache now.
> 
> -- 
> wbr, Sergey 'bopm' Moiseev.
> 
> On Fri, 4 Jun 2004, kiorky wrote:
> 
> > why have i this error when i use a distant webservice???
> > i have copy paste my windows files (under visual studio) with just a
> few
> > modifications (urls) on linux, and configure apache well (asdp.net
> > applications run)
> >
> > Server error in '/webclient' application
> > Description: Error processing request.
> >
> > Error Message: HTTP 500.
> >
> > Stack Trace:
> >
> > System.ArgumentException: Culture name rvice is not supported.
> > Parameter name: rvice
> > in <0x000f2>
> System.Globalization.CultureInfo:CreateSpecificCulture
> > (string)
> > in (unmanaged) (wrapper managed-to-native)
> > System.Reflection.Assembly:FillName
> > (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > in <0x4> (wrapper managed-to-native)
> > System.Reflection.Assembly:FillName
> > (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > in <0x0002f> System.Reflection.Assembly:GetName (bool)
> > in <0x00013> System.Reflection.Assembly:GetName ()
> > in <0x0004f> System.Web.UI.TemplateParser:AddAssembly
> > (System.Reflection.Assembly,bool)
> > in <0x000b4> System.Web.UI.TemplateParser:AddAssembliesInBin ()
> > in <0x001c1> System.Web.UI.TemplateParser:.ctor ()
> > in <0x00018> System.Web.UI.TemplateControlParser:.ctor ()
> > in <0x00034> System.Web.UI.PageParser:.ctor
> > (string,string,System.Web.HttpContext)
> > in <0x00037> System.Web.UI.PageParser:GetCompiledPageInstance
> > (string,string,System.Web.HttpContext)
> > in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler
> > (System.Web.HttpContext,string,string,string)
> > in <0x00374> System.Web.HttpApplication:CreateHttpHandler
> > (System.Web.HttpContext,string,string,string)
> > in <0x00122> CreateHandlerState:Execute ()
> > in <0x00084> StateMachine:ExecuteState
> > (System.Web.HttpApplication/IStateHandler,bool&)
> >
> >
> > _
> > Un mot doux à envoyer? Une sortie ciné à organiser? Faites le en temps
> > réel avec MSN Messenger! C'est gratuit!   http://ifrance.com/_reloc/m
> >
> > ___
> > Mono-list maillist  -  [EMAIL PROTECTED]
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >

-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] webservice and error 500

2004-06-04 Thread KiOrKY
well, its not iis which is defficient... any idea from where comes this 401 error? 
GRRr!

my code is:
private void button1_ServerClick(object sender, System.EventArgs e)
{

try
{

Websrvcl.localhost.Service1 srv =  new 
Websrvcl.localhost.Service1();
srv.Credentials = new 
System.Net.NetworkCredential("kiorky","*");
srv.PreAuthenticate = true;
 
smachaine = ""+ srv.HelloWorld();  
 
Label1.Text=smachaine;
}
catch (System.Exception ex)
{
Response.Write(ex.Message);
}
this code runs on windows but the site is hosted on the same machine...

regards

KiOrKY <[EMAIL PROTECTED]> wrote :

> tHANKS, i have just a 401 error but its the distant server !
> regards
> 
> Bopm <[EMAIL PROTECTED]>
> wrote :
> 
> > Kill all mod_mono_server.exe after recompilation. It's not restart with
> 
> > apache now.
> > 
> > -- 
> > wbr, Sergey 'bopm' Moiseev.
> > 
> > On Fri, 4 Jun 2004, kiorky wrote:
> > 
> > > why have i this error when i use a distant webservice???
> > > i have copy paste my windows files (under visual studio) with
> just a
> > few
> > > modifications (urls) on linux, and configure apache well
> (asdp.net
> > > applications run)
> > >
> > > Server error in '/webclient' application
> > > Description: Error processing request.
> > >
> > > Error Message: HTTP 500.
> > >
> > > Stack Trace:
> > >
> > > System.ArgumentException: Culture name rvice is not supported.
> > > Parameter name: rvice
> > > in <0x000f2>
> > System.Globalization.CultureInfo:CreateSpecificCulture
> > > (string)
> > > in (unmanaged) (wrapper managed-to-native)
> > > System.Reflection.Assembly:FillName
> > > (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > in <0x4> (wrapper managed-to-native)
> > > System.Reflection.Assembly:FillName
> > > (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > in <0x0002f> System.Reflection.Assembly:GetName
> (bool)
> > > in <0x00013> System.Reflection.Assembly:GetName
> ()
> > > in <0x0004f>
> System.Web.UI.TemplateParser:AddAssembly
> > > (System.Reflection.Assembly,bool)
> > > in <0x000b4>
> System.Web.UI.TemplateParser:AddAssembliesInBin ()
> > > in <0x001c1> System.Web.UI.TemplateParser:.ctor
> ()
> > > in <0x00018>
> System.Web.UI.TemplateControlParser:.ctor ()
> > > in <0x00034> System.Web.UI.PageParser:.ctor
> > > (string,string,System.Web.HttpContext)
> > > in <0x00037>
> System.Web.UI.PageParser:GetCompiledPageInstance
> > > (string,string,System.Web.HttpContext)
> > > in <0x00011>
> System.Web.UI.PageHandlerFactory:GetHandler
> > > (System.Web.HttpContext,string,string,string)
> > > in <0x00374>
> System.Web.HttpApplication:CreateHttpHandler
> > > (System.Web.HttpContext,string,string,string)
> > > in <0x00122> CreateHandlerState:Execute ()
> > > in <0x00084> StateMachine:ExecuteState
> > > (System.Web.HttpApplication/IStateHandler,bool&)
> > >
> > >
> > >
> _
> > > Un mot doux à envoyer? Une sortie ciné à organiser? Faites le en
> temps
> > > réel avec MSN Messenger! C'est gratuit!   http://ifrance.com/_reloc/m
> > >
> > > ___
> > > Mono-list maillist  -  [EMAIL PROTECTED]
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> 
> -- 
> 
> - Gloire au monde libre-
> 
> I{ i () r |{ Y
> Debian User
> -
> -- Mathieu PASQUET 
> -- Testeur Debian SID
> -- irc: #debian-fr / irc.freenode.net port: 6667 
> -- Site: www.fr.debian.org 
> -
> 
> 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list

-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] webservice and error 500

2004-06-04 Thread bopm
Kill all mod_mono_server.exe after recompilation. It's not restart with 
apache now.

--
wbr, Sergey 'bopm' Moiseev.
On Fri, 4 Jun 2004, kiorky wrote:
why have i this error when i use a distant webservice???
i have copy paste my windows files (under visual studio) with just a few
modifications (urls) on linux, and configure apache well (asdp.net
applications run)
Server error in '/webclient' application
Description: Error processing request.
Error Message: HTTP 500.
Stack Trace:
System.ArgumentException: Culture name rvice is not supported.
Parameter name: rvice
in <0x000f2> System.Globalization.CultureInfo:CreateSpecificCulture
(string)
in (unmanaged) (wrapper managed-to-native)
System.Reflection.Assembly:FillName
(System.Reflection.Assembly,System.Reflection.AssemblyName)
in <0x4> (wrapper managed-to-native)
System.Reflection.Assembly:FillName
(System.Reflection.Assembly,System.Reflection.AssemblyName)
in <0x0002f> System.Reflection.Assembly:GetName (bool)
in <0x00013> System.Reflection.Assembly:GetName ()
in <0x0004f> System.Web.UI.TemplateParser:AddAssembly
(System.Reflection.Assembly,bool)
in <0x000b4> System.Web.UI.TemplateParser:AddAssembliesInBin ()
in <0x001c1> System.Web.UI.TemplateParser:.ctor ()
in <0x00018> System.Web.UI.TemplateControlParser:.ctor ()
in <0x00034> System.Web.UI.PageParser:.ctor
(string,string,System.Web.HttpContext)
in <0x00037> System.Web.UI.PageParser:GetCompiledPageInstance
(string,string,System.Web.HttpContext)
in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler
(System.Web.HttpContext,string,string,string)
in <0x00374> System.Web.HttpApplication:CreateHttpHandler
(System.Web.HttpContext,string,string,string)
in <0x00122> CreateHandlerState:Execute ()
in <0x00084> StateMachine:ExecuteState
(System.Web.HttpApplication/IStateHandler,bool&)
_
Un mot doux à envoyer? Une sortie ciné à organiser? Faites le en temps
réel avec MSN Messenger! C'est gratuit!   http://ifrance.com/_reloc/m
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] webservice and error 500

2004-06-04 Thread KiOrKY
is neccesary to recompile applications on mono, because i copy pasgte windows 
webservice client (ASP.Net) on my box.
If it is, which tool can make me th eproxy ... like wsdl.exe on windows

KiOrKY <[EMAIL PROTECTED]> wrote :

> well, its not iis which is defficient... any idea from where comes this 401
> error? GRRr!
> 
> my code is:
>   private void button1_ServerClick(object sender, System.EventArgs e)
>   {
>   
>   try
>   {
>   
>   Websrvcl.localhost.Service1 srv =  new 
> Websrvcl.localhost.Service1();
>   srv.Credentials = new
> System.Net.NetworkCredential("kiorky","*");
>   srv.PreAuthenticate = true;
>  
>   smachaine = ""+ srv.HelloWorld();
>  
>   Label1.Text=smachaine;
>   }
>   catch (System.Exception ex)
>   {
>   Response.Write(ex.Message);
>   }
> this code runs on windows but the site is hosted on the same machine...
> 
> regards
> 
> KiOrKY <[EMAIL PROTECTED]>
> wrote :
> 
> > tHANKS, i have just a 401 error but its the distant server !
> > regards
> > 
> > Bopm <[EMAIL PROTECTED]>
> > wrote :
> > 
> > > Kill all mod_mono_server.exe after recompilation. It's not
> restart with
> > 
> > > apache now.
> > > 
> > > -- 
> > > wbr, Sergey 'bopm' Moiseev.
> > > 
> > > On Fri, 4 Jun 2004, kiorky wrote:
> > > 
> > > &gt; why have i this error when i use a distant
> webservice???
> > > &gt; i have copy paste my windows files (under visual
> studio) with
> > just a
> > > few
> > > &gt; modifications (urls) on linux, and configure apache
> well
> > (asdp.net
> > > &gt; applications run)
> > > &gt;
> > > &gt; Server error in '/webclient' application
> > > &gt; Description: Error processing request.
> > > &gt;
> > > &gt; Error Message: HTTP 500.
> > > &gt;
> > > &gt; Stack Trace:
> > > &gt;
> > > &gt; System.ArgumentException: Culture name rvice is not
> supported.
> > > &gt; Parameter name: rvice
> > > &gt; in &lt;0x000f2&gt;
> > > System.Globalization.CultureInfo:CreateSpecificCulture
> > > &gt; (string)
> > > &gt; in (unmanaged) (wrapper managed-to-native)
> > > &gt; System.Reflection.Assembly:FillName
> > > &gt;
> (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > &gt; in &lt;0x4&gt; (wrapper
> managed-to-native)
> > > &gt; System.Reflection.Assembly:FillName
> > > &gt;
> (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > &gt; in &lt;0x0002f&gt;
> System.Reflection.Assembly:GetName
> > (bool)
> > > &gt; in &lt;0x00013&gt;
> System.Reflection.Assembly:GetName
> > ()
> > > &gt; in &lt;0x0004f&gt;
> > System.Web.UI.TemplateParser:AddAssembly
> > > &gt; (System.Reflection.Assembly,bool)
> > > &gt; in &lt;0x000b4&gt;
> > System.Web.UI.TemplateParser:AddAssembliesInBin ()
> > > &gt; in &lt;0x001c1&gt;
> System.Web.UI.TemplateParser:.ctor
> > ()
> > > &gt; in &lt;0x00018&gt;
> > System.Web.UI.TemplateControlParser:.ctor ()
> > > &gt; in &lt;0x00034&gt;
> System.Web.UI.PageParser:.ctor
> > > &gt; (string,string,System.Web.HttpContext)
> > > &gt; in &lt;0x00037&gt;
> > System.Web.UI.PageParser:GetCompiledPageInstance
> > > &gt; (string,string,System.Web.HttpContext)
> > > &gt; in &lt;0x00011&gt;
> > System.Web.UI.PageHandlerFactory:GetHandler
> > > &gt; (System.Web.HttpContext,string,string,string)
> > > &gt; in &lt;0x00374&gt;
> > System.Web.HttpApplication:CreateHttpHandler
> > > &gt; (System.Web.HttpContext,string,string,string)
> > > &gt; in &lt;0x00122&gt;
> CreateHandlerState:Execute ()
> > > &gt; in &lt;0x00084&gt;
> StateMachine:ExecuteState
> > > &gt;
> (System.Web.HttpApplication/IStateHandler,bool&amp;)
> > > &gt;
> > > &gt;
> > > &gt;
> > _
> > > &gt; Un mot doux à envoyer? Une sortie ciné à organiser?
> Faites le en
> > temps
> > > &gt; réel avec MSN Messenger! C'est gratuit!   
> http://ifrance.com/_reloc/m
> > > &gt;
> > > &gt; ___
> > > &gt; Mono-list maillist  -  [EMAIL PROTECTED]
> > > &gt; http://lists.ximian.com/mailman/listinfo/mono-list
> > > &gt;
> > 
> > -- 
> > 
> > - Gloire au monde libre-
> > -

Re: [Mono-list] webservice and error 500

2004-06-04 Thread KiOrKY
i have forgotten to say that i have tried to put thuis application on a windows 
distant client and it runs, so its with mono that something goes wrong :( (at the 
oment tyhe client was on the same box)


is neccesary to recompile applications on mono, because i copy pasgte windows 
webservice client (ASP.Net) on my box.
If it is, which tool can make me th eproxy ... like wsdl.exe on windows

KiOrKY <[EMAIL PROTECTED]> wrote :

> well, its not iis which is defficient... any idea from where comes this 401
> error? GRRr!
> 
> my code is:
>   private void button1_ServerClick(object sender, System.EventArgs e)
>   {
>   
>   try
>   {
>   
>   Websrvcl.localhost.Service1 srv =  new 
> Websrvcl.localhost.Service1();
>   srv.Credentials = new
> System.Net.NetworkCredential("kiorky","*");
>   srv.PreAuthenticate = true;
>  
>   smachaine = ""+ srv.HelloWorld();
>  
>   Label1.Text=smachaine;
>   }
>   catch (System.Exception ex)
>   {
>   Response.Write(ex.Message);
>   }
> this code runs on windows but the site is hosted on the same machine...
> 
> regards
> 
> KiOrKY <[EMAIL PROTECTED]>
> wrote :
> 
> > tHANKS, i have just a 401 error but its the distant server !
> > regards
> > 
> > Bopm <[EMAIL PROTECTED]>
> > wrote :
> > 
> > > Kill all mod_mono_server.exe after recompilation. It's not
> restart with
> > 
> > > apache now.
> > > 
> > > -- 
> > > wbr, Sergey 'bopm' Moiseev.
> > > 
> > > On Fri, 4 Jun 2004, kiorky wrote:
> > > 
> > > &gt; why have i this error when i use a distant
> webservice???
> > > &gt; i have copy paste my windows files (under visual
> studio) with
> > just a
> > > few
> > > &gt; modifications (urls) on linux, and configure apache
> well
> > (asdp.net
> > > &gt; applications run)
> > > &gt;
> > > &gt; Server error in '/webclient' application
> > > &gt; Description: Error processing request.
> > > &gt;
> > > &gt; Error Message: HTTP 500.
> > > &gt;
> > > &gt; Stack Trace:
> > > &gt;
> > > &gt; System.ArgumentException: Culture name rvice is not
> supported.
> > > &gt; Parameter name: rvice
> > > &gt; in &lt;0x000f2&gt;
> > > System.Globalization.CultureInfo:CreateSpecificCulture
> > > &gt; (string)
> > > &gt; in (unmanaged) (wrapper managed-to-native)
> > > &gt; System.Reflection.Assembly:FillName
> > > &gt;
> (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > &gt; in &lt;0x4&gt; (wrapper
> managed-to-native)
> > > &gt; System.Reflection.Assembly:FillName
> > > &gt;
> (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > &gt; in &lt;0x0002f&gt;
> System.Reflection.Assembly:GetName
> > (bool)
> > > &gt; in &lt;0x00013&gt;
> System.Reflection.Assembly:GetName
> > ()
> > > &gt; in &lt;0x0004f&gt;
> > System.Web.UI.TemplateParser:AddAssembly
> > > &gt; (System.Reflection.Assembly,bool)
> > > &gt; in &lt;0x000b4&gt;
> > System.Web.UI.TemplateParser:AddAssembliesInBin ()
> > > &gt; in &lt;0x001c1&gt;
> System.Web.UI.TemplateParser:.ctor
> > ()
> > > &gt; in &lt;0x00018&gt;
> > System.Web.UI.TemplateControlParser:.ctor ()
> > > &gt; in &lt;0x00034&gt;
> System.Web.UI.PageParser:.ctor
> > > &gt; (string,string,System.Web.HttpContext)
> > > &gt; in &lt;0x00037&gt;
> > System.Web.UI.PageParser:GetCompiledPageInstance
> > > &gt; (string,string,System.Web.HttpContext)
> > > &gt; in &lt;0x00011&gt;
> > System.Web.UI.PageHandlerFactory:GetHandler
> > > &gt; (System.Web.HttpContext,string,string,string)
> > > &gt; in &lt;0x00374&gt;
> > System.Web.HttpApplication:CreateHttpHandler
> > > &gt; (System.Web.HttpContext,string,string,string)
> > > &gt; in &lt;0x00122&gt;
> CreateHandlerState:Execute ()
> > > &gt; in &lt;0x00084&gt;
> StateMachine:ExecuteState
> > > &gt;
> (System.Web.HttpApplication/IStateHandler,bool&amp;)
> > > &gt;
> > > &gt;
> > > &gt;
> > _
> > > &gt; Un mot doux à envoyer? Une sortie ciné à organiser?
> Faites le en
> > temps
> > > &gt; réel avec MSN Messenger! C'est gratuit!   
> http://ifrance.com/_reloc/m
> > > &gt;
> > > &gt; ___
> > > &gt; Mono-list maillist 

[Mono-list] Invalid rpc/encoded soap messages?

2004-06-04 Thread Ramon Guiu
Does mono uses soap rpc/encoded method?
For each method I specify the 
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("getConnection", 
RequestNamespace="x", ResponseNamespace="x")] attribute.

I have a GLUE webservice that using rpc/encoded style. When use my 
client from mono version 0.31 Linux the following soap message is sent 
to the server:


 
   
 
   xyadmin
   xyadmin
 
   
 

However the GLUE server answers with:

soap:Serverthis 
is a soap-encoded 
endpoint

So this is a soap-encoded endpoint.
The same code works well with .NET.
The generated message is slightly different:
 
 
ns:xsd='http://www.w3.org/2001/XMLSchema'>
   
 
   xyadmin
   xyadmin
 
   
 


I understand the problem is in 
soap:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/ not being 
specified in the soap message body. Do I need to specify something to 
get the encodingStyle added to the body of my message?
Any ideas?

Thanks,
Ramon






___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] how to do proper role based authentication in web apps

2004-06-04 Thread DI Mag. Rainer Burgstaller
On Fri, 4 Jun 2004 16:20:16 +1000, Peter Foley <[EMAIL PROTECTED]>  
wrote:


Have a look at the Microsoft MSDN site. There is a document there about  
the
Providers pattern which is used in ASP.NET 2 for a membership class. It  
is very
straightforward to write your own membership class that uses a provider  
e.g. a
sql database to store rol info.

Hello Peter
thanks for the quick reply.
I think I found the article you mean  
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/bucupro.asp).  
Is this functionality already supported by mono / xsp /mod_mono?

I had a quick look at SqlMembershipProvider.cs in mono-0.91 but there all  
functions threw the notimplementedexception. So I guess the answer is no.  
Or is the framework already in place to place in my own MembershipProvider?

Also from a quick glance on the document I am not sure how to integrate  
it. Do I still use the FormsAuthenticationModule or not?
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Include private fields in soap messages

2004-06-04 Thread Ramon Guiu
Hi,
I have a type that is used in a method call to a web service. This type 
has some private attributes that can only be set when the object is 
instantiated.
The problem is that when Mono xml-serializes my object the private 
fields are not (XmlSerializer behaviour). Is there anyway I can force 
the serialization of this fields the same way I can explicitly exclude 
public fields with XmlIgnoreAttribute?

Thanks,
Ramon
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] ECMA profiles

2004-06-04 Thread Piyush, Garyali (IE10)
Hi,

As specifed in the Mono Roadmap (http://www.go-mono.com/mono-roadmap.html),
would the mono v1.0 have the ECMA profiles building option. If yes, is the
same available in the mono v1.0 Beta 2 release as well? 

Thanks, 
Piyush
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] how to do proper role based authentication in web apps

2004-06-04 Thread RoBiK
Hi Guys!

You complicate it too much. If i do understend it right, you want forms
authentication, but not using the credentials stored in the config file.
What you want is customized authentication method (other store for
credentials and/or other credentials-chceking method, maybe also custom role
based security).

Check this article: 

Part 1:
http://www.ondotnet.com/pub/a/dotnet/2004/02/02/effectiveformsauth.html
Part 2: http://www.ondotnet.com/pub/a/dotnet/2004/02/16/formsauthpt2.html

Theese articles guides you step by step from the simlest customization to
the full-blown custom authentication and authorization.

May the source be with you! :)

RoBiK





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of DI Mag. Rainer
Burgstaller
Sent: Freitag, 04. Juni 2004 11:20
To: Peter Foley
Cc: [EMAIL PROTECTED]
Subject: Re: [Mono-list] how to do proper role based authentication in web
apps

On Fri, 4 Jun 2004 16:20:16 +1000, Peter Foley <[EMAIL PROTECTED]>
wrote:

>
>
> Have a look at the Microsoft MSDN site. There is a document there about  
> the
> Providers pattern which is used in ASP.NET 2 for a membership class. It  
> is very
> straightforward to write your own membership class that uses a provider  
> e.g. a
> sql database to store rol info.
>

Hello Peter

thanks for the quick reply.

I think I found the article you mean  
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/htm
l/bucupro.asp).  
Is this functionality already supported by mono / xsp /mod_mono?

I had a quick look at SqlMembershipProvider.cs in mono-0.91 but there all  
functions threw the notimplementedexception. So I guess the answer is no.  
Or is the framework already in place to place in my own MembershipProvider?

Also from a quick glance on the document I am not sure how to integrate  
it. Do I still use the FormsAuthenticationModule or not?
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Assembly.Load Behavior difference, AssemblyName.FullName different

2004-06-04 Thread Emiel van de Laar
Hi all,
I was playing around with Assembly.Load and noticed a couple of 
diffences in behaviour.

First the Assembly.FullName property emits different strings on Mono and 
MS .NET. Mono emits the full four-part name (name, version, culture, 
public key). Even if these values are not specified, default values are 
emitted. On the MS .NET platform only the parts specified are emitted.
I've yet to look what the spec says about this; perhaps both are permitted.

The two sessions attached to this mail show that using Assembly.Load 
fails on Mono but works on MS .NET. I'm not sure if the 
Assembly.FullName property has anything to with it.

BTW. Here some version info... I have not yet been able to try
Mono Beta 2.
[EMAIL PROTECTED]:~/csharp/ass> mono --version
Mono JIT compiler version 0.30.2, (C) 2002-2004 Novell, Inc. www.go-mono.com
[EMAIL PROTECTED]:~/csharp/ass> mcs --version
Mono C# compiler version 0.29.99.0
[EMAIL PROTECTED] /cygdrive/c/cruft
$ csc
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
Cheers,
Emiel
--
Emiel van de Laar
[EMAIL PROTECTED] /cygdrive/c/cruft
$ expand -t2 plugin.cs
using System;

namespace EvilZoo
{
  public class Duck
  {
public Duck()
{
  Console.WriteLine("New Duck");
}

public void Speak()
{
  Console.WriteLine("Quack");
}
  }
}


[EMAIL PROTECTED] /cygdrive/c/cruft
$ csc /nologo /t:library plugin.cs

[EMAIL PROTECTED] /cygdrive/c/cruft
$ expand -t2 app.cs
using System;
using System.IO;
using System.Reflection;

namespace EvilZoo
{
  class App
  {
public App()
{
  AssemblyName plugin = new AssemblyName();

  plugin.Name = "plugin";
  plugin.CodeBase = String.Concat("file:///", Directory.GetCurrentDirectory());

  Console.WriteLine("FullName: \"{0}\"", plugin.FullName);

  Assembly asm = Assembly.Load(plugin);

  object foo = asm.CreateInstance("EvilZoo.Duck");
}

static void Main()
{
  new App();
}
  }
}


[EMAIL PROTECTED] /cygdrive/c/cruft
$ csc /nologo app.cs

[EMAIL PROTECTED] /cygdrive/c/cruft
$ ./app.exe
FullName: "plugin"
New Duck

[EMAIL PROTECTED]:~/csharp/ass> expand -t2 plugin.cs
using System;

namespace EvilZoo
{
  public class Duck
  {
public Duck()
{
  Console.WriteLine("New Duck");
}

public void Speak()
{
  Console.WriteLine("Quack");
}
  }
}

[EMAIL PROTECTED]:~/csharp/ass> mcs -t:library plugin.cs
Compilation succeeded
[EMAIL PROTECTED]:~/csharp/ass> expand -t2 app.cs
using System;
using System.IO;
using System.Reflection;

namespace EvilZoo
{
  class App
  {
public App()
{
  AssemblyName plugin = new AssemblyName();

  plugin.Name = "plugin";
  plugin.CodeBase = String.Concat("file:///", Directory.GetCurrentDirectory());

  Console.WriteLine("FullName: \"{0}\"", plugin.FullName);

  Assembly asm = Assembly.Load(plugin);

  object foo = asm.CreateInstance("EvilZoo.Duck");
}

static void Main()
{
  new App();
}
  }
}

[EMAIL PROTECTED]:~/csharp/ass> mcs app.cs
Compilation succeeded
[EMAIL PROTECTED]:~/csharp/ass> ./app.exe
FullName: "plugin, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"

Unhandled Exception: System.IO.FileNotFoundException: File 'plugin, Version=0.0.0.0, 
Culture=neutral, PublicKeyToken=null' not found.
in (unmanaged) /usr/lib/libmono.so.0(mono_raise_exception+0x1f) [0x4009abbf]
in (unmanaged) /usr/lib/libmono.so.0 [0x400c0387]
in <0x0002e> (wrapper managed-to-native) System.AppDomain:LoadAssembly 
(string,System.Security.Policy.Evidence)
in <0x0006b> (wrapper remoting-invoke-with-check) System.AppDomain:LoadAssembly 
(string,System.Security.Policy.Evidence)
in <0x0005e> System.AppDomain:Load 
(System.Reflection.AssemblyName,System.Security.Policy.Evidence)
in <0x0006b> (wrapper remoting-invoke-with-check) System.AppDomain:Load 
(System.Reflection.AssemblyName,System.Security.Policy.Evidence)
in <0x0003d> System.AppDomain:Load (System.Reflection.AssemblyName)
in <0x00058> (wrapper remoting-invoke-with-check) System.AppDomain:Load 
(System.Reflection.AssemblyName)
in <0x0001c> System.Reflection.Assembly:Load (System.Reflection.AssemblyName)
in <0x000af> EvilZoo.App:.ctor ()
in <0x0001e> EvilZoo.App:Main ()



[Mono-list] NPGSQL.DLL POSTGRESQL AND MONO

2004-06-04 Thread KiOrKY
is npgsql runnong? because when i do datapadter.fill(), its makes me an out of memory 
error...
i copy the executable compiled under windows and the dll from mono gac in the exection 
directory!
any ideas?
regards
-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] error whith web

2004-06-04 Thread Jackson Harper

Hello,

Could you post the full assembly versions for all the assemblies you
have in your /bin/ directory? To do this run monodis on each
assembly in that directory like this:

monodis --assembly 

Thanks!
Jackson


On Fri, 2004-06-04 at 00:25, KiOrKY wrote:
> why jhave i this error:
> System.ArgumentException: Culture name rvice is not supported.
> Parameter name: rvice
> in <0x000f2> System.Globalization.CultureInfo:CreateSpecificCulture (string)
> in (unmanaged) (wrapper managed-to-native) System.Reflection.Assembly:FillName 
> (System.Reflection.Assembly,System.Reflection.AssemblyName)
> in <0x4> (wrapper managed-to-native) System.Reflection.Assembly:FillName 
> (System.Reflection.Assembly,System.Reflection.AssemblyName)
> in <0x0002f> System.Reflection.Assembly:GetName (bool)
> in <0x00013> System.Reflection.Assembly:GetName ()
> in <0x0004f> System.Web.UI.TemplateParser:AddAssembly 
> (System.Reflection.Assembly,bool)
> in <0x000b4> System.Web.UI.TemplateParser:AddAssembliesInBin ()
> in <0x001c1> System.Web.UI.TemplateParser:.ctor ()
> in <0x00018> System.Web.UI.TemplateControlParser:.ctor ()
> in <0x00034> System.Web.UI.PageParser:.ctor (string,string,System.Web.HttpContext)
> in <0x00037> System.Web.UI.PageParser:GetCompiledPageInstance 
> (string,string,System.Web.HttpContext)
> in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler 
> (System.Web.HttpContext,string,string,string)
> in <0x00374> System.Web.HttpApplication:CreateHttpHandler 
> (System.Web.HttpContext,string,string,string)
> in <0x00122> CreateHandlerState:Execute ()
> in <0x00084> StateMachine:ExecuteState 
> (System.Web.HttpApplication/IStateHandler,bool&)
> 
> whith webservices anyone have idea?

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Assembly.Load Behavior difference, AssemblyName.FullName different

2004-06-04 Thread Jackson Harper

Hello!

The loading behavoir was fixed a couple of weeks ago. Running your test
on my machine with current CVS I get the same results as you do on MS.

As for the fullname printing could you file a bug and mark it as
wishlist? This "bug" shouldn't affect anything except text output so it
will not be a very high priority bug.

Thank you very much,
Jackson


On Fri, 2004-06-04 at 04:32, Emiel van de Laar wrote:
> Hi all,
> 
> I was playing around with Assembly.Load and noticed a couple of 
> diffences in behaviour.
> 
> First the Assembly.FullName property emits different strings on Mono and 
> MS .NET. Mono emits the full four-part name (name, version, culture, 
> public key). Even if these values are not specified, default values are 
> emitted. On the MS .NET platform only the parts specified are emitted.
> I've yet to look what the spec says about this; perhaps both are permitted.
> 
> The two sessions attached to this mail show that using Assembly.Load 
> fails on Mono but works on MS .NET. I'm not sure if the 
> Assembly.FullName property has anything to with it.
> 
> BTW. Here some version info... I have not yet been able to try
> Mono Beta 2.
> 
> [EMAIL PROTECTED]:~/csharp/ass> mono --version
> Mono JIT compiler version 0.30.2, (C) 2002-2004 Novell, Inc. www.go-mono.com
> [EMAIL PROTECTED]:~/csharp/ass> mcs --version
> Mono C# compiler version 0.29.99.0
> 
> [EMAIL PROTECTED] /cygdrive/c/cruft
> $ csc
> Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
> for Microsoft (R) .NET Framework version 1.1.4322
> Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
> 
> Cheers,
> 
> Emiel

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] NPGSQL.DLL POSTGRESQL AND MONO

2004-06-04 Thread Jackson Harper
Hello,

I have already asked you for more information on this bug. If you
provide it the bug can be fixed. If you do not provide it and just
continue to spam the mailing list turning development time into email
deleting time the bug will probably not be fixed.

http://lists.ximian.com/archives/public/mono-list/2004-May/020501.html

Love,
Jackson


On Fri, 2004-06-04 at 05:28, KiOrKY wrote:
> is npgsql runnong? because when i do datapadter.fill(), its makes me an out of 
> memory error...
> i copy the executable compiled under windows and the dll from mono gac in the 
> exection directory!
> any ideas?
> regards

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] NPGSQL.DLL POSTGRESQL AND MONO

2004-06-04 Thread KiOrKY
so i repeat: 

debian sid
kernel  2.4.26
mcs 095
mono 20040603
gecko-sharp-0.4 gtksourceview-sharp-0.3 winelib-0.3
gtk-sharp-0.93  libgdiplus-0.8  wine20040505

the base is postgresql and is not on the same machine 

the code is :
string srequet3=@"Server=126.10.0.1;Port=5432;User Id=Pasquet;Database=";
srequet3+=@"Marrot;Password=kiorky";
Npgsql.NpgsqlConnection toto = new Npgsql.NpgsqlConnection(srequet3);  
 Npgsql.NpgsqlCommand cmd = new Npgsql.NpgsqlCommand(srequet,toto);
  Npgsql.NpgsqlDataAdapter DaAd = new Npgsql.NpgsqlDataAdapter(cmd);   
   DataSet Dsdset = new DataSet(); 
DaAd.Fill(Dsdset);  
Dsdset.AcceptChanges(); 



the result; out of memory error
--- 


Jackson Harper <[EMAIL PROTECTED]> a écrit :

> Hello,
> 
> I have already asked you for more information on this bug. If you
> provide it the bug can be fixed. If you do not provide it and just
> continue to spam the mailing list turning development time into email
> deleting time the bug will probably not be fixed.
> 
> http://lists.ximian.com/archives/public/mono-list/2004-May/020501.html
> 
> Love,
> Jackson
> 
> 
> On Fri, 2004-06-04 at 05:28, KiOrKY wrote:
> > is npgsql runnong? because when i do datapadter.fill(), its makes me an
> out of memory error...
> > i copy the executable compiled under windows and the dll from mono gac in
> the exection directory!
> > any ideas?
> > regards

-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] error whith web

2004-06-04 Thread KiOrKY
OK, tahts the result ;)
---
assembly extern System.Web.Services
{
  .ver 1:0:3300:0
}
assembly extern System.Web
{
  .ver 1:0:3300:0
}
assembly extern System
{
  .ver 1:0:3300:0
}
assembly extern mscorlib
{
  .ver 1:0:3300:0
}
assembly 'Websrvcl'
{
  .custom instance void class 
[mscorlib]'System.Diagnostics.DebuggableAttribute'::.ctor(bool, bool) =  (01 00 01 00 
00 00 ) // ..

  .hash algorithm 0x8004
  .ver  0:0:0:0
}



Jackson Harper <[EMAIL PROTECTED]> a écrit :

> Hello,
> 
> Could you post the full assembly versions for all the assemblies you
> have in your /bin/ directory? To do this run monodis on each
> assembly in that directory like this:
> 
> monodis --assembly 
> 
> Thanks!
> Jackson
> 
> 
> On Fri, 2004-06-04 at 00:25, KiOrKY wrote:
> > why jhave i this error:
> > System.ArgumentException: Culture name rvice is not supported.
> > Parameter name: rvice
> > in <0x000f2> System.Globalization.CultureInfo:CreateSpecificCulture
> (string)
> > in (unmanaged) (wrapper managed-to-native)
> System.Reflection.Assembly:FillName
> (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > in <0x4> (wrapper managed-to-native)
> System.Reflection.Assembly:FillName
> (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > in <0x0002f> System.Reflection.Assembly:GetName (bool)
> > in <0x00013> System.Reflection.Assembly:GetName ()
> > in <0x0004f> System.Web.UI.TemplateParser:AddAssembly
> (System.Reflection.Assembly,bool)
> > in <0x000b4> System.Web.UI.TemplateParser:AddAssembliesInBin ()
> > in <0x001c1> System.Web.UI.TemplateParser:.ctor ()
> > in <0x00018> System.Web.UI.TemplateControlParser:.ctor ()
> > in <0x00034> System.Web.UI.PageParser:.ctor
> (string,string,System.Web.HttpContext)
> > in <0x00037> System.Web.UI.PageParser:GetCompiledPageInstance
> (string,string,System.Web.HttpContext)
> > in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler
> (System.Web.HttpContext,string,string,string)
> > in <0x00374> System.Web.HttpApplication:CreateHttpHandler
> (System.Web.HttpContext,string,string,string)
> > in <0x00122> CreateHandlerState:Execute ()
> > in <0x00084> StateMachine:ExecuteState
> (System.Web.HttpApplication/IStateHandler,bool&)
> > 
> > whith webservices anyone have idea?

-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] wine and mono segmentation fault

2004-06-04 Thread KiOrKY
why have i  a smenatation fault
the program is either compiled under windows or linux
debian sid
kernel  2.4.26
mcs 095
mono 20040603
gecko-sharp-0.4 gtksourceview-sharp-0.3 winelib-0.3
gtk-sharp-0.93  libgdiplus-0.8  wine20040505


installed all in /usr for compatibility problems

the code:
class HelloWindowsForms
{
static void Main()
{
System.Windows.Forms.MessageBox.Show("Welcome to the bill free zone.");
}
}


regards



-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] NPGSQL.DLL POSTGRESQL AND MONO

2004-06-04 Thread Jackson Harper




I have always wondered why people would need html markup to get their point across in an email. Now I know.

Formatted version of my previous email:

Maybe because the subject wasn't in all caps? Possibly it was because
you didn't provide enough details? 
Could you provide a DB schema,
and
a more complete test case? 
And do all of this in 
a nice easy to read profanity free bug report filed at bugzilla.ximian.com?

Hopefully this helps clear things up.

Jackson


On Fri, 2004-06-04 at 08:24, KiOrKY wrote:

so i repeat: 

debian sid
kernel  2.4.26
mcs 095
mono 20040603
gecko-sharp-0.4 gtksourceview-sharp-0.3 winelib-0.3
gtk-sharp-0.93  libgdiplus-0.8  wine20040505

the base is postgresql and is not on the same machine 

the code is :
string srequet3=@"Server=126.10.0.1;Port=5432;User Id=Pasquet;Database=";
srequet3+=@"Marrot;Password=kiorky";
Npgsql.NpgsqlConnection toto = new Npgsql.NpgsqlConnection(srequet3);			Npgsql.NpgsqlCommand cmd = new Npgsql.NpgsqlCommand(srequet,toto);			Npgsql.NpgsqlDataAdapter DaAd = new Npgsql.NpgsqlDataAdapter(cmd);			DataSet Dsdset = new DataSet();DaAd.Fill(Dsdset);Dsdset.AcceptChanges();	



the result; out of memory error
---
	

Jackson Harper <[EMAIL PROTECTED]> a écrit :

> Hello,
> 
> I have already asked you for more information on this bug. If you
> provide it the bug can be fixed. If you do not provide it and just
> continue to spam the mailing list turning development time into email
> deleting time the bug will probably not be fixed.
> 
> http://lists.ximian.com/archives/public/mono-list/2004-May/020501.html
> 
> Love,
> Jackson
> 
> 
> On Fri, 2004-06-04 at 05:28, KiOrKY wrote:
> > is npgsql runnong? because when i do datapadter.fill(), its makes me an
> out of memory error...
> > i copy the executable compiled under windows and the dll from mono gac in
> the exection directory!
> > any ideas?
> > regards





Re: [Mono-list] error whith web

2004-06-04 Thread Jackson Harper
Thanks. Could you do it again with the --assembly option? It looks like
an assembly is using the 'rvice' culture, which is not a real culture.
Is there only one assembly in you /bin directory?

Jackson


On Fri, 2004-06-04 at 08:30, KiOrKY wrote:
> OK, tahts the result ;)
> ---
> assembly extern System.Web.Services
> {
>   .ver 1:0:3300:0
> }
> assembly extern System.Web
> {
>   .ver 1:0:3300:0
> }
> assembly extern System
> {
>   .ver 1:0:3300:0
> }
> assembly extern mscorlib
> {
>   .ver 1:0:3300:0
> }
> assembly 'Websrvcl'
> {
>   .custom instance void class 
> [mscorlib]'System.Diagnostics.DebuggableAttribute'::.ctor(bool, bool) =  (01 00 01 
> 00 00 00 ) // ..
> 
>   .hash algorithm 0x8004
>   .ver  0:0:0:0
> }
> 
> 
> 
> Jackson Harper <[EMAIL PROTECTED]> a Ãcrit :
> 
> > Hello,
> > 
> > Could you post the full assembly versions for all the assemblies you
> > have in your /bin/ directory? To do this run monodis on each
> > assembly in that directory like this:
> > 
> > monodis --assembly 
> > 
> > Thanks!
> > Jackson
> > 
> > 
> > On Fri, 2004-06-04 at 00:25, KiOrKY wrote:
> > > why jhave i this error:
> > > System.ArgumentException: Culture name rvice is not supported.
> > > Parameter name: rvice
> > > in <0x000f2> System.Globalization.CultureInfo:CreateSpecificCulture
> > (string)
> > > in (unmanaged) (wrapper managed-to-native)
> > System.Reflection.Assembly:FillName
> > (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > in <0x4> (wrapper managed-to-native)
> > System.Reflection.Assembly:FillName
> > (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > in <0x0002f> System.Reflection.Assembly:GetName (bool)
> > > in <0x00013> System.Reflection.Assembly:GetName ()
> > > in <0x0004f> System.Web.UI.TemplateParser:AddAssembly
> > (System.Reflection.Assembly,bool)
> > > in <0x000b4> System.Web.UI.TemplateParser:AddAssembliesInBin ()
> > > in <0x001c1> System.Web.UI.TemplateParser:.ctor ()
> > > in <0x00018> System.Web.UI.TemplateControlParser:.ctor ()
> > > in <0x00034> System.Web.UI.PageParser:.ctor
> > (string,string,System.Web.HttpContext)
> > > in <0x00037> System.Web.UI.PageParser:GetCompiledPageInstance
> > (string,string,System.Web.HttpContext)
> > > in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler
> > (System.Web.HttpContext,string,string,string)
> > > in <0x00374> System.Web.HttpApplication:CreateHttpHandler
> > (System.Web.HttpContext,string,string,string)
> > > in <0x00122> CreateHandlerState:Execute ()
> > > in <0x00084> StateMachine:ExecuteState
> > (System.Web.HttpApplication/IStateHandler,bool&)
> > > 
> > > whith webservices anyone have idea?

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] NPGSQL.DLL POSTGRESQL AND MONO

2004-06-04 Thread KiOrKY
please write me in plain text ;) i prefer you have the test case, the DB shema is 
simple
one table ( name : popo) with two columns ! and i want just to select all the lines in 
(the table isnt empty).
string srequet="select * from popo;"
string srequet3=@"Server=126.10.0.1;Port=5432;User Id=Pasquet;Database=";
srequet3+=@"Marrot;Password=kiorky";;
 Npgsql.NpgsqlConnection toto = new Npgsql.NpgsqlConnection(srequet3);  
Npgsql.NpgsqlCommand cmd = new Npgsql.NpgsqlCommand(srequet,toto);
Npgsql.NpgsqlDataAdapter DaAd = new Npgsql.NpgsqlDataAdapter(cmd);
DataSet Dsdset = new DataSet();  ===
DaAd.Fill(Dsdset);  <   THE CODE CRASH HERE
Dsdset.AcceptChanges();  



regards

Jackson Harper <[EMAIL PROTECTED]> a écrit :

> I have always wondered why people would need html markup to get their point across 
> in an email. Now I know.
> 
> Formatted version of my previous email:
> 
> Maybe because the subject wasn't in all caps? Possibly it was because
> you didn't provide enough details? 
> Could you provide a DB schema,
> and
> a more complete test case? 
> And do all of this in 
> a nice easy to read profanity free bug report filed at bugzilla.ximian.com?
> 
> Hopefully this helps clear things up.
> 
> Jackson
> 
> 
> On Fri, 2004-06-04 at 08:24, KiOrKY wrote:
> 
> so i repeat: 
> 
> debian sid
> kernel  2.4.26
> mcs 095
> mono 20040603
> gecko-sharp-0.4 gtksourceview-sharp-0.3 winelib-0.3
> gtk-sharp-0.93  libgdiplus-0.8  wine20040505
> 
> the base is postgresql and is not on the same machine 
> 
> the code is :
> string srequet3=@"Server=126.10.0.1;Port=5432;User Id=Pasquet;Database=";
> srequet3+=@"Marrot;Password=kiorky";
> Npgsql.NpgsqlConnection toto = new Npgsql.NpgsqlConnection(srequet3);
>  Npgsql.NpgsqlCommand cmd = new Npgsql.NpgsqlCommand(srequet,toto);  
> Npgsql.NpgsqlDataAdapter DaAd = new Npgsql.NpgsqlDataAdapter(cmd);   
>DataSet Dsdset = new DataSet();   
>   DaAd.Fill(Dsdset); 
>  Dsdset.AcceptChanges(); 
> 
> 
> 
> the result; out of memory error
> ---   
>   
> 
> Jackson Harper <[EMAIL PROTECTED]> a écrit :
> 
> > Hello,
> > 
> > I have already asked you for more information on this bug. If you
> > provide it the bug can be fixed. If you do not provide it and just
> > continue to spam the mailing list turning development time into email
> > deleting time the bug will probably not be fixed.
> > 
> >

-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] error whith web

2004-06-04 Thread KiOrKY

yes  just one.
the result:
Assembly Table
Name:  Websrvcl
Hash Algoritm: 0x8004
Version:   0.0.0.0
Flags: 0x
PublicKey: BlobPtr (0x)
Zero sized public key
Culture:   <== is it normal to be empty??   

Jackson Harper <[EMAIL PROTECTED]> a écrit :

> Thanks. Could you do it again with the --assembly option? It looks like
> an assembly is using the 'rvice' culture, which is not a real culture.
> Is there only one assembly in you /bin directory?
> 
> Jackson
> 
> 
> On Fri, 2004-06-04 at 08:30, KiOrKY wrote:
> > OK, tahts the result ;)
> > ---
> > assembly extern System.Web.Services
> > {
> >   .ver 1:0:3300:0
> > }
> > assembly extern System.Web
> > {
> >   .ver 1:0:3300:0
> > }
> > assembly extern System
> > {
> >   .ver 1:0:3300:0
> > }
> > assembly extern mscorlib
> > {
> >   .ver 1:0:3300:0
> > }
> > assembly 'Websrvcl'
> > {
> >   .custom instance void class
> [mscorlib]'System.Diagnostics.DebuggableAttribute'::.ctor(bool, bool) =  (01 00
> 01 00 00 00 ) // ..
> > 
> >   .hash algorithm 0x8004
> >   .ver  0:0:0:0
> > }
> > 
> > 
> > 
> > Jackson Harper <[EMAIL PROTECTED]>
> a écrit :
> > 
> > > Hello,
> > > 
> > > Could you post the full assembly versions for all the assemblies
> you
> > > have in your <webapp>/bin/ directory? To do this run
> monodis on each
> > > assembly in that directory like this:
> > > 
> > > monodis --assembly <assembly name>
> > > 
> > > Thanks!
> > > Jackson
> > > 
> > > 
> > > On Fri, 2004-06-04 at 00:25, KiOrKY wrote:
> > > > why jhave i this error:
> > > > System.ArgumentException: Culture name rvice is not
> supported.
> > > > Parameter name: rvice
> > > > in <0x000f2>
> System.Globalization.CultureInfo:CreateSpecificCulture
> > > (string)
> > > > in (unmanaged) (wrapper managed-to-native)
> > > System.Reflection.Assembly:FillName
> > > (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > > in <0x4> (wrapper managed-to-native)
> > > System.Reflection.Assembly:FillName
> > > (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > > in <0x0002f>
> System.Reflection.Assembly:GetName (bool)
> > > > in <0x00013>
> System.Reflection.Assembly:GetName ()
> > > > in <0x0004f>
> System.Web.UI.TemplateParser:AddAssembly
> > > (System.Reflection.Assembly,bool)
> > > > in <0x000b4>
> System.Web.UI.TemplateParser:AddAssembliesInBin ()
> > > > in <0x001c1>
> System.Web.UI.TemplateParser:.ctor ()
> > > > in <0x00018>
> System.Web.UI.TemplateControlParser:.ctor ()
> > > > in <0x00034> System.Web.UI.PageParser:.ctor
> > > (string,string,System.Web.HttpContext)
> > > > in <0x00037>
> System.Web.UI.PageParser:GetCompiledPageInstance
> > > (string,string,System.Web.HttpContext)
> > > > in <0x00011>
> System.Web.UI.PageHandlerFactory:GetHandler
> > > (System.Web.HttpContext,string,string,string)
> > > > in <0x00374>
> System.Web.HttpApplication:CreateHttpHandler
> > > (System.Web.HttpContext,string,string,string)
> > > > in <0x00122> CreateHandlerState:Execute ()
> > > > in <0x00084> StateMachine:ExecuteState
> > > (System.Web.HttpApplication/IStateHandler,bool&)
> > > > 
> > > > whith webservices anyone have idea?

-- 

- Gloire au monde libre-

I{ i () r |{ Y
Debian User
-
-- Mathieu PASQUET 
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
-


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] error whith web

2004-06-04 Thread Jonathan Gilbert
I'm not sure what the problem here is, but I just thought I'd point out
that "rvice" is the last 5 letters of the word "Service" as in "WebService"...

Jonathan

At 08:33 AM 04/06/2004 -0700, Jackson Harper wrote:
>Thanks. Could you do it again with the --assembly option? It looks like
>an assembly is using the 'rvice' culture, which is not a real culture.
>Is there only one assembly in you /bin directory?
>
>Jackson
>
>On Fri, 2004-06-04 at 08:30, KiOrKY wrote:
>> OK, tahts the result ;)
>> ---
>> assembly extern System.Web.Services
>> {
>>   .ver 1:0:3300:0
>> }
>> assembly extern System.Web
>> {
>>   .ver 1:0:3300:0
>> }
>> assembly extern System
>> {
>>   .ver 1:0:3300:0
>> }
>> assembly extern mscorlib
>> {
>>   .ver 1:0:3300:0
>> }
>> assembly 'Websrvcl'
>> {
>>   .custom instance void class
[mscorlib]'System.Diagnostics.DebuggableAttribute'::.ctor(bool, bool) =
(01 00 01 00 00 00 ) // ..
>> 
>>   .hash algorithm 0x8004
>>   .ver  0:0:0:0
>> }
>> 
>> 
>> 
>> Jackson Harper <[EMAIL PROTECTED]> a écrit :
>> 
>> > Hello,
>> > 
>> > Could you post the full assembly versions for all the assemblies you
>> > have in your /bin/ directory? To do this run monodis on
each
>> > assembly in that directory like this:
>> > 
>> > monodis --assembly 
>> > 
>> > Thanks!
>> > Jackson
>> > 
>> > 
>> > On Fri, 2004-06-04 at 00:25, KiOrKY wrote:
>> > > why jhave i this error:
>> > > System.ArgumentException: Culture name rvice is not supported.
>> > > Parameter name: rvice
>> > > in <0x000f2>
System.Globalization.CultureInfo:CreateSpecificCulture
>> > (string)
>> > > in (unmanaged) (wrapper managed-to-native)
>> > System.Reflection.Assembly:FillName
>> > (System.Reflection.Assembly,System.Reflection.AssemblyName)
>> > > in <0x4> (wrapper managed-to-native)
>> > System.Reflection.Assembly:FillName
>> > (System.Reflection.Assembly,System.Reflection.AssemblyName)
>> > > in <0x0002f> System.Reflection.Assembly:GetName (bool)
>> > > in <0x00013> System.Reflection.Assembly:GetName ()
>> > > in <0x0004f> System.Web.UI.TemplateParser:AddAssembly
>> > (System.Reflection.Assembly,bool)
>> > > in <0x000b4>
System.Web.UI.TemplateParser:AddAssembliesInBin ()
>> > > in <0x001c1> System.Web.UI.TemplateParser:.ctor ()
>> > > in <0x00018> System.Web.UI.TemplateControlParser:.ctor ()
>> > > in <0x00034> System.Web.UI.PageParser:.ctor
>> > (string,string,System.Web.HttpContext)
>> > > in <0x00037> System.Web.UI.PageParser:GetCompiledPageInstance
>> > (string,string,System.Web.HttpContext)
>> > > in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler
>> > (System.Web.HttpContext,string,string,string)
>> > > in <0x00374> System.Web.HttpApplication:CreateHttpHandler
>> > (System.Web.HttpContext,string,string,string)
>> > > in <0x00122> CreateHandlerState:Execute ()
>> > > in <0x00084> StateMachine:ExecuteState
>> > (System.Web.HttpApplication/IStateHandler,bool&)
>> > > 
>> > > whith webservices anyone have idea?

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] error whith web

2004-06-04 Thread Jackson Harper

An empty culture just means that it will use the invariant culture which
is what most assemblies use, so that is fine. What do you get for echo
$LANG on the command line?

Jackson


On Fri, 2004-06-04 at 08:42, KiOrKY wrote:
> yes  just one.
> the result:
> Assembly Table
> Name:  Websrvcl
> Hash Algoritm: 0x8004
> Version:   0.0.0.0
> Flags: 0x
> PublicKey: BlobPtr (0x)
>   Zero sized public key
> Culture:   <== is it normal to be empty??   
> 
> Jackson Harper <[EMAIL PROTECTED]> a Ãcrit :
> 
> > Thanks. Could you do it again with the --assembly option? It looks like
> > an assembly is using the 'rvice' culture, which is not a real culture.
> > Is there only one assembly in you /bin directory?
> > 
> > Jackson
> > 
> > 
> > On Fri, 2004-06-04 at 08:30, KiOrKY wrote:
> > > OK, tahts the result ;)
> > > ---
> > > assembly extern System.Web.Services
> > > {
> > >   .ver 1:0:3300:0
> > > }
> > > assembly extern System.Web
> > > {
> > >   .ver 1:0:3300:0
> > > }
> > > assembly extern System
> > > {
> > >   .ver 1:0:3300:0
> > > }
> > > assembly extern mscorlib
> > > {
> > >   .ver 1:0:3300:0
> > > }
> > > assembly 'Websrvcl'
> > > {
> > >   .custom instance void class
> > [mscorlib]'System.Diagnostics.DebuggableAttribute'::.ctor(bool, bool) =  (01 00
> > 01 00 00 00 ) // ..
> > > 
> > >   .hash algorithm 0x8004
> > >   .ver  0:0:0:0
> > > }
> > > 
> > > 
> > > 
> > > Jackson Harper <[EMAIL PROTECTED]>
> > a ÃÂcrit :
> > > 
> > > > Hello,
> > > > 
> > > > Could you post the full assembly versions for all the assemblies
> > you
> > > > have in your <webapp>/bin/ directory? To do this run
> > monodis on each
> > > > assembly in that directory like this:
> > > > 
> > > > monodis --assembly <assembly name>
> > > > 
> > > > Thanks!
> > > > Jackson
> > > > 
> > > > 
> > > > On Fri, 2004-06-04 at 00:25, KiOrKY wrote:
> > > > > why jhave i this error:
> > > > > System.ArgumentException: Culture name rvice is not
> > supported.
> > > > > Parameter name: rvice
> > > > > in <0x000f2>
> > System.Globalization.CultureInfo:CreateSpecificCulture
> > > > (string)
> > > > > in (unmanaged) (wrapper managed-to-native)
> > > > System.Reflection.Assembly:FillName
> > > > (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > > > in <0x4> (wrapper managed-to-native)
> > > > System.Reflection.Assembly:FillName
> > > > (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > > > in <0x0002f>
> > System.Reflection.Assembly:GetName (bool)
> > > > > in <0x00013>
> > System.Reflection.Assembly:GetName ()
> > > > > in <0x0004f>
> > System.Web.UI.TemplateParser:AddAssembly
> > > > (System.Reflection.Assembly,bool)
> > > > > in <0x000b4>
> > System.Web.UI.TemplateParser:AddAssembliesInBin ()
> > > > > in <0x001c1>
> > System.Web.UI.TemplateParser:.ctor ()
> > > > > in <0x00018>
> > System.Web.UI.TemplateControlParser:.ctor ()
> > > > > in <0x00034> System.Web.UI.PageParser:.ctor
> > > > (string,string,System.Web.HttpContext)
> > > > > in <0x00037>
> > System.Web.UI.PageParser:GetCompiledPageInstance
> > > > (string,string,System.Web.HttpContext)
> > > > > in <0x00011>
> > System.Web.UI.PageHandlerFactory:GetHandler
> > > > (System.Web.HttpContext,string,string,string)
> > > > > in <0x00374>
> > System.Web.HttpApplication:CreateHttpHandler
> > > > (System.Web.HttpContext,string,string,string)
> > > > > in <0x00122> CreateHandlerState:Execute ()
> > > > > in <0x00084> StateMachine:ExecuteState
> > > > (System.Web.HttpApplication/IStateHandler,bool&)
> > > > > 
> > > > > whith webservices anyone have idea?

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] error whith web

2004-06-04 Thread KiOrKY

fr_FR.iso88591 is my LANG  ;)
Jonathan Gilbert  [EMAIL PROTECTED] a dit:ubject ] [ author ]

I'm not sure what the problem here is, but I just thought I'd point out
that "rvice" is the last 5 letters of the word "Service" as in "WebService"=
..
then where does it come form? and BTW why the same goes fine under windows



Jackson Harper <[EMAIL PROTECTED]> a écrit :

> An empty culture just means that it will use the invariant culture which
> is what most assemblies use, so that is fine. What do you get for echo
> $LANG on the command line?
> 
> Jackson
> 
> 
> On Fri, 2004-06-04 at 08:42, KiOrKY wrote:
> > yes  just one.
> > the result:
> > Assembly Table
> > Name:  Websrvcl
> > Hash Algoritm: 0x8004
> > Version:   0.0.0.0
> > Flags: 0x
> > PublicKey: BlobPtr (0x)
> >  Zero sized public key
> > Culture:   <== is it normal to be empty??   
> > 
> > Jackson Harper <[EMAIL PROTECTED]>
> a écrit :
> > 
> > > Thanks. Could you do it again with the --assembly option? It looks
> like
> > > an assembly is using the 'rvice' culture, which is not a real
> culture.
> > > Is there only one assembly in you <webapp>/bin
> directory?
> > > 
> > > Jackson
> > > 
> > > 
> > > On Fri, 2004-06-04 at 08:30, KiOrKY wrote:
> > > > OK, tahts the result ;)
> > > > ---
> > > > assembly extern System.Web.Services
> > > > {
> > > >   .ver 1:0:3300:0
> > > > }
> > > > assembly extern System.Web
> > > > {
> > > >   .ver 1:0:3300:0
> > > > }
> > > > assembly extern System
> > > > {
> > > >   .ver 1:0:3300:0
> > > > }
> > > > assembly extern mscorlib
> > > > {
> > > >   .ver 1:0:3300:0
> > > > }
> > > > assembly 'Websrvcl'
> > > > {
> > > >   .custom instance void class
> > > [mscorlib]'System.Diagnostics.DebuggableAttribute'::.ctor(bool, bool)
> =  (01 00
> > > 01 00 00 00 ) // ..
> > > > 
> > > >   .hash algorithm 0x8004
> > > >   .ver  0:0:0:0
> > > > }
> > > > 
> > > > 
> > > > 
> > > > Jackson Harper <[EMAIL PROTECTED]>
> > > a écrit :
> > > > 
> > > > > Hello,
> > > > > 
> > > > > Could you post the full assembly versions for all
> the assemblies
> > > you
> > > > > have in your &lt;webapp&gt;/bin/
> directory? To do this run
> > > monodis on each
> > > > > assembly in that directory like this:
> > > > > 
> > > > > monodis --assembly &lt;assembly
> name&gt;
> > > > > 
> > > > > Thanks!
> > > > > Jackson
> > > > > 
> > > > > 
> > > > > On Fri, 2004-06-04 at 00:25, KiOrKY wrote:
> > > > > &gt; why jhave i this error:
> > > > > &gt; System.ArgumentException: Culture name
> rvice is not
> > > supported.
> > > > > &gt; Parameter name: rvice
> > > > > &gt; in &lt;0x000f2&gt;
> > > System.Globalization.CultureInfo:CreateSpecificCulture
> > > > > (string)
> > > > > &gt; in (unmanaged) (wrapper
> managed-to-native)
> > > > > System.Reflection.Assembly:FillName
> > > > >
> (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > > > &gt; in &lt;0x4&gt;
> (wrapper managed-to-native)
> > > > > System.Reflection.Assembly:FillName
> > > > >
> (System.Reflection.Assembly,System.Reflection.AssemblyName)
> > > > > &gt; in &lt;0x0002f&gt;
> > > System.Reflection.Assembly:GetName (bool)
> > > > > &gt; in &lt;0x00013&gt;
> > > System.Reflection.Assembly:GetName ()
> > > > > &gt; in &lt;0x0004f&gt;
> > > System.Web.UI.TemplateParser:AddAssembly
> > > > > (System.Reflection.Assembly,bool)
> > > > > &gt; in &lt;0x000b4&gt;
> > > System.Web.UI.TemplateParser:AddAssembliesInBin ()
> > > > > &gt; in &lt;0x001c1&gt;
> > > System.Web.UI.TemplateParser:.ctor ()
> > > > > &gt; in &lt;0x00018&gt;
> > > System.Web.UI.TemplateControlParser:.ctor ()
> > > > > &gt; in &lt;0x00034&gt;
> System.Web.UI.PageParser:.ctor
> > > > > (string,string,System.Web.HttpContext)
> > > > > &gt; in &lt;0x00037&gt;
> > > System.Web.UI.PageParser:GetCompiledPageInstance
> > > > > (string,string,System.Web.HttpContext)
> > > > > &gt; in &lt;0x00011&gt;
> > > System.Web.UI.PageHandlerFactory:GetHandler
> > > > > (System.Web.HttpContext,string,string,string)
> > > > > &gt; in &lt;0x00374&gt;
> > > System.Web.HttpApplication:CreateHttpHandler
> > > > > (System.Web.HttpContext,string,string,string)
> > > > > &gt; in &lt;0x00122&gt;
> CreateHandlerState:Execute ()
> > > > > &gt; in &lt;0x00084&gt;
> StateMachine:ExecuteState
> > > > >
> (System.Web.HttpApplication/IStateHandler,bool&amp;)
> > > > > &gt; 
> > > > > &gt; whith webservices anyone ha

RE: [Mono-list] Bug in mod_mono

2004-06-04 Thread Andrew Arnott
Gonzalo,

>> This is probably appropriate for Bugzilla, but I don't see an XSP or
>> mod_mono section at http://bugzilla.ximian.com.  
>> 
>> The  tag works for single webs, but for virtual hosts, only the
first
>> web site accessed after mod-mono-server.exe starts finds the
SchoolCtrls.dll
>> assembly.  


>The problem here might be in the runtime. When we load an assembly in
>one domain, it's seen from other domains too.

>In any case, please file this as a bug report under Sys.Web in Class
>Libraries, as it is not a bug in xsp. Attach the simplest test case you
>can get and I'll try to do something about this.

I have filed it as bug #59608.  Thank you for looking into this.


smime.p7s
Description: S/MIME cryptographic signature


[Mono-list] mod_mono

2004-06-04 Thread Osmany Guirola Cruz
Hi
 I have installed mono xsp mod_mono in linux, the test examples from xsp
works whithout problem but now I want to make another folder to make my
aspx pages and nothing happens the asp.net code does not work ,what
should I do in the http.conf to create another folder put my aspx files
in it whitout problem





___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mod_mono

2004-06-04 Thread Cory Nelson
follow the instructions for setting up the xsp examples, substituting
your application directory with theirs.

On Fri, 4 Jun 2004 15:48:48 -0400, Osmany Guirola Cruz
<[EMAIL PROTECTED]> wrote:
> 
> Hi
> I have installed mono xsp mod_mono in linux, the test examples from xsp
> works whithout problem but now I want to make another folder to make my
> aspx pages and nothing happens the asp.net code does not work ,what
> should I do in the http.conf to create another folder put my aspx files
> in it whitout problem
> 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
>
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] mod_mono

2004-06-04 Thread Osmany Guirola Cruz
I do this and works (asp example)

Alias /mono "/srv/www/htdocs/test"
MonoApplications "/mono:/srv/www/htdocs/test"

 SetHandler mono
 
  DirectoryIndex index.aspx
 


But when I do this

Alias /first "/srv/www/htdocs/first"
MonoApplications "/mono:/srv/www/htdocs/first"

 SetHandler mono
 
  DirectoryIndex index.aspx
 


Does not work







-Original Message-
From: Cory Nelson [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 04, 2004 5:14 PM
To: Osmany Guirola Cruz
Cc: [EMAIL PROTECTED]
Subject: Re: [Mono-list] mod_mono


follow the instructions for setting up the xsp examples, substituting
your application directory with theirs.

On Fri, 4 Jun 2004 15:48:48 -0400, Osmany Guirola Cruz
<[EMAIL PROTECTED]> wrote:
> 
> Hi
> I have installed mono xsp mod_mono in linux, the test examples from 
> xsp works whithout problem but now I want to make another folder to 
> make my aspx pages and nothing happens the asp.net code does not work 
> ,what should I do in the http.conf to create another folder put my 
> aspx files in it whitout problem
> 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED] 
> http://lists.ximian.com/mailman/listinfo/mono-list
>


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] beta2 xsp / mod_mono problem

2004-06-04 Thread Mike Morano
Hi All,
  I have been trying to upgrade to beta2 for my web applications with limited 
success (they worked just fine in beta1, using xsp standalone, and mod_mono).  
I made sure that I completely removed all old pieces of the beta1 install.  I 
was wondering if anyone else has been running into these same issues, or if I 
have a misconfiguration somewhere.  If not, I will add to bugzilla.


arch: x86  (athlonXP)
distro: Gentoo
kernel: 2.6.6 
glibc (w/ nptl): glibc-2.3.3
gcc: gcc 3.3.2
icu: 2.6
apache: 2.0.49
mono: beta2 (mono-0.95)
xsp: beta2 (xsp-0.14)
mod_mono: beta2 (mod_mono-0.10)
install prefix (mono, xsp, mod_mono): /usr/local

..please let me know if there is any more info that might help.

The following are the odd bits I have experienced:

1. SharpZipLib
When running XSP and trying to access the webapp the first time, it reported 
that it could not resolve a dependency from ByteFX.Data, namely SharpZipLib.  
The app compiled fine without any special work, however, when running the app 
we do get this error.  Note: I recompiled it fresh with the beta2 release.  I 
was able to work around this by copying in the SharpZipLib dll into the 
webapp /bin directory.  Have I configured something wrong, or is this a bug?

2. mod_mono and XSP hang
I have run into some strange behavior where both mod_mono and XSP hang after a 
few http requests.  By hang, when I make a request, the browser continues 
trying to get the response, but it never comes.  This typically leaves a 
partially rendered page with (usually) images missing, though sometimes there 
is no response at all for a request.  Unfortunately no exception comes 
either, and to kill XSP, I am forced to hit Ctrl-C (enter does not work after 
the hang).  

I thought it might be thread/nptl related, so I upgraded from glibc 2.3.2 to 
glibc 2.3.3, but the problem persisted.

I then tried modifying my apache configuration to use "AddHandler 
mono .aspx .ascx .asax .ashx .asmx .cs .config" rather than "SetHandler 
mono", and much to my surprise, it worked!  Based on this configuration, all 
content files will be served through apache, without mod_mono getting in the 
way.  Is there something I have incorrectly configured (either mod_mono or 
xsp or system deps)?  Ideally I would be able to use apache/mod_mono for my 
"production" environment, and XSP for development.

Not sure if this is helpful, but it is how I start XSP:
mono /home/mmorano/xsp-0.14/server/xsp.exe --verbose --port  
--appconfigfile /home/mmorano/code/webapp/mono.webapp 
--root /home/mmorano/code/webapp/production

and this is my apache config (either SetHandler or AddHandler is commented 
out):

DocumentRoot /path/to/website
MonoExecutablePath "/usr/local/bin/mono"
MonoServerPath "/usr/local/bin/mod-mono-server.exe"
MonoApplications "/:/path/to/website"
MonoApplicationsConfigFile "/path/to/website/mono.webapp"
MonoDocumentRootDir "/path/to/website"


#SetHandler mono
AddHandler mono .aspx .ascx .asax .ashx .asmx .cs .config

  SetOutputFilter DEFLATE

DirectoryIndex index.aspx
Options -Indexes FollowSymLinks MultiViews
AllowOverride All

  Order allow,deny
  Allow from all




Thoughts?

Thanks,
  Mike
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] beta2 xsp / mod_mono problem

2004-06-04 Thread jdegante
Hi

I got the same error with xsp server.

** (/usr/bin/xsp.exe:3469): WARNING **: Could not find assembly
ICSharpCode.SharpZipLib, references from
/usr/lib/mono/gac/ByteFX.Data/0.7.6.1__0738eb9f132ed756/ByteFX.Data.dll
(assemblyref_index=7)
 Major/Minor: 0,31
 Build:   0,0
 Token:   1b03e6acf1164f73


El vie, 04-06-2004 a las 17:24, Mike Morano escribió:
> Hi All,
>   I have been trying to upgrade to beta2 for my web applications with limited 
> success (they worked just fine in beta1, using xsp standalone, and mod_mono).  
> I made sure that I completely removed all old pieces of the beta1 install.  I 
> was wondering if anyone else has been running into these same issues, or if I 
> have a misconfiguration somewhere.  If not, I will add to bugzilla.
> 
> 
> arch: x86  (athlonXP)
> distro: Gentoo
> kernel: 2.6.6 
> glibc (w/ nptl): glibc-2.3.3
> gcc: gcc 3.3.2
> icu: 2.6
> apache: 2.0.49
> mono: beta2 (mono-0.95)
> xsp: beta2 (xsp-0.14)
> mod_mono: beta2 (mod_mono-0.10)
> install prefix (mono, xsp, mod_mono): /usr/local
> 
> ..please let me know if there is any more info that might help.
> 
> The following are the odd bits I have experienced:
> 
> 1. SharpZipLib
> When running XSP and trying to access the webapp the first time, it reported 
> that it could not resolve a dependency from ByteFX.Data, namely SharpZipLib.  
> The app compiled fine without any special work, however, when running the app 
> we do get this error.  Note: I recompiled it fresh with the beta2 release.  I 
> was able to work around this by copying in the SharpZipLib dll into the 
> webapp /bin directory.  Have I configured something wrong, or is this a bug?
> 
> 2. mod_mono and XSP hang
> I have run into some strange behavior where both mod_mono and XSP hang after a 
> few http requests.  By hang, when I make a request, the browser continues 
> trying to get the response, but it never comes.  This typically leaves a 
> partially rendered page with (usually) images missing, though sometimes there 
> is no response at all for a request.  Unfortunately no exception comes 
> either, and to kill XSP, I am forced to hit Ctrl-C (enter does not work after 
> the hang).  
> 
> I thought it might be thread/nptl related, so I upgraded from glibc 2.3.2 to 
> glibc 2.3.3, but the problem persisted.
> 
> I then tried modifying my apache configuration to use "AddHandler 
> mono .aspx .ascx .asax .ashx .asmx .cs .config" rather than "SetHandler 
> mono", and much to my surprise, it worked!  Based on this configuration, all 
> content files will be served through apache, without mod_mono getting in the 
> way.  Is there something I have incorrectly configured (either mod_mono or 
> xsp or system deps)?  Ideally I would be able to use apache/mod_mono for my 
> "production" environment, and XSP for development.
> 
> Not sure if this is helpful, but it is how I start XSP:
> mono /home/mmorano/xsp-0.14/server/xsp.exe --verbose --port  
> --appconfigfile /home/mmorano/code/webapp/mono.webapp 
> --root /home/mmorano/code/webapp/production
> 
> and this is my apache config (either SetHandler or AddHandler is commented 
> out):
> 
> DocumentRoot /path/to/website
> MonoExecutablePath "/usr/local/bin/mono"
> MonoServerPath "/usr/local/bin/mod-mono-server.exe"
> MonoApplications "/:/path/to/website"
> MonoApplicationsConfigFile "/path/to/website/mono.webapp"
> MonoDocumentRootDir "/path/to/website"
> 
> 
> #SetHandler mono
> AddHandler mono .aspx .ascx .asax .ashx .asmx .cs .config
> 
>   SetOutputFilter DEFLATE
> 
> DirectoryIndex index.aspx
> Options -Indexes FollowSymLinks MultiViews
> AllowOverride All
> 
>   Order allow,deny
>   Allow from all
> 
> 
> 
> 
> Thoughts?
> 
> Thanks,
>   Mike
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: Mono Beta2 packages for Fedora Core 2 to arrive by the end of the week

2004-06-04 Thread George Farris
On Fri, 2004-06-04 at 00:57, Ecmel Ercan wrote:
> Any news on this?
> 
> 

Yes, I'm eagerly awaiting this myself.

-- 
George Farris <[EMAIL PROTECTED]>

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Dream of Mono, GTK#, and XSP Beta 2 Windows Installer

2004-06-04 Thread Daniel Morgan
Hello,

I would like to have a Windows Installer for Mono Beta 2 that includes
the following:
- Mono Beta 2
- GTK# 
- XSP 
- Static HTML docs

Gonzalo has provided us with a Windows Installer for Mono Beta 2.   See
the Mono download page.

John Luke is working on a GTK# Windows Installer that will work on .NET
then he will create a GTK# installer
 that will work on Mono.  Jluke, can we get a sneak preview please?

Joshua has created static HTML pages for Mono and GTK# at

http://taubz.for.net/code/monodocs/

The docs are in .tar.gz format, so you may need cygwin to un-tar-gzip
them.
These docs were created from a tool he created.  He has since added this
tool to monodoc.

Now, if we can get get XSP to work on Windows.  I know it builds on
Windows, but I am unable to get pages.  This could be my
misunderstanding of how to get it to work.

While I'm dreaming, let me dream BIG:
- bundle with SharpDevelop
- include GTK# apps that work on Windows and Linux, such as, SQL# For
GTK#
  Please let me know if you know of other GTK#/Mono apps that work on
Linux and Windows.
- get mod_mono to work with Apache on Windows

Two things I think Mono needs on Windows:
- a printing engine that works on Windows and Linux.  Not sure how this
could be acomplished.
- an imaging API that works on Windows and Linux.  On Windows, use TWAIN
underneath, on Linux, use SANE underneath

Anyways, these are my dreams.  Anyone care to help make it a reality?

Thanks,
Daniel


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Dream of Mono, GTK#, and XSP Beta 2 Windows Installer

2004-06-04 Thread John Luke
Daniel Morgan wrote:
Hello,
John Luke is working on a GTK# Windows Installer that will work on .NET
then he will create a GTK# installer
that will work on Mono.  Jluke, can we get a sneak preview please?
 

As soon as I figure out what I broke on cygwin, I will post it somewhere 
and send an email to gtk-sharp-list.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Gtk# 0.93 released

2004-06-04 Thread Randy J. Ray
It would seem that the Mono beta2 is eager to promote Gtk# 0.93. It's listed 
twice in the download area (right before Gecko# and again right after 
GtkSourceView#). :-)

Randy
--
[EMAIL PROTECTED]  http://www.rjray.org http://www.svsm.org
Always code as if the guy who ends up maintaining your code will be a violent
psychopath who knows where you live.  -- Rick Osborne
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] how to do proper role based authentication in web apps

2004-06-04 Thread Gonzalo Paniagua Javier
El vie, 04-06-2004 a las 07:46, DI Mag. Rainer Burgstaller escribió:
> Hi
> 
> I have a question on how to properly do RBA in web applications. I am  
> currently using the formsauthentication but it only supports fixed users  
> stored in the web.config file which is pretty inflexible (am I missing  
> something)? So what I currently do is to override the  
> Thread.CurrentPrincipal and HttpContext.User by the user which is stored  
> in the cookie (which I also create by hand). I do that in the global.asax.
> 
> I checked a few open source projects (omniportal, Rainbow) on how they do  
> it but it does not seem like they do it too good either (I dont mean to  
> insult anyone). I am coming from the java side and there JAAS offers a  
> quite elegant way of doing such a thing by using "plugin" authentication  
> providers. So I wondered if there is such a possibility or if I could  
> somehow replace the FormsAuthenticationModule by something I do which then  
> allows authentication agains a db for example.

See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfauthorizationsection.asp

Mono supports that.

-Gonzalo


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] mod_mono

2004-06-04 Thread Gonzalo Paniagua Javier
El vie, 04-06-2004 a las 23:27, Osmany Guirola Cruz escribió:
> I do this and works (asp example)
> 
> Alias /mono "/srv/www/htdocs/test"
> MonoApplications "/mono:/srv/www/htdocs/test"
> 
>  SetHandler mono
>  
>   DirectoryIndex index.aspx
>  
> 
> 
> But when I do this
> 
> Alias /first "/srv/www/htdocs/first"
> MonoApplications "/mono:/srv/www/htdocs/first"
> 
>  SetHandler mono
>  
>   DirectoryIndex index.aspx
>  
> 
> 
> Does not work

"Does not work" is too generic for us to help you...
May be it's a permission problem. Does the user running apache have
permission to read from that directory?

-Gonzalo


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] how to do proper role based authentication in web apps

2004-06-04 Thread Steve Mentzer
Forms authentication and RBA in ASP.NET is a bit of a sore spot with  
web developers these days.

The biggest issue with RBA has to do with the ASP.NET lifecycle/event  
chain. Typically, developers choose to use the declarative security  
attributes on their pages. The problem is that these attributes are  
processed very early in the event chain.

Typically, apps will store role information in a database. Forms  
authentication combined with RBA requires that you load all security  
information on every request in the during the 'AuthenticateRequest'  
event. This event gives you the ability to create a custom IPrincipal  
object, containing the roles.

The sore spot is that each page transition requires the runtime to  
reload all security information for the user from the database  
again Developers traditionally have handled this by caching login  
details / security in session state. Unfortunately, session state isn't  
loaded until much further in the event chain (AcquireSessionState), but  
in the meantime the declarative security attributes are checked, and  
BANG, you are screwed.

To sum it up, using RBA with FormAuthentication requires that you incur  
a huge scalability bottleneck because you have to reload all security  
info at runtime.

FWIW - I hate using declarative security attributes on pages, as it is  
easier to trap security situations programatically.

As Gonzalo indicated earlier, you CAN write your own handlers to  
address your needs. If you are looking for some pre-written ASP.NET  
security code that utilizes FormsAuthentication, cookies, caching,  
single-sign-on, etc, search for IOD.Security on  
http://www.gotdotnet.com/community/workspaces/directory.aspx. I wrote  
it about 6 months ago, and aside from the use of declarative security  
attributes, it is a fairly unobtrusive way to avoid having to write  
your own security code.

I have used it on several very large sites successfully.
On Jun 4, 2004, at 8:57 PM, Gonzalo Paniagua Javier wrote:
El vie, 04-06-2004 a las 07:46, DI Mag. Rainer Burgstaller escribió:
Hi
I have a question on how to properly do RBA in web applications. I am
currently using the formsauthentication but it only supports fixed  
users
stored in the web.config file which is pretty inflexible (am I missing
something)? So what I currently do is to override the
Thread.CurrentPrincipal and HttpContext.User by the user which is  
stored
in the cookie (which I also create by hand). I do that in the  
global.asax.

I checked a few open source projects (omniportal, Rainbow) on how  
they do
it but it does not seem like they do it too good either (I dont mean  
to
insult anyone). I am coming from the java side and there JAAS offers a
quite elegant way of doing such a thing by using "plugin"  
authentication
providers. So I wondered if there is such a possibility or if I could
somehow replace the FormsAuthenticationModule by something I do which  
then
allows authentication agains a db for example.
See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ 
cpgenref/html/gngrfauthorizationsection.asp

Mono supports that.
-Gonzalo
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] mod_mono

2004-06-04 Thread Steve Deobald
On Fri, 2004-06-04 at 15:27, Osmany Guirola Cruz wrote:
> But when I do this
> 
> Alias /first "/srv/www/htdocs/first"
> MonoApplications "/mono:/srv/www/htdocs/first"
> 
>  SetHandler mono
>  
>   DirectoryIndex index.aspx
>  
> 
> 
> Does not work

I believe the line:
MonoApplications "/mono:/srv/www/htdocs/first"
should read:
MonoApplications "/first:/srv/www/htdocs/first"

Unless I have some serious misunderstandings of how mod_mono configs
work.

.steve

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] how to do proper role based authentication in web apps

2004-06-04 Thread Rainer Burgstaller
> Check this article: 
> 
> Part 1:
> http://www.ondotnet.com/pub/a/dotnet/2004/02/02/effectiveformsauth.html
> Part 2: http://www.ondotnet.com/pub/a/dotnet/2004/02/16/formsauthpt2.html

Thanks for the response. 

Actually, part1 is what I came up myself and part2 is just a slight improvement. Still 
there is the issue that the formsauthenticationmodule will first intercept the cookie, 
set one "dummy" principal and then my piece of code overrides that. This is not really 
elegant. I was actually looking for something like this membership stuff however, it 
does not seem to be implemented yet. So I guess I will integrate the stuff from part2 
and stick to it for the moment until the new features are implemented in mono. 

By the way there is a difference in the mono implementation and microsofts. When I set 
the HttpContext.CurrentUser (I dont know the syntax by heart) the 
Thread.CurrentPrincipal is not updated in mono but in Ms .NET it is. So currently for 
mono I have to set both to the principal I want to use. Otherwise the permission stuff 
wont work.

thanks for the hints

Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list