Re: [Mono-list] web.config

2004-02-03 Thread Gonzalo Paniagua Javier
El lun, 02-02-2004 a las 14:18, [EMAIL PROTECTED] escribió:
 Hello, 
 
  I have a problem using web.config with mono.

Get xsp module from CVS and take a look at xsp/test/authtest directory.
You'll find what you're looking for.

-Gonzalo


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


[Mono-list] web.config

2004-02-03 Thread gbisogno
Hello,

 I have a problem using web.config with mono.

 My code in web.config:

 authentication mode="Forms" 
forms name="login" loginUrl="Login.aspx" /
 /authentication
authorization
 deny users="?"/
 /authorization

 I haveLogin.aspx and WebForm1.aspxpage created, my Global.asax.cs file contend the following code:


using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
using System.Security.Principal;
using System.Web.Security;

namespace Prueba 
{
/// summary
/// Summary description for Global.
/// /summary
public class Global : System.Web.HttpApplication
{
public Global()
{
InitializeComponent();
} 

protected void Application_AuthenticateRequest(Object sender, EventArgs e)
{
//Fires upon attempting to authenticate the use
if (!(HttpContext.Current.User == null))
{
if (HttpContext.Current.User.Identity.IsAuthenticated)
{
if (HttpContext.Current.User.Identity.GetType() == typeof(FormsIdentity))
{
FormsIdentity fi = (FormsIdentity) HttpContext.Current.User.Identity;
FormsAuthenticationTicket fat = fi.Ticket;
String[] astrRoles = fat.UserData.Split('|');
HttpContext.Current.User = new GenericPrincipal(fi, astrRoles);
}
}
}
}
protected void Application_Start(Object sender, EventArgs e)
{
}

protected void Session_Start(Object sender, EventArgs e)
{
}
protected void Application_BeginRequest(Object sender, EventArgs e)
{
}
protected void Application_EndRequest(Object sender, EventArgs e)
{
}

protected void Application_Error(Object sender, EventArgs e)
{
}
protected void Session_End(Object sender, EventArgs e)
{
}
protected void Application_End(Object sender, EventArgs e)
{
}

#region Web Form Designer generated code
/// summary
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// /summary
private void InitializeComponent()
{ 
}
#endregion
}
}
But Does Not Work.
The Login.aspx page can´tviewand WebForm1.aspx is acceded directly.

Please Help Me.

Very Thanks.

Mono is a great project.

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


RE: [Mono-list] Mono Runtime 0.30 compile error

2004-02-03 Thread Rodolfo Campero
I had a similar problem in the past, after I reinstalled my OS, and was 
because I forgot to add /usr/local/lib to the load library path.
Are you sure that libicui18n can be found in the paths declared in 
LD_LIBRARY_PATH or /etc/ld.config?
I hope this helps.
Greetings,
Rodolfo


From: Luke Stephenson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [Mono-list] Mono Runtime 0.30 compile error
Date: Tue, 3 Feb 2004 02:49:02 -0500
I was busy setting up .29, and I had just finished testing out a simple
helloworld, when I noticed .30 was released.
So I unroll .29 and remove it completely.
Download .30.
Configure worked perfectly, detecting ICU, etc.
However when trying to make I receive:
Making all in mini
make[3]: Entering directory `/root/program_dls/mono-0.30/mono/mini'
./genmdesc ./cpu-pentium.md cpu-pentium.h pentium_desc
./genmdesc: error while loading shared libraries: libicui18n.so.26:
cannot open shared object file: No such fileor directory
make[3]: *** [cpu-pentium.h] Error 127
After some searching, it looks like there was a common related problem last
spring/summer surrounding this, and I was wondering if someone could help 
me
out.

Thanks a lot,

Luke



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

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


RE: [Mono-list] DasBlog

2004-02-03 Thread Urs Muff
On that note: it would be interesting to see:
- Why did you have to patch it?
- What are the typical mistakes?
- What are the patterns for 'porting'/'patching'?

A suggestion: collect a list on the mono-wiki site.

- URS C. MUFF
SOFTWARE ARCHITECT  - RESEARCH LAB, QUARK EIF
QUARK INC.

CONFIDENTIALITY NOTICE

This e-mail transmission and any documents, files, or previous e-mail
messages appended or attached to it, may contain information that is
confidential or legally privileged. If you are not the intended recipient,
or a person responsible for delivering it to the intended recipient, you are
hereby notified that you must not read this transmission and that any
disclosure, copying, printing, distribution, or use of the information
contained or attached to this transmission is STRICTLY PROHIBITED. If you
have received this transmission in error, please immediately notify the
sender by telephone +1 (303) 894-3360 or return e-mail message
[EMAIL PROTECTED] and delete the original transmission, its attachments, and
any copies without reading or saving in any manner. Thank you.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sergio Blanco
Cuaresma
Sent: Tuesday, February 03, 2004 7:29 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [Mono-list] DasBlog


I have tested DasBlog port and it is fantastic, but I have a question:
the original DasBlog team will support the patches to make it compatible
with Mono or this DasBlog port is just for testing?

Thanks in advance.

Sergio.

-- 

[aka Marble]
 Web Personalhttp://www.marblestation.com
 Registered LiNUX user #140941http://counter.li.org/
 Socio #3274 de HispaLinuxhttp://www.hispalinux.es
 Miembro de GPL URVhttp://www.gplurv.org
 GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] DLL versioning

2004-02-03 Thread Edd Dumbill
So I notice that all the .dlls from mono packages just get put in
/usr/lib and have no version number.  Now I'm writing my own .dlls too
I'm worrying about this.  How do I cope with versioning issues in
future?  Is there an analog to SONAMEs for Mono libraries?

thanks

Edd.


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


[Mono-list] Mandrake

2004-02-03 Thread Alejandro Ospina
Hi!. I'd like to know if Mono will continue making installers for
Mandrake Linux.
Thanks!
BYE!

Alejandro Ospina
Nueva Escuela
Teléfono: (57)(4) 264 84 55
Fax: (57)(4) 425 02 40
www.nuevaescuela.com
[EMAIL PROTECTED]


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


Fw: [Mono-list] DasBlog

2004-02-03 Thread Pierre Arnaud
Hello Urs,

I very much appreciate your employer's sense of humor :

 - URS C. MUFF
 SOFTWARE ARCHITECT - RESEARCH LAB, QUARK EIF
 QUARK INC.

 CONFIDENTIALITY NOTICE

 This e-mail transmission and any documents, files, or previous e-mail
 messages appended or attached to it, may contain information that is
 confidential or legally privileged. If you are not the intended recipient,
 or a person responsible for delivering it to the intended recipient, you
 are hereby notified that you must not read this transmission and that any
 disclosure, copying, printing, distribution, or use of the information
 contained or attached to this transmission is STRICTLY PROHIBITED. If you
 have received this transmission in error, please immediately notify the
 sender by telephone +1 (303) 894-3360 or return e-mail message
 [EMAIL PROTECTED] and delete the original transmission, its attachments, and
 any copies without reading or saving in any manner. Thank you.

Any chance of reading this confidentiality notice without reading the
e-mail message first ?

And if this is confidential stuff, you should consider *not posting*
it to a public newsgroup ;-)

Pierre

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


RE: [Mono-list] DasBlog

2004-02-03 Thread Sergio Blanco Cuaresma
El mar, 03-02-2004 a las 15:30, Urs Muff escribió:
 On that note: it would be interesting to see:
 - Why did you have to patch it?
 - What are the typical mistakes?
 - What are the patterns for 'porting'/'patching'?

The first thing I have seen is that DasBlog port has a pre-compiled
xml-rpc.net version: CookComputing.XmlRpc.NoSN.dll

Maybe this is a limitation, I have downloaded the original xml-rpc.net
from: http://www.xml-rpc.net/ But no way to compile it easily. Anybody
has succeed in this?

I have also tryed to use DasBlog port with gaim-blogger (using Blogger
API) with no success :-(

Sergio.

-- 

[aka Marble]
 Web Personalhttp://www.marblestation.com
 Registered LiNUX user #140941http://counter.li.org/
 Socio #3274 de HispaLinuxhttp://www.hispalinux.es
 Miembro de GPL URVhttp://www.gplurv.org
 GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org


signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada	digitalmente


Re: [Mono-list] C# library on linux to create a simple standalone SOAP server/client

2004-02-03 Thread Miguel de Icaza

 Do we have a C# library on linux to implement a simple standalone SOAP
 server and client? SOAPpy provides a simple way to do this in Python. 
 
 I understand that creating web service using System.web.service class
 is one option. But for our purpose we just need SOAP communication
 between 2 components. We don't need to expose our methods to external
 world, so creating a web service for the same seems to be heavy weight.

Remoting with SOAP perhaps?
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] C# library on linux to create a simple standalone SOAP server/client

2004-02-03 Thread Todd Berman
Actually, it sounds like you want WSE2.

If they only need to send a one way message, and you can handle sending
it over tcp, there is a bare bones implementation in mono that will work
right now. (NOTE: use it at your own risk, cause it is buggy at best,
and really not even close to finished, not only that but it is a super
beta implementation of a beta library that will *absolutely* change when
it is released :) ). There is a simple standalone test in the
class/Microsoft.Web.Services/Test/standalone directory.

--Todd

On Mon, 2004-02-02 at 23:57, Miguel de Icaza wrote:
  Do we have a C# library on linux to implement a simple standalone SOAP
  server and client? SOAPpy provides a simple way to do this in Python. 
  
  I understand that creating web service using System.web.service class
  is one option. But for our purpose we just need SOAP communication
  between 2 components. We don't need to expose our methods to external
  world, so creating a web service for the same seems to be heavy weight.
 
 Remoting with SOAP perhaps?
 ___
 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] DasBlog

2004-02-03 Thread Jackson Harper

I am working on getting the latest dasBlog source running on Mono, I
think that will fix this problem.

Jackson


On Tue, 2004-02-03 at 09:17, Sergio Blanco Cuaresma wrote:
 El mar, 03-02-2004 a las 15:30, Urs Muff escribió:
  On that note: it would be interesting to see:
  - Why did you have to patch it?
  - What are the typical mistakes?
  - What are the patterns for 'porting'/'patching'?
 
 The first thing I have seen is that DasBlog port has a pre-compiled
 xml-rpc.net version: CookComputing.XmlRpc.NoSN.dll
 
 Maybe this is a limitation, I have downloaded the original xml-rpc.net
 from: http://www.xml-rpc.net/ But no way to compile it easily. Anybody
 has succeed in this?
 
 I have also tryed to use DasBlog port with gaim-blogger (using Blogger
 API) with no success :-(
 
 Sergio.

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


[Mono-list] DasBlog

2004-02-03 Thread Sergio Blanco Cuaresma

I have tested DasBlog port and it is fantastic, but I have a question:
the original DasBlog team will support the patches to make it compatible
with Mono or this DasBlog port is just for testing?

Thanks in advance.

Sergio.

-- 

[aka Marble]
 Web Personalhttp://www.marblestation.com
 Registered LiNUX user #140941http://counter.li.org/
 Socio #3274 de HispaLinuxhttp://www.hispalinux.es
 Miembro de GPL URVhttp://www.gplurv.org
 GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org


signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada	digitalmente


Re: [Mono-list] DLL versioning

2004-02-03 Thread Miguel de Icaza

 So I notice that all the .dlls from mono packages just get put in
 /usr/lib and have no version number.  Now I'm writing my own .dlls too
 I'm worrying about this.  How do I cope with versioning issues in
 future?  Is there an analog to SONAMEs for Mono libraries?

We will implement the Global Assembly Cache soon ;-)

 
 thanks
 
 Edd.
 
 
 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list
-- 
Miguel de Icaza [EMAIL PROTECTED]
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem with .ASP support (mod-mono/xsp)

2004-02-03 Thread Joshue
Hello.

El 19:49 29/01/2004, Joshue escribió:
Hello.

I have compiled and installed mono (0.29), xsp (from CVS) and 
mod-mono (from CVS) in a Linux Slackware 9.0 with Apache 2.0.48. The 
mod-mono and xsp installation is done with the explanation of the 
INSTALLING file in the mod_mono package (Last updated: October 20, 2003), 
only changing prefix=/usr for prefix=/usr/local/.

I start mod-mono-server and Apache withouth errors, but when I 
try to go to http://machine:8080/mono/index.aspx it shows:

---

Server error in '/mono' application
...

I have installed the 0.3 version and now it works!.

Good work!



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


[Mono-list] mono 0.30 and win2k

2004-02-03 Thread Jorge de J. Ramirez S.
mono.exe can't find the file MSVCR70.dll

Any idea?

I'm using the mono installer.

Thanks!

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


[Mono-list] Mac OS X and 0.30

2004-02-03 Thread Jonel Rienton
After so many tries in compiling previous versions of mono from source, 
0.30 has finally compiled successfully on my Mac OS X Panther, great 
work!

thanks much,

Jonel

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


[Mono-list] Fedora packages for 0.30 really using Libicu?

2004-02-03 Thread Mark Bickel
Hi together!

I tried to compile Nant 0.84 using the latest Mono 0.30 packages
for Fedora Core 1. But the build fails with an error related
to System.Globalization.CultureInfo and the only answer to this
problem which I found was, that this happens when mono is not
compiled with usage of libicu. Can anybody confirm this?

Here is the full error message:

  [echo] Build Directory is
/home/mark/work/nant-0.84/build/mono-1.0.unix/nan t-0.84-debug
 [nant] /home/mark/work/nant-0.84/src/NAnt.Core/NAnt.Core.build
build
 
Buildfile:
file://home/mark/work/nant-0.84/src/NAnt.Core/NAnt.Core.b uild
Target(s) specified: build
 
build:
 
 
BUILD FAILED
 
INTERNAL ERROR
 
System.Reflection.TargetInvocationException: Exception has
been thro wn by the target of an invocation. ---
System.TypeInitializationException: An e xception was thrown by the type
initializer for NAnt.DotNet.Tasks.CompilerBase - --
System.ArgumentException: An invalid argument was specified.
in (unmanaged) /usr/lib/libmono.so.0(mono_raise_exception+0x20)
[0x822a85]
in (unmanaged) /usr/lib/libmono.so.0 [0x852817]
in 0x00084 System.Globalization.CultureInfo:Construct
(int,string,bool)
in 0x00084 System.Globalization.CultureInfo:.ctor (int,bool)
in 0x00012 System.Globalization.CultureInfo:.ctor (int)
in 0x0017b System.Globalization.CultureInfo:GetCultures
(System.Globalization. CultureTypes)
in 0x000bd NAnt.DotNet.Tasks.CompilerBase:.cctor ()
--- End of inner exception stack trace ---
 
in (unmanaged) NAnt.DotNet.Tasks.CompilerBase:.ctor ()
in 0x0003d NAnt.DotNet.Tasks.CscTask:.ctor ()
in (unmanaged) /usr/lib/libmono.so.0 [0x7cbceb]
in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke+0x27)
[0x8202d2]
in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke_array+0x1d4)
[0x8213d8]
in (unmanaged) /usr/lib/libmono.so.0 [0x82819c]
in 0x0009c System.Reflection.MonoCMethod:Invoke
(object,System.Reflection.Bind
ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---
 
in 0x00103 System.Reflection.MonoCMethod:Invoke
(object,System.Reflection.Bind
ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in 0x00022 System.Reflection.MonoCMethod:Invoke
(System.Reflection.BindingFlag
s,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in 0x0023a System.Activator:CreateInstance
(System.Type,System.Reflection.Bind
ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,obje ct[])
in 0x0005c System.Reflection.Assembly:CreateInstance
(string,bool,System.Refle
ction.BindingFlags,System.Reflection.Binder,object[],System.Globalization.Cultur 
eInfo,object[])
in 0x00060 NAnt.Core.TaskBuilder:CreateTask ()
in 0x0011a NAnt.Core.TypeFactory:CreateTask
(System.Xml.XmlNode,NAnt.Core.Proj ect)
in 0x00017 NAnt.Core.Project:CreateTask
(System.Xml.XmlNode,NAnt.Core.Target)
in 0x0024c NAnt.Core.Target:Execute ()
in 0x00098 NAnt.Core.Project:Execute (string)
in 0x00300 NAnt.Core.Project:Execute ()
in 0x00185 NAnt.Core.Project:Run ()


Best regards,

Mark

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


[Mono-list] mod_mono 0.7 configure apache detection

2004-02-03 Thread Luke Stephenson

I had problems with mod_mono configure thinking I had apache 1.3 installed,
turns out the problem I had was that the test c program was problematic, it
had two #includes on one line (apr.h and mpm.h), which gcc didn't like.

Manually editing the configure script and putting in a line break fixed the
issue for me.

Not sure who would fix this, but I thought it should be shared. 

Luke

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


[Mono-list] I need help with mod_mono

2004-02-03 Thread Gustavo
Hello,

I have this trouble when I try to start apache with mod_mono:

# service httpd start
Starting httpd: Syntax error on line 213 of /etc/httpd/conf/httpd.conf:
Can't locate API module structure `mod_mono' in file 
/etc/httpd/modules/mod_mono.so: /usr/lib/libapr.so.0: undefined symbol: 
mod_mono

I use a red hat 9 and I have updated the last packages from red carpet.

Here are the lines added to the httpd.conf file:

LoadModule mod_mono modules/mod_mono.so
MonoUnixSocket /tmp/mod_mono_server
Alias /mono /usr/share/doc/xsp/test
xsp runs fine...
I have got no idea what is wrong, where can I start looking?
Thanks in advance,
Gustavo.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] DasBlog

2004-02-03 Thread Sergio Blanco Cuaresma
El mar, 03-02-2004 a las 19:21, Jackson Harper escribió:
 I am working on getting the latest dasBlog source running on Mono, I
 think that will fix this problem.

So... there is no communication with the original dasBlog team? If for
every new version of dasBlog somebody must do a port implies a lot of
work! :-(

Anyway, congratulations and thanks for the port, Jackson :-) When the
new version gets ready inform us, please.

Sergio.

-- 

[aka Marble]
 Web Personalhttp://www.marblestation.com
 Registered LiNUX user #140941http://counter.li.org/
 Socio #3274 de HispaLinuxhttp://www.hispalinux.es
 Miembro de GPL URVhttp://www.gplurv.org
 GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org


signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada	digitalmente


RE: [Mono-list] DasBlog

2004-02-03 Thread Jackson Harper

There has been some communication, just not enough was done in the
beginning. I dont expect a problem in the future.

Jackson


On Tue, 2004-02-03 at 13:19, Sergio Blanco Cuaresma wrote:
 El mar, 03-02-2004 a las 19:21, Jackson Harper escribió:
  I am working on getting the latest dasBlog source running on Mono, I
  think that will fix this problem.
 
 So... there is no communication with the original dasBlog team? If for
 every new version of dasBlog somebody must do a port implies a lot of
 work! :-(
 
 Anyway, congratulations and thanks for the port, Jackson :-) When the
 new version gets ready inform us, please.
 
 Sergio.

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


[Mono-list] Monodoc missing Mono Handbook

2004-02-03 Thread Kenneth Rohde Christiansen
Hello,

The Mono Handbook it not distributed with the monodoc rpm for Red Hat 9
- Isn't it supposed to be?

Cheers, 
Kenneth

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


[Mono-list] Questions about ASP.NET

2004-02-03 Thread Preston Crawford
I asked these on the IRC channel, but I thought I'd ask here too in case
anyone wasn't on IRC and might be able to help me. I'm trying to decide
whether to do a friend's site in PHP or ASP.NET. I'd like to do it in
ASP.NET for the experience, but I'm not sure if I can do the following
things under Mono.

#1 - Upload and resize images. Very simple functionality needed here.
Upload the image, resize it, save it to the server.

#2 - Work with some kind of WYSIWYG web-based editor to allow them to
paste in a Newsletter and upload that as HTML. I know there are ActiveX
controls out there, but I'm not sure what's out there that works with
ASP.NET well.

Anyway, I'm loathe to have to dual-boot to do this project, but it may
be worth it to learn ASP.NET better. Can anyone give me an idea if what
I'm looking to do is impossible under Mono as it currently stands?

Preston

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


Re: [Mono-list] mono 0.30 and win2k

2004-02-03 Thread Jorge de J. Ramirez S.
Ok, i found this file in C:\Program files\Microsoft Office\Office10\VS
Runtime\

then copy to C:\Program files\Mono-0.30\bin\

and it's running, but what happend if don't use MSOffice where can I
get this file? or why the installer don't have it?

Saludos!


 mono.exe can't find the file MSVCR70.dll

 Any idea?

 I'm using the mono installer.

 Thanks!

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



(o_
//\
V_/_
hackers build things, crackers break them.
http://kokey.gluch.org.mx

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


[Mono-list] Help with mod_mono

2004-02-03 Thread Gustavo Ruscitto
Hello,

I have this trouble when I try to start apache with mod_mono:

# service httpd start
Starting httpd: Syntax error on line 213 of /etc/httpd/conf/httpd.conf:
Can't locate API module structure `mod_mono' in file 
/etc/httpd/modules/mod_mono.so: /usr/lib/libapr.so.0: undefined symbol: 
mod_mono

I use a red hat 9 and I have updated the last packages from red carpet.

Here are the lines added to the httpd.conf file:

LoadModule mod_mono modules/mod_mono.so
MonoUnixSocket /tmp/mod_mono_server
Alias /mono /usr/share/doc/xsp/test
xsp runs fine...
I have got no idea what is wrong, where can I start looking?
Thanks in advance,
Gustavo.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mod_mono 0.7 HTTP error 404, apache 2.0

2004-02-03 Thread Luke Stephenson

I have setup mod_mono as per the instructions in the INSTALL file, with the
exception that apache listens on a different port then 8080.

I have mod_mono_server running fine, and the module seems to load fine.

But whenever I try to access any ASP.NET files in /mono I get a 404... a
mod_mono_server error, not the standard apache error:

Server error in '/mono' application
Cannot find '/mono/index.aspx'.
Description: Error processing request.
Error Message: HTTP 404. Cannot find '/mono/index.aspx'.

/mono is aliased to /usr/share/doc/xsp/test

And if I put other files in that folder (ie, html files) they load fine. 

Not sure what I am missing, I have followed all the install info I could
find to the letter, but I have been having a lot of problems... 

Luke 

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


Re: [Mono-list] Questions about ASP.NET

2004-02-03 Thread Rodrigo B. de Oliveira

- Original Message - 
From: Preston Crawford [EMAIL PROTECTED]


 I asked these on the IRC channel, but I thought I'd ask here too in case
 anyone wasn't on IRC and might be able to help me. I'm trying to decide
 whether to do a friend's site in PHP or ASP.NET. I'd like to do it in
 ASP.NET for the experience, but I'm not sure if I can do the following
 things under Mono.

 #1 - Upload and resize images. Very simple functionality needed here.
 Upload the image, resize it, save it to the server.

System.Drawing.Image.GetThumbnailImage is your friend. You might want
to write a little console app to make sure it works fine in your setup.


 #2 - Work with some kind of WYSIWYG web-based editor to allow them to
 paste in a Newsletter and upload that as HTML. I know there are ActiveX
 controls out there, but I'm not sure what's out there that works with
 ASP.NET well.

http://www.interactivetools.com/products/htmlarea/index.html#demo works
with standard textarea objects (and so with asp:TextBox
TextMode='Multiline' /
controls).

We use it a lot and it works great.

Best wishes,
Rodrigo

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


Re: [Mono-list] mod_mono 0.7 HTTP error 404, apache 2.0

2004-02-03 Thread Gonzalo Paniagua Javier
El mar, 03-02-2004 a las 23:07, Luke Stephenson escribió:
 I have setup mod_mono as per the instructions in the INSTALL file, with the
 exception that apache listens on a different port then 8080.
 
 I have mod_mono_server running fine, and the module seems to load fine.
 
 But whenever I try to access any ASP.NET files in /mono I get a 404... a
 mod_mono_server error, not the standard apache error:
 
   Server error in '/mono' application
   Cannot find '/mono/index.aspx'.
   Description: Error processing request.
   Error Message: HTTP 404. Cannot find '/mono/index.aspx'.
 
 /mono is aliased to /usr/share/doc/xsp/test
 
 And if I put other files in that folder (ie, html files) they load fine. 
 
 Not sure what I am missing, I have followed all the install info I could
 find to the letter, but I have been having a lot of problems... 

You're probably missing:
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config
.ascx

in your apache configuration file.

-Gonzalo


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


Re: [Mono-list] DasBlog

2004-02-03 Thread Jackson Harper

This is a possibility but I think all of the features needed will be
implemented soon, so its not something we need to worry about.

Jackson


On Tue, 2004-02-03 at 10:29, Stuart Ballard wrote:
 Jackson Harper wrote:
  With dasBlog there are basically three kinds of patches:
  
  1. Remove unsupported mono features such as certain System.Drawing
  features - I do not expect the dasBlog people to support these patches.
 
 You could do this with #if !__MonoCS__ / #endif blocks. I've used that 
 approach for an in-house application I'm working on porting, and while I 
 know it's not the recommended way to go, it allows me to maintain a 
 single codebase for both platforms.
 
 Another possibility would be to use your own define instead of 
 __MonoCS__, and have your build system invoke mcs with /D:mono (or 
 whatever the syntax is) as appropriate.
 
 Stuart.

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


RE: [Mono-list] mod_mono 0.7 HTTP error 404, apache 2.0

2004-02-03 Thread Luke Stephenson

Sorry, I should have included my mod_mono related entries from http.conf:

AddType application/x-asp-net .aspx .ashx .asmx  .ascx .asax .config
LoadModule mono_module /usr/local/apache2/modules/mod_mono.so
MonoUnixSocket /tmp/mod_mono_server
Alias /mono /usr/share/doc/xsp/test

Cheers,

Luke
 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gonzalo Paniagua
Javier
Sent: Tuesday, February 03, 2004 5:57 PM
To: [EMAIL PROTECTED]
Subject: Re: [Mono-list] mod_mono 0.7 HTTP error 404, apache 2.0

El mar, 03-02-2004 a las 23:07, Luke Stephenson escribió:
 I have setup mod_mono as per the instructions in the INSTALL file, with
the
 exception that apache listens on a different port then 8080.
 
 I have mod_mono_server running fine, and the module seems to load fine.
 
 But whenever I try to access any ASP.NET files in /mono I get a 404... a
 mod_mono_server error, not the standard apache error:
 
   Server error in '/mono' application
   Cannot find '/mono/index.aspx'.
   Description: Error processing request.
   Error Message: HTTP 404. Cannot find '/mono/index.aspx'.
 
 /mono is aliased to /usr/share/doc/xsp/test
 
 And if I put other files in that folder (ie, html files) they load fine. 
 
 Not sure what I am missing, I have followed all the install info I could
 find to the letter, but I have been having a lot of problems... 

You're probably missing:
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config
.ascx

in your apache configuration file.

-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] DasBlog

2004-02-03 Thread Sergio Blanco Cuaresma
El mar, 03-02-2004 a las 20:16, Jordi Mas escribió:
 Ravindra, Sanjay and myself are working on System.Drawing. DasBlog uses
 basically some basic drawing primitives and bitmaps. There is a couple
 of places where they include System.Drawing but really only the classes
 MailToWeblog and DrawingHelpers same to use it.

I don't understand that, why DasBlog uses System.Drawing?? What
relationship exists between Sytem.Drawing and a web application like
DasBlog?

-- 

[aka Marble]
 Web Personalhttp://www.marblestation.com
 Registered LiNUX user #140941http://counter.li.org/
 Socio #3274 de HispaLinuxhttp://www.hispalinux.es
 Miembro de GPL URVhttp://www.gplurv.org
 GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org


signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada	digitalmente


[Mono-list] XmlConvert: Possible bug fix - ToSingle, ToDouble using current system culture

2004-02-03 Thread Rodolfo Campero
Hi all,

I've found what I think is a bug in System.Xml.XmlConvert. The methods 
ToSingle and ToDouble are currently parsing string values using the 
current system culture, and according to the documentation, this methods 
should be locale independent.

I prepared a patch, which solves the problem.

Cheers,

Rodolfo

--- XmlConvert.cs.original  2004-02-03 21:33:31.0 +0100
+++ XmlConvert.cs   2004-02-03 21:47:32.0 +0100
@@ -247,7 +247,7 @@
return Double.NegativeInfinity;
if (s == NaN)
return Double.NaN;
-   return Double.Parse (s, floatStyle);
+   return Double.Parse (s, floatStyle, 
CultureInfo.InvariantCulture);
}
public static Guid ToGuid(string s)
@@ -286,7 +286,7 @@
return Single.NegativeInfinity;
if (s == NaN)
return Single.NaN;
-   return Single.Parse(s, floatStyle);
+   return Single.Parse(s, floatStyle, 
CultureInfo.InvariantCulture);
}
		public static string ToString(Guid value)

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


[Mono-list] MyGrid (distributed Grid for Mono): added web frontend: XSP port needed

2004-02-03 Thread K Ash
I added a web frontend to MyGrid distributed grid (http://mygrid.sourceforge.net). Right now the Clusters, Engines and web management tool are workin in .NET 1.1. 
In works: Mono port of the Engine. Java port of the Engine (via IIOP-NET or Remotin.CORBA).

Urgently needed: XSP port of the Web management app to XSP/Mono/Linux. All info on SF project page.
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

[Mono-list] Dowloading Mono on Red-Carpet

2004-02-03 Thread erlinux316

i'm fairly new to linux however i use .NET in the manufacturing industry and would 
like to try it on linux...now comes the newbie question. i've downloaded and 
installed red-carpet on my mandrake 9.2 system as per the instructions on the mono 
website, however i can't seem to find mono on  the red-carpet channels. the only two 
channels i have are evolution dev. snapshot and red-carpet 2. how exactly to i get the 
newest build of mono using red carpet?

thanks 
adam dickison


The best thing to hit the Internet in years - Juno SpeedBand!
Surf the Web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] P/Invoke problem

2004-02-03 Thread Rafael Teixeira
Louis Marascio wrote:

 I'm trying to build a managed wrapper on top of POSIX message queues.  For
 development, I'm working on WinXp using pthreads-win32 + mqueues (as
 contributed by a third party to the pthreads-win32 project).
 I've build my wrapper and it executes fine using the MS .NET runtime.
 However, under Mono, I get a System.EntryPointNotFoundException each time
I
 try to use a P/Invoke. I've been banging my head against this for a while
 now, and really am not sure what else to try.
...
 I have a PthreadsVc.dll, on which 'dumpbin /exports' gives:
...
 My DllImport for mq_close looks like:
 // int mq_close(mqd_t);
 [DllImport(PthreadVc)]
 public static extern int mq_close(IntPtr queueHandle);
...
 Any help would be greatly appreciated. Thanks,
 Louis

First, are you trying to run with mono in Windows or in Linux? In Linux, you
and .so file not a .dll.

Second, In one line you wrote PthreadsVc.dll, and in others and in your
DllImport you wrote PthreadVc, without the 's' in the middle, beware of
mispellings...

Hope it helps,

Rafael Teixeira
Brazilian Polymath
Mono, MonoQLE hacker


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


RE: [Mono-list] P/Invoke problem

2004-02-03 Thread Louis R. Marascio
Rafael,

I wish it really were that easy, unfortunately the DLL is indeeed
'PthreadVc.dll'. I typed the dumpbin command line into email manually,
rather than cut  paste.

To answer your windows/linux question, I'm using windows because I'm using
the pthreads-win32 port ;).

I'm fairly confident it is finding the PthreadVc.dll because the exception
being thrown is an EntryPointNotFoundException, rather than a
DllNotFoundException.

Thanks for the help,

Louis

-Original Message-
From: Rafael Teixeira [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 03, 2004 9:07 PM
To: [EMAIL PROTECTED]
Cc: 
Subject: Re: [Mono-list] P/Invoke problem


Louis Marascio wrote:

 I'm trying to build a managed wrapper on top of POSIX message queues.  
 For development, I'm working on WinXp using pthreads-win32 + mqueues 
 (as contributed by a third party to the pthreads-win32 project). I've 
 build my wrapper and it executes fine using the MS .NET runtime. 
 However, under Mono, I get a System.EntryPointNotFoundException each 
 time
I
 try to use a P/Invoke. I've been banging my head against this for a 
while  now, and really am not sure what else to try. ...
 I have a PthreadsVc.dll, on which 'dumpbin /exports' gives:
...
 My DllImport for mq_close looks like:
 // int mq_close(mqd_t);
 [DllImport(PthreadVc)]
 public static extern int mq_close(IntPtr queueHandle);
...
 Any help would be greatly appreciated. Thanks,
 Louis

First, are you trying to run with mono in Windows or in Linux? In Linux, you
and .so file not a .dll.

Second, In one line you wrote PthreadsVc.dll, and in others and in your
DllImport you wrote PthreadVc, without the 's' in the middle, beware of
mispellings...

Hope it helps,

Rafael Teixeira
Brazilian Polymath
Mono, MonoQLE hacker



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


[Mono-list] RE: [Mono-devel-list] Windows Installers for Mono 0.30 and GTK# 0.15

2004-02-03 Thread Daniel Morgan
Oh, I forgot to mention.  Included in the Mono 0.30/gtk# 0.15 installer is a
Bonus.  SQL# For GTK#.  It isn't great, but it works out-of-the-box on
Windows 2000 and XP Pro!  I'm sure it has many bug begging for some
attention.  By the way, SQL# was inpsired by GNOME-DB.

1. download it
2. install it
3. open a DOS prompt
4. type sqlsharpgtk and press Enter

You can't get any easier than that!

I'm not promising anything spectacular, but its a great start for Mono and
GTK#!

Note: this does not exist in the Mono 0.30 only nor gtk# 0.15 only
installers.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Daniel
Morgan
Sent: Monday, February 02, 2004 9:13 PM
To: Mono-Devel-List; Mono-Hackers-List; Mono-List
Subject: [Mono-devel-list] Windows Installers for Mono 0.30 and GTK#
0.15


If you want only Mono, you can get the
Mono 0.30 Windows Installer here:

http://www.go-mono.com/archive/0.30/windows/mono-0.30-win32-2.exe


If you want only GTK#, you can get the
GTK# 0.15 Windows Installer here:

http://prdownloads.sourceforge.net/gtk-sharp/gtk-sharp-0.15-win32-setup.exe?
download


If you want both Mono and gtk#, you can get the
Mono 0.30 and gtk# 0.15 (gtk+ 2.2) Windows Installer here:

http://www.go-mono.com/archive/0.30/windows/mono-0.30-gtksharp-0.15-win32-1.
exe

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

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


[Mono-list] Dowloading Mono on Red-Carpet

2004-02-03 Thread Tracy Barlow
It's been like that for a while, in fact it's exactly the same as when 
there was no option to download red carpet for Mandrake 9.2, and the 
only option was MDK 9.1, even the red carper RPMs that are downloaded 
are the same, so it looks as if Ximian have added Mdk 9.2 to the list  
but not updated whatever  datastore they use, so that the mono channels 
are available for Mdk 9.2 users.

--

Regards

Tracy Barlow

Phone:  07 4124 5092
Mobile: 0146 00 38 61
mail:   [EMAIL PROTECTED]
Website:www.tracyannesoftware.com
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Your message to Mono-list awaits moderator approval

2004-02-03 Thread mono-list-admin
Your mail to 'Mono-list' with the subject

hello

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.