[Mono-aspnet-list] System.Web.DataVisualization?

2010-08-01 Thread Joe Audette
Hi All,

Could anyone tell me what if any plans there are to implement support
for the ASP.NET Chart controls?
I would like to use them in mojoPortal but it seems I would have to
break compatibility with Mono or leave those features that use it out
of the Mono build.
I've been using ZedGraph in the past but the ASP.NET Chart controls
seem very compelling.

Thanks,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
joe.aude...@gmail.com
http://www.mojoportal.com
http://twitter.com/joeaudette
___
Mono-aspnet-list mailing list
Mono-aspnet-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


Re: [Mono-aspnet-list] System.Web.DataVisualization?

2010-08-01 Thread Joe Audette
Hi Marek,

Understandable, thanks for the answer.

Best,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
joe.aude...@gmail.com
http://www.mojoportal.com
http://twitter.com/joeaudette
___
Mono-aspnet-list mailing list
Mono-aspnet-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


Re: [Mono-list] Sites Using Mono

2009-11-28 Thread Joe Audette
There are a number of sites running mojoPortal CMS on Mono. I don't
have a comprehensive list of them and I'm sure none of them are
getting massive traffic like monster.com.
One recent one I know of is http://www.maisonpedia.com/
I'm told it runs on Debian Lenny.

Best,

Joe

On Wed, Nov 25, 2009 at 3:44 PM, Miguel de Icaza mig...@novell.com wrote:
 Hello,

 Thank you very much Miguel, I appreciate you so much, but all I found best
 were that two single host sites. I was need a mono reference like
 monster.com, reddit.com to make a decision for a similar project.

 There was an interesting blog post from Jon Skeet on a similar matter
 recently.

 The key question is: what kind of load do you expect and how much stress
 will this put on a server, how many users and how much time will they
 spend on your site.

 What kind of budget do you have to run your site.   For example, you
 will get vastly different hardware offerings from an 8 dollar/month
 hosting solution than a 70 dollar/month hosting solution.

 Will you be writing your application to be distributed so that you can
 grow as the load grows, or is the application going to be limited to a
 single machine?   These are important questions.

 Miguel.

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




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
joe.aude...@gmail.com
http://www.mojoportal.com
http://twitter.com/joeaudette
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [Mono-aspnet-list] sqlite questions?

2009-11-03 Thread Joe Audette
Hi Dale,

The latest mojoPortal from our svn trunk repository is pre-configured
to use SQLite in MonoDevelop using mojoportal.mds solution.
I changed the default db configuration from pgsql recently just
because its zero configuration, we inlcude a sqlite database and it
just works.
You can produce a package and deploy it to production including the
pre-populated SQLite database.
However, whether you would use SQLite for a production site/app
depends a lot on the app and how many users it will have. SQLite is
very fast but there is only 1 connection whereas pgsql and others have
a connection pool. So if the site/app gets a lot of traffic it
probably won't stand up well because each request is taking turns with
the one connection. So it can work well for a few users but it does
not scale real well to heavy web traffic.

Hope it helps,

Joe

On Tue, Nov 3, 2009 at 4:01 AM, Marek Habersack gren...@twistedcode.net wrote:
 Dale E. Moore wrote:
 Is this a good place to ask questions about sqlite? Can somebody please
 tell me where to go;)
 On SQLite itself - no, in relation to Mono/ASP.NET - yes.

 Has everybody (or anybody) worked with monodevelop to put together an
 asp.net http://asp.net application that uses an sqlite database that
 they then put into production?
 I don't use MonoDevelop, but for a production application which can use 
 SQLite as an option, see
 BlogEngine.NET.

 marek
 ___
 Mono-aspnet-list mailing list
 mono-aspnet-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-aspnet-list




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
joe.aude...@gmail.com
http://www.mojoportal.com
http://twitter.com/joeaudette
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [Mono-aspnet-list] sqlite questions?

2009-11-03 Thread Joe Audette
If you are using mojoPortal then you don't have to worry about this,
the mojoMembership just talks to business objects which talk to data
objects which already know their connection string from the
appSettings.

If you are using some other membership provider then you probably need
to add a ConnectionString section to your web.config and add the
connection string there with a name expected by or configured on the
provider. However I don't know if there is a membership provider
specifically for sqlite in Mono, maybe there is, there would have to
be some scripts to create the appropriate tables in the sqlite
database.
Do a little googling about the ConnectionString section of Web.config.


Hope it helps,

Joe

On Tue, Nov 3, 2009 at 9:14 AM, Dale E. Moore daleemo...@gmail.com wrote:
 Dear Joe;

 It's so good to 'hear your voice' here!

 I copied the DEV project to a TEST site and everything works, except the
 Forms Authentication; I can't login and I can't seem to tell sqlite where
 the Membership database is located. Thanks for your thoughts on growth; I
 will probably move to PostgreSQL if anybody other than me ever wants the
 functionality.

 Debugging my NewValues reverted to OldValues issue is still on my to do
 list; thanks for the encouragement;
 Dale




 On Tue, Nov 3, 2009 at 5:51 AM, Joe Audette joe.aude...@gmail.com wrote:

 Hi Dale,

 The latest mojoPortal from our svn trunk repository is pre-configured
 to use SQLite in MonoDevelop using mojoportal.mds solution.
 I changed the default db configuration from pgsql recently just
 because its zero configuration, we inlcude a sqlite database and it
 just works.
 You can produce a package and deploy it to production including the
 pre-populated SQLite database.
 However, whether you would use SQLite for a production site/app
 depends a lot on the app and how many users it will have. SQLite is
 very fast but there is only 1 connection whereas pgsql and others have
 a connection pool. So if the site/app gets a lot of traffic it
 probably won't stand up well because each request is taking turns with
 the one connection. So it can work well for a few users but it does
 not scale real well to heavy web traffic.

 Hope it helps,

 Joe

 On Tue, Nov 3, 2009 at 4:01 AM, Marek Habersack gren...@twistedcode.net
 wrote:
  Dale E. Moore wrote:
  Is this a good place to ask questions about sqlite? Can somebody please
  tell me where to go;)
  On SQLite itself - no, in relation to Mono/ASP.NET - yes.
 
  Has everybody (or anybody) worked with monodevelop to put together an
  asp.net http://asp.net application that uses an sqlite database that
  they then put into production?
  I don't use MonoDevelop, but for a production application which can use
  SQLite as an option, see
  BlogEngine.NET.
 
  marek
  ___
  Mono-aspnet-list mailing list
  mono-aspnet-l...@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
 



 --
 Joe Audette
 Software Solutions Architect
 Source Tree Solutions, LLC
 PO Box 621861
 Charlotte, NC 28262
 704.323.8225
 joe.aude...@gmail.com
 http://www.mojoportal.com
 http://twitter.com/joeaudette





-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
joe.aude...@gmail.com
http://www.mojoportal.com
http://twitter.com/joeaudette
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Need to query Active Directory groups from linux

2009-06-28 Thread Joe Audette
Hi,

Active Directory supports LDAP so it may be possible to query it using
the Novell.Directory.Ldap classes. I use them to authenticate against
AD not sure how much info can be obtained it may depend on how AD is
configured. I've seen cases where querying was only allowed if the
thread executing the query is executing in the context of an AD user
who has permission to query.

There are also a codeplex project http://www.codeplex.com/LINQtoAD
I'm not sure if it can run on Mono. It relies on System.DirectoryInfo,
I'm not sure if the Mono stuff in that namespace works or works as
well as the Novell.Directory stuff.

Hope it helps,

Joe

On Sat, Jun 27, 2009 at 6:18 PM, neibyjneiber...@gmail.com wrote:

 Anyone? I just need to know if I'm on the right track. If I am, I can point
 my friend in this direction and let him take it from there.

 Thanks!


 neiby wrote:

 forgive the totally newb question. Even though I'm not qualified to do so,
 I'm trying to help someone figure out a way to query active directory
 group membership information from linux. During a discussion we had,
 someone else mentioned Mono as a possible solution since it might allow
 them to write a .NET tool to do the query, but do it directly from a linux
 box.

 Here's the issue. This linux box is running an application that needs to
 watch IP addresses going through it, query AD to find out what user owns
 that IP address (that part already works), and then query AD to see what
 groups that user is  member of. Depending on the answer, various internet
 access rules will be applied to that traffic.

 Would Mono be one possible solution to that problem?

 Many thanks!


 --
 View this message in context: 
 http://www.nabble.com/Need-to-query-Active-Directory-groups-from-linux-tp24214686p24237131.html
 Sent from the Mono - General mailing list archive at Nabble.com.

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




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
joe.aude...@gmail.com
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-aspnet-list] MS SQL to MySQL

2009-05-09 Thread Joe Audette
I once migrated from MS SQL to MySql using SqlYog. I think it required
the Enterprise version but it was not expensive. I created a
comparable schema in MySql and then used odbc queries to get the data
from MS SQL from within sqlyog and then ran queries to insert the data
into the tables in MySql.
It wasn't a trivial task but it wasn't too bad either. I was actually
going into a different schema because I was migrating from Rainbow
Portal/MS SQL into mojoPortal MySql so it should be even easier if the
schemas line up. I had to map some columns using the queries.

google Sqlyog, they have a free version too but not sure it supports
the odbc queries needed to get the data from ms sql like the paid
version has.

Hopefully by ASP, you mean ASP.NET, mono can't run ASP aka Classic
ASP, though I think there is something out there that can run ASP on
linux, chilisoft comes to mind.

Hope it helps,

Joe

On Thu, May 7, 2009 at 5:42 AM, Rob UKC r...@ukcdesign.com wrote:

 HI.

 I'm thinking of using Mono to run an ASP site on my Linux server, however
 the site also runs a MS SQL database.  Can anyone advise how i would go
 about setting a MS SQL database up on a Linux server using Mono?  Or can
 anyone advise how i could maybe convert it to MySQL?

 Any advice welcomed on this one!

 Cheers

 Rob
 --
 View this message in context: 
 http://www.nabble.com/MS-SQL-to-MySQL-tp23423343p23423343.html
 Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

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




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
joe.aude...@gmail.com
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-aspnet-list mailing list
Mono-aspnet-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


[Mono-list] TimeZoneInfo.FromSerializedString

2009-04-06 Thread Joe Audette
Hi All,

Could anyone advise on when/if this method might be implemented?

TimeZoneInfo.FromSerializedString(string source)

http://msdn.microsoft.com/en-us/library/system.timezoneinfo.fromserializedstring.aspx

I would like to use this to implement better support for TimeZones in
mojoPortal, it will allow automatically adjusting time offsets
according to changes during Daylight savings.

I serialized all the installed TimeZones on my machine and made them
into constants like this:

public const string EasternStandardTime = Eastern Standard
Time;-300;(GMT-05:00) Eastern Time (US  Canada);Eastern Standard
Time;Eastern Daylight
Time;[01:01:0001;12:31:2006;60;[0;02:00:00;4;1;0;];[0;02:00:00;10;5;0;];][01:01:2007;12:31:;60;[0;02:00:00;3;2;0;];[0;02:00:00;11;1;0;];];;

and I'm building a list of them like this:

ListTimeZoneInfo timeZones = new ListTimeZoneInfo();


timeZones.Add(TimeZoneInfo.FromSerializedString(AfghanistanStandardTime));

timeZones.Add(TimeZoneInfo.FromSerializedString(AlaskanStandardTime));
...

It works nice on Windows but on Mono it throws NotImplementedException.

Any advice or information much appreciated.

Thanks,

Joe



-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
joe.aude...@gmail.com
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Question on Mono and Visual Studio.net

2008-12-02 Thread Joe Audette
Hi Jack,

In mojoPortal we create parallel MonoDevelop projects and solution
file (though MonoDevelop could just use the same projects and solution
as VS so you may not need to do this) because we sometimes need to do
things differently on the Mono side. It works ok for us but there are
some things to consider.
1. I don't think its yet possible to debug ASP.NET or step through the
code using MonoDevelop. A work around is logging with log4net but its
a big disadvantage.
2. If you're planning to use the latest greatest .NET 3.5 stuff or the
beta MVC stuff you're going to run into not yet implemented or
supported things.
3. If your project is going to use ASP.NET webparts its not supported.
4. You will occasionally run into bugs where things work on the
windows side but not on Mono. Reporting these will help Mono improve.

If you're an experienced developer in other languages and experienced
with Linux you may be able to do it, but if its all new to you, you
are making the learning curve much steeper for yourself, and it may be
more productive to just use VS. I will say, myself, I am able to work
on mojoPortal from Linux with MonoDevelop, but I use VS day to day for
most things because its more productive for me.

Hope it helps,

Joe

On Tue, Dec 2, 2008 at 1:31 AM, Jack Schmidt [EMAIL PROTECTED] wrote:
 Thank you for the swift response, Abe.  I will take a closer look on
 mojoportal in the coming days.  It does seem like they do not have much of a
 discussion as to how I or my co-developers should take to ensuring MD and
 VS.NET play nicely.

 I found this article on the Mono Project which seems to cover a more general
 discussion in terms of programming practices.  Are there anymore specifics?
 http://mono-project.com/Guidelines:Application_Portability

 It does seem from that project that it is entirely possible so I find that a
 bit of good news.  I wonder how much trouble this is going to be for me or
 my developers.  It would be reassuring if I can grasp how and what I should
 be doing to make this a reality for me.

 P.S.  I am sorry that I'm having great difficulty with replying on mailing
 lists, it seems that Gmail bungles up on the reply-to information.  Thank
 you very much for the response.

 2008/12/2 Abe Gillespie [EMAIL PROTECTED]

 AFAIK, Joe Audette has been able to interoperate with MD and VS.NET on
 his mojoPortal project for some time now.  It might be worth taking a
 look at it:

 http://www.mojoportal.com/

 -Abe

 On Mon, Dec 1, 2008 at 11:05 PM, Jack Schmidt [EMAIL PROTECTED]
 wrote:
  Hi,
 
  I'm soon going to be making preparations on learning .net and I'm
  wondering
  if it is possible to develop using both Mono and Visual Studio.  My
  co-developers are going to use VS.net (and Windows) as the development
  platform for a web-related project (I'd surmise we'll be using ASP.net)
  and
  I am wondering if it is possible that I can work with them and use Mono
  and
  MonoDevelop in Linux as my development platform while they continue to
  develop using VS.net.
 
  I hope someone can shed some light on this matter.
 
  Thank you all for taking the time to read this.
 
  Jack.
 
  ___
  Mono-list maillist  -  Mono-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-list
 
 


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





-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Newbie Question: Web app life cycle events

2008-10-27 Thread Joe Audette
One possible cause to keep in mind is if Mono is handling all requests
for the app them begin request etc will be called also for css files
and images and javscript, not just .aspx
This is similar to running in the Visual Studio web server. Running in
IIS on windows, requests for css files and images will be handled by
IIS and not by .NET.
It is possible to configure things so that apache handles requests for
css and images, but using xsp2 directly its going to handle all files.
You may be able to find out what the request is for in those events
with HttpContext.Current.Request.RawUrl

Hope it helps,

Joe

On Mon, Oct 27, 2008 at 6:05 AM, Roger [EMAIL PROTECTED] wrote:
 Hi

 I'm new to mono and C#, I'm coming from a Java background. I've built my
 first test web-app using monodevelop using a tutorial I found on the web.
 (Code attached below). Everything works as expected.

 I then tried playing around with the Global.asax.cs by inserting
 Console.WriteLine() into each of the calls to try and get a feel for the
 life_cycle events and when they're called. Now when I run my application I
 get one call to Application_Start() - which I would've expected, but I get
 multiple calls to Application_BeginRequest, Session_Start() and
 Application_EndRequest() - which I would not have expected. Why do I get
 three calls?

 Regards


  Default.aspx 
 %@ Page Language=C# Inherits=MyWebProject.Default %
 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
 html
 head
titleDefault/title
 /head
 body
form id=form1 runat=server
asp:button id=clickMeButton runat=server text=Click Me
 onClick=clickMeButton_Click/
asp:label id=outputLabel runat=server/
/form
 /body
 /html

  Default.aspx.cs 
 using System;
 using System.Web;
 using System.Web.UI;

 namespace MyWebProject
 {


public partial class Default : System.Web.UI.Page
{

public void clickMeButton_Click(object sender, EventArgs e) {
 object val = ViewState[ButtonClickCount];
int i = (val == null)? 1 : (int)val + 1;
outputLabel.Text = string.Format (You clicked me {0} {1}, i,
 i==1?time:times);
ViewState[ButtonClickCount] = i;
}

}
 }
  Global.asax.cs 
 using System;
 using System.Collections;
 using System.ComponentModel;
 using System.Web;
 using System.Web.SessionState;

 namespace MyWebProject
 {


public class Global : System.Web.HttpApplication
{

protected virtual void Application_Start(object sender, 
 EventArgs e)
{

Console.WriteLine(Application_Start is called);
}

protected virtual void Session_Start(object sender, EventArgs 
 e)
{
Console.WriteLine(Session_Start is called);
}

protected virtual void Application_BeginRequest(object sender, 
 EventArgs e)
{
Console.WriteLine(Application_BeginRequest is 
 called);
}

protected virtual void Application_EndRequest(object sender, 
 EventArgs e)
{
Console.WriteLine(Application_EndRequest is called);

}

protected virtual void Application_AuthenticateRequest(object 
 sender,
 EventArgs e)
{
}

protected virtual void Application_Error(object sender, 
 EventArgs e)
{
}

protected virtual void Session_End(object sender, EventArgs e)
{

Console.WriteLine(Session_End is called);
}

protected virtual void Application_End(object sender, 
 EventArgs e)
{
Console.WriteLine(Application_End is called);

}
}
 }

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




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Shopping cart for MONO

2008-10-22 Thread Joe Audette
Hi,

I'm working on ecommerce features in the mojoPortal project which
generally runs on Mono, though I have not yet tested the ecommerce on
Mono.
Its got a ways to go to be a full featured solution but something you
might want to keep your eye on. I'm working on it very actively.
Currently it only supports use of MS SQL or MySql, but eventually will
have support for pgsql as we support it in the rest of mojoPortal.
It also currently only supports download products. I'm using it with
MySql at http://www.mojoportal.com/store.aspx
Currently it supports PayPal, Google Checkout, and Authorize.NET.

Best,

Joe Audette
http://www.mojoportal.com

On Wed, Oct 22, 2008 at 7:20 AM, Andrus [EMAIL PROTECTED] wrote:
 I'm looking for a open source shopping cart which works with  Mono.
 PostgreSQL database should contain items and item pictures or pictures
 should stored in separate files.

 User can pick items, enter quantities and send order which is stored
 in database.

 Any idea where to find source code for this ?

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




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-dev] help needed please for ASP.NET migration to mono 2.0

2008-10-16 Thread Joe Audette
2008/10/16 mike horsley [EMAIL PROTECTED]:
 If I access my default.aspx page now, I no longer get the errors and see the
 status bar at the bottom which says transferring data from local host
 which then changes to waiting for local host. Nothing furher happens.

 I've managed to set up the mono-control tool and that works but doesn't give
 me much additional information.

 The ASP.NET application is straight off VS 2005; it works fine under MS. It
 contains AJAX.NET. I've renamed Bin to bin. Given that nothing really
 happens, could it be something basic like its not compiling under mono on
 the first reference to the site?


If your app includes the MS System.Web.Extensions.dll in your bin
folder, you should delete it because it can't run on Mono and will
throw an error if you try to include it in the bin. Mono has its own
copy in the GAC so deleting the one in the bin may help.

If your app also depends on Microsoft.Web.Preview.dll, I'm not sure
whether its supported, but again if its included in your bin folder it
will prevent the app from running.

probably there are errors you can review in the apache error log.
You can get more info about what is happening with your app if you run
it from the command line using xsp.
Open a terminal cd into your web root folder and enter the command:
MONO_OPTIONS=--debug  xsp2

Now you can open a browser http://localhost:8080 to see run app and
errors and or debug info will be shown in the terminal

Hope it helps,

Joe


-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono.Data.Sqlite

2008-07-03 Thread Joe Audette
Hi,

My impression is that SQLite is not that great a choice for a multi
threaded app. If you google sqlite mutli threading, in the first
result which links to here:

http://www.sqlite.org/cvstrac/wiki?p=MultiThreading

you'll see:
It has never been safe to use the same database connection
simultaneously in multiple threads.

Sqlite is really meant to be a lightweight db for single threaded apps.

Hope it helps,

Joe

On Sun, Jun 29, 2008 at 6:16 AM, Anders Aagaard [EMAIL PROTECTED] wrote:

 Hi

 I've been using Mono.Data.Sqlite in a multi threaded application, since the
 code says it's based on Robert Simpson's library I've been looking at his
 page for documentation (as Mono.Data.Sqlite documentation seems extremely
 sparse).

 My problem is that when using multiple threads, all writing to the database,
 I get :
 Unhandled Exception: Mono.Data.Sqlite.SqliteException: The database file is
 locked
 Every thread has it's own cloned SqliteConnection (during the creation of
 the thread I call MasterConnection.Clone (), and only use the referenced
 connection).  The exception happens instantly when two threads begin a
 transaction to the same database.

 Is the instructions for Robert Simpson's library not accurate for mono's
 sqlite library, or am I hitting a bug?  Any suggestions on how to cleanly
 work around this problem?

 I have one file scanner that adds files to the database, one text file
 scanner that scans all text files added and adds web links from them, and
 one web updater that takes the links and updates that from an online
 database.  They are all seperate threads.  The main thread will also
 occasionally do a small commit, but it will mostly read from the database.
 --
 View this message in context: 
 http://www.nabble.com/Mono.Data.Sqlite-tp18179121p18179121.html
 Sent from the Mono - Dev mailing list archive at Nabble.com.

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




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Please Help - problems compiling Mono from svn

2008-04-07 Thread Joe Audette
Hi All,

I'm trying to compile mono from svn so that I can demo mojoPortal at
the MySql conference using the latest bits with support for control
adapters. I've been building mono from svn for several years now and
only lately having troubles.

I'm using the Mono 1.9 VMWare (OpenSuse 10.3) machine. I've added the
needed devel packages that I know of.
I use this script to checkout Mono:

#!/bin/sh
for u in mono mcs libgdiplus xsp mod_mono
do
 echo Checking out $u
 svn co svn://anonsvn.mono-project.com/source/trunk/$u
done

Currently I have r99955
I built libgdiplus with no problems
I cd into the mono directory and ran autogen.sh --prefix=/usr

Results:

config.status: executing default commands

mcs source:$(top_srcdir)/../mcs
olive source:

GC:  included
TLS: __thread
SIGALTSTACK: yes
Engine:  Building and using the JIT
2.0 Beta:yes
2.1 Alpha:   yes
JNI support: IKVM Native
libgdiplus:  assumed to be installed
zlib:system zlib
oprofile:no



Now type `make' to compile
[EMAIL PROTECTED]:~/share/src/mono/mono

I ran make and I get this error:

make  all-am
make[4]: Entering directory `/home/linux/share/src/mono/mono/mono/mini'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../..   -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP
-DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -I../..
-I../../libgc/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -g -O2 -fno-strict-aliasing
-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD -MP -MF
.deps/mini.Tpo -c -o mini.lo mini.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -DGC_LINUX_THREADS -D_GNU_SOURCE
-D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64
-DUSE_COMPILER_TLS -I../.. -I../../libgc/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD
-MP -MF .deps/mini.Tpo -c mini.c  -fPIC -DPIC -o .libs/mini.o
mini.c: In function 'mono_method_to_ir':
mini.c:8266: warning: 'this' may be used uninitialized in this function
mini.c:4745: warning: 'token' may be used uninitialized in this function
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See URL:http://bugs.opensuse.org for instructions.
make[4]: *** [mini.lo] Error 1
make[4]: Leaving directory `/home/linux/share/src/mono/mono/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/linux/share/src/mono/mono/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/linux/share/src/mono/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linux/share/src/mono/mono'
make: *** [all] Error 2
[EMAIL PROTECTED]:~/share/src/mono/mono

Any help much appreciated. I really need to get this working in time
to demo it in my booth at the MySql conference.

Thanks,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Please Help - problems compiling Mono from svn

2008-04-07 Thread Joe Audette
Hi Paul,

Thanks for the help.
I'm using the opensuse 10.3 vmware image for Mono 1.9.
Looking in YaST it appears I have:
gcc 4.2-24
I also see
gcc42 version 4.2.1

Joe


On Mon, Apr 7, 2008 at 6:18 AM, Paul Melis [EMAIL PROTECTED] wrote:
 Hi,



  Joe Audette wrote:

  I'm trying to compile mono from svn so that I can demo mojoPortal at
  the MySql conference using the latest bits with support for control
  adapters. I've been building mono from svn for several years now and
  only lately having troubles.
  
  I'm using the Mono 1.9 VMWare (OpenSuse 10.3) machine. I've added the
  needed devel packages that I know of.
  I use this script to checkout Mono:
  
  #!/bin/sh
  for u in mono mcs libgdiplus xsp mod_mono
  do
   echo Checking out $u
   svn co svn://anonsvn.mono-project.com/source/trunk/$u
  done
  
  Currently I have r99955
  I built libgdiplus with no problems
  I cd into the mono directory and ran autogen.sh --prefix=/usr
  
  Results:
  
  config.status: executing default commands
  
  mcs source:$(top_srcdir)/../mcs
  olive source:
  
  GC:  included
  TLS: __thread
  SIGALTSTACK: yes
  Engine:  Building and using the JIT
  2.0 Beta:yes
  2.1 Alpha:   yes
  JNI support: IKVM Native
  libgdiplus:  assumed to be installed
  zlib:system zlib
  oprofile:no
  
  
  
  Now type `make' to compile
  [EMAIL PROTECTED]:~/share/src/mono/mono
  
  I ran make and I get this error:
  
  make  all-am
  make[4]: Entering directory `/home/linux/share/src/mono/mono/mono/mini'
  /bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
  -I. -I../..   -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP
  -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -I../..
  -I../../libgc/include -pthread -I/usr/include/glib-2.0
  -I/usr/lib/glib-2.0/include   -g -O2 -fno-strict-aliasing
  -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes
  -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes
  -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
  -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD -MP -MF
  .deps/mini.Tpo -c -o mini.lo mini.c
   gcc -DHAVE_CONFIG_H -I. -I../.. -DGC_LINUX_THREADS -D_GNU_SOURCE
  -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64
  -DUSE_COMPILER_TLS -I../.. -I../../libgc/include -pthread
  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2
  -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
  -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
  -Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD
  -MP -MF .deps/mini.Tpo -c mini.c  -fPIC -DPIC -o .libs/mini.o
  mini.c: In function 'mono_method_to_ir':
  mini.c:8266: warning: 'this' may be used uninitialized in this function
  mini.c:4745: warning: 'token' may be used uninitialized in this function
  gcc: Internal error: Killed (program cc1)
  Please submit a full bug report.
  See URL:http://bugs.opensuse.org for instructions.
  
  
  Did you notice that this is a message about an internal _compiler_
  error? The error is not in the Mono source, but in the compiler version
  you're using.
  What version of GCC do you have?

  Paul
  ___
  Mono-devel-list mailing list
  Mono-devel-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-devel-list




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Please Help - problems compiling Mono from svn

2008-04-07 Thread Joe Audette
So I guess I need to try opensuse 11 alpha so I can get gcc 4.3.0?
For a C# guy like me thats probably easier than trying to compile my own gcc



On Mon, Apr 7, 2008 at 8:52 AM, Paul Melis [EMAIL PROTECTED] wrote:
 Joe Audette wrote:


  Hi Paul,
 
  Thanks for the help.
  I'm using the opensuse 10.3 vmware image for Mono 1.9.
  Looking in YaST it appears I have:
  gcc 4.2-24
  I also see
  gcc42 version 4.2.1
 
 
  Perhaps an update to 4.2.1 solves it, otherwise you could try to submit a
 bug report to the gcc folks, but that might not solve your problem in
 time...
  If you really want to you could compile 4.2.3 (the latest in the 4.2.x
 series) yourself and try that version.

  Paul




  Joe
 
 
  On Mon, Apr 7, 2008 at 6:18 AM, Paul Melis [EMAIL PROTECTED] wrote:
 
 
   Hi,
  
  
  
   Joe Audette wrote:
  
   I'm trying to compile mono from svn so that I can demo mojoPortal at
   the MySql conference using the latest bits with support for control
   adapters. I've been building mono from svn for several years now and
   only lately having troubles.
   
   I'm using the Mono 1.9 VMWare (OpenSuse 10.3) machine. I've added the
   needed devel packages that I know of.
   I use this script to checkout Mono:
   
   #!/bin/sh
   for u in mono mcs libgdiplus xsp mod_mono
   do
echo Checking out $u
svn co svn://anonsvn.mono-project.com/source/trunk/$u
   done
   
   Currently I have r99955
   I built libgdiplus with no problems
   I cd into the mono directory and ran autogen.sh --prefix=/usr
   
   Results:
   
   config.status: executing default commands
   
   mcs source:$(top_srcdir)/../mcs
   olive source:
   
   GC:  included
   TLS: __thread
   SIGALTSTACK: yes
   Engine:  Building and using the JIT
   2.0 Beta:yes
   2.1 Alpha:   yes
   JNI support: IKVM Native
   libgdiplus:  assumed to be installed
   zlib:system zlib
   oprofile:no
   
   
   
   Now type `make' to compile
   [EMAIL PROTECTED]:~/share/src/mono/mono
   
   I ran make and I get this error:
   
   make  all-am
   make[4]: Entering directory `/home/linux/share/src/mono/mono/mono/mini'
   /bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
   -I. -I../..   -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP
   -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -I../..
   -I../../libgc/include -pthread -I/usr/include/glib-2.0
   -I/usr/lib/glib-2.0/include   -g -O2 -fno-strict-aliasing
   -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes
   -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes
   -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
   -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD -MP -MF
   .deps/mini.Tpo -c -o mini.lo mini.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DGC_LINUX_THREADS -D_GNU_SOURCE
   -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64
   -DUSE_COMPILER_TLS -I../.. -I../../libgc/include -pthread
   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2
   -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
   -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
   -Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD
   -MP -MF .deps/mini.Tpo -c mini.c  -fPIC -DPIC -o .libs/mini.o
   mini.c: In function 'mono_method_to_ir':
   mini.c:8266: warning: 'this' may be used uninitialized in this function
   mini.c:4745: warning: 'token' may be used uninitialized in this
 function
   gcc: Internal error: Killed (program cc1)
   Please submit a full bug report.
   See URL:http://bugs.opensuse.org for instructions.
   
   
   Did you notice that this is a message about an internal _compiler_
   error? The error is not in the Mono source, but in the compiler version
   you're using.
   What version of GCC do you have?
  
   Paul
   ___
   Mono-devel-list mailing list
   Mono-devel-list@lists.ximian.com
   http://lists.ximian.com/mailman/listinfo/mono-devel-list
  
  
  
 
 
 
 
 





-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Please Help - problems compiling Mono from svn

2008-04-07 Thread Joe Audette
Hi All,

Thanks for all the help. I installed a few more gcc related things
like for java, objective c, objective c++ etc and also updated to
r100047
And now I got through make with no errors. I don't know which of those
solved it. I'll bump up the ram on this vm too just in case.

Before I go ahead and install this was wondering about the prefix I
should use. I've been using --prefix=/usr for the last few years only
because I saw an example like that not because I understand it ;-D
So please what, if any prefix is advisable? I thought the purpose is
to put the custom compiled mono somewhere else since the 1.9 rpms are
also installed

Many Thanks,

Joe

On Mon, Apr 7, 2008 at 4:45 PM, Sebastien Pouliot
[EMAIL PROTECTED] wrote:
 Hello Joe,


  On Mon, 2008-04-07 at 16:30 -0400, Joe Audette wrote:
   So I guess I need to try opensuse 11 alpha so I can get gcc 4.3.0?
   For a C# guy like me thats probably easier than trying to compile my own 
 gcc
  
  
  
   On Mon, Apr 7, 2008 at 8:52 AM, Paul Melis [EMAIL PROTECTED] wrote:
Joe Audette wrote:
   
   
 Hi Paul,

 Thanks for the help.
 I'm using the opensuse 10.3 vmware image for Mono 1.9.
 Looking in YaST it appears I have:
 gcc 4.2-24
 I also see
 gcc42 version 4.2.1

  I use OpenSUSE 10.3 on my laptop, compile SVN HEAD every day (sometime
  several times) and never got this error (well not with this OS/GCC
  versions ;-)

  [EMAIL PROTECTED]:~/svn/mono gcc --version
  gcc (GCC) 4.2.1 (SUSE Linux)
  Copyright (C) 2007 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  Did you try doing a make clean ?

  Note: This is unrelated to your problem but using prefix=/usr seems a
  bit risky to me.





 Perhaps an update to 4.2.1 solves it, otherwise you could try to submit 
 a
bug report to the gcc folks, but that might not solve your problem in
time...
 If you really want to you could compile 4.2.3 (the latest in the 4.2.x
series) yourself and try that version.
   
 Paul
   
   
   
   
 Joe


 On Mon, Apr 7, 2008 at 6:18 AM, Paul Melis [EMAIL PROTECTED] wrote:


  Hi,
 
 
 
  Joe Audette wrote:
 
  I'm trying to compile mono from svn so that I can demo mojoPortal at
  the MySql conference using the latest bits with support for control
  adapters. I've been building mono from svn for several years now and
  only lately having troubles.
  
  I'm using the Mono 1.9 VMWare (OpenSuse 10.3) machine. I've added 
 the
  needed devel packages that I know of.
  I use this script to checkout Mono:
  
  #!/bin/sh
  for u in mono mcs libgdiplus xsp mod_mono
  do
   echo Checking out $u
   svn co svn://anonsvn.mono-project.com/source/trunk/$u
  done
  
  Currently I have r99955
  I built libgdiplus with no problems
  I cd into the mono directory and ran autogen.sh --prefix=/usr
  
  Results:
  
  config.status: executing default commands
  
  mcs source:$(top_srcdir)/../mcs
  olive source:
  
  GC:  included
  TLS: __thread
  SIGALTSTACK: yes
  Engine:  Building and using the JIT
  2.0 Beta:yes
  2.1 Alpha:   yes
  JNI support: IKVM Native
  libgdiplus:  assumed to be installed
  zlib:system zlib
  oprofile:no
  
  
  
  Now type `make' to compile
  [EMAIL PROTECTED]:~/share/src/mono/mono
  
  I ran make and I get this error:
  
  make  all-am
  make[4]: Entering directory 
 `/home/linux/share/src/mono/mono/mono/mini'
  /bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
  -I. -I../..   -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT 
 -DUSE_MMAP
  -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -I../..
  -I../../libgc/include -pthread -I/usr/include/glib-2.0
  -I/usr/lib/glib-2.0/include   -g -O2 -fno-strict-aliasing
  -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes
  -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes
  -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
  -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD -MP -MF
  .deps/mini.Tpo -c -o mini.lo mini.c
   gcc -DHAVE_CONFIG_H -I. -I../.. -DGC_LINUX_THREADS -D_GNU_SOURCE
  -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64
  -DUSE_COMPILER_TLS -I../.. -I../../libgc/include -pthread
  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2
  -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
  -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
  -Wmissing

[Mono-dev] errors compiling from svn

2008-04-05 Thread Joe Audette
Hi All,

I'm using the 1.9 VM and trying to compile Mono from svn head r99904
I'm getting this error, any suggestions to help me get past it much appreciated.

make[8]: Entering directory `/home/linux/share/src/mono/mcs/tools/tuner'
touch tune.stampt
MONO_PATH=.:../../class/lib/default:$MONO_PATH
/home/linux/share/src/mono/mono/runtime/mono-wrapper  --debug
../linker/monolinker.exe -d ../../class/lib/net_2_1_raw -o
../../class/lib/net_2_1 -l none -c link -a smcs -b true -m
display_internalized false  -x Descriptors/mscorlib.xml -x
Descriptors/smcs.xml -x Descriptors/System.xml -s
Mono.Tuner.InjectAttributes,Mono.Tuner:OutputStep -s
Mono.Tuner.AdjustVisibility,Mono.Tuner:OutputStep -s
Mono.Tuner.PrintStatus,Mono.Tuner:OutputStep -s
Mono.Tuner.RemoveSerialization,Mono.Tuner:OutputStep -s
Mono.Tuner.CheckVisibility,Mono.Tuner -i
masterinfos/silverlight/mscorlib.info -i
masterinfos/silverlight/System.info -i
masterinfos/silverlight/System.Core.info -i
masterinfos/silverlight/System.Xml.Core.info
make[8]: *** [tune.stamp] Killed
make[8]: Leaving directory `/home/linux/share/src/mono/mcs/tools/tuner'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory `/home/linux/share/src/mono/mcs/tools/tuner'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/linux/share/src/mono/mcs/tools'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/linux/share/src/mono/mcs'
make[4]: *** [profile-do--net_2_1--all] Error 2
make[4]: Leaving directory `/home/linux/share/src/mono/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/home/linux/share/src/mono/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/home/linux/share/src/mono/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linux/share/src/mono/mono'
make: *** [all] Error 2
[EMAIL PROTECTED]:~/share/src/mono/mono

Thanks,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] subsonic test drive

2008-02-25 Thread Joe Audette
Hi,

I've been working with SubSonic myself recently and have been able to
use it on Mono with MySql and PostgreSQL using some custom providers.

I'm using a custom build of SubSonic for several reasons. My custom
build leaves out their Provider for the MS Enterpise Blocks and also
leaves out their SQLite provider because it could not work with Mono.
I implemented a provider for SQLite that uses Mono.Data.Sqlite so in
theory it should work on Mono though I have not tested it (except on
Windows). I also found someone who started SubSonic provider
implementations for PostgreSQL and Firebird Sql and was able to take
their initial work and get it working to meet my needs (I haven't
tested the Firebird one on Mono but it should work).

SubSonic has code generation functionality that I have not tried on
Mono. I've only so far done code generation against MS SQL on windows,
but I am able to use the resulting generated code and the core
SubSonic dll on mono against both MySql and PostgreSql databases with
schema that corresponds to the MS SQL schema. I've also tested the
generated code against SQLite and Firebird but my testing has been on
Windows (though again no reason I can think of it won't work on Mono).

If you're interested you can get my custom version of SubSonic source
code from here:
https://forgesvn1.novell.com/svn/mojoportal/vendor/SubSonic

I like SubSonic very much because it has the benefits of typical OR
mapper but unlike many of them allows you to use it as data access
only and fully abstract it away from the real business objects so that
they have no dependency on SubSonic. Most OR mappers want to be in
charge of constituting your business objects whereas SubSonic can be
used to just pass data to and from your business obejcts.

Hope it helps,

Joe




2008/2/25 Sharique uddin Ahmed Farooqui [EMAIL PROTECTED]:
 Hi,

 I'm trying Subsonic http://www.subsonicproject.com/.
 When i compile my test web application. I get this error
 The nested type `ComponentModel' does not exist in the type
 `Northwind.System'(CS0426)]

 I'm using mono 1.2.6 and monodevelop 0.19.

 I didn't find System.ComponentModel.dll  in Reference Edit dialog box.

 Is this not implemented?
 --
 Sharique uddin Ahmed Farooqui
 (C++/C# Developer, IT Consultant)
  A revolution is about to begin.
 A world is about to change.
 And you and I are the initiator.
 ___
  Mono-devel-list mailing list
  Mono-devel-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-devel-list





-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-list] Ajax framework recommendations request for Mono

2008-02-22 Thread Joe Audette
 this redistribution.
 
 
 
  On 2/21/08, Daniel B. Hobbs [EMAIL PROTECTED] wrote:
   They offer a GPL version, just look at the bottom of their purchase
   option page:  http://ajaxwidgets.com/Buy.aspx
  
   It links to this page:
  
 http://ajaxwidgets.com/account/AddProductWizard.aspx?purchase=GPL_License
  
  
   On Thu, Feb 21, 2008 at 12:58 AM, Swaminathan Saikumar
   [EMAIL PROTECTED] wrote:
I did some research  found that even just using it on my application
 is
considered redistribution, which means any website code I write has to
 be
open-source as well.
Is there any other Ajax framework that is less restrictive in its
 licensing?
   
   
   
On 2/20/08, Jackson Harper [EMAIL PROTECTED] wrote:

 On Wed, 2008-02-20 at 13:32 -0800, Swaminathan Saikumar wrote:
  Hello,
 
  I'm looking for suggestions/recommendations for an Ajax framework
 for
  use with my ASP.NET mono project. I know ASP.NET but am relatively
 new
  to Ajax.
 
  Any suggestions/recommendations/opinions with some reasoning will
 be
  greatly appreciated.


 I've been using http://ajaxwidgets.com/ for a site I've been messing
 around with.  Pretty nice and easy to use (and I know very little
 about
 Ajax).

 Jackson



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

 --
 Jackson Harper
 [EMAIL PROTECTED]



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


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





-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-dev] mojoportal still broken on lastest svn (r96314)

2008-02-21 Thread Joe Audette
Hi All,

I'm still not able to get mojoportal working using mono built from svn
since before my vacation Feb 9th. Using mojoportal from svn trunk, it
works ok on Mono 1.2.6. (Note to build mojoportal on 1.2.6 you have to
remove the compiler directive USESETTINGSMAP as settings map was
implemented after 1.2.6). On 1.2.6 you also have to replace the
contents of Web.config with the contents from Web.mono.config

Using mono from svn r96314 everything builds fine but I get a runtime error:

System.Web.Compilation.ParseException: The parent type does not derive
from System.Web.UI.Page
  at System.Web.UI.BaseParser.ThrowParseException (System.String
message, System.Object[] parms) [0x0]
  at System.Web.UI.TemplateParser.SetBaseType (System.String type) [0x0]
  at System.Web.UI.TemplateParser.ProcessMainAttributes
(System.Collections.Hashtable atts) [0x0]
  at System.Web.UI.TemplateControlParser.ProcessMainAttributes
(System.Collections.Hashtable atts) [0x0]
  at System.Web.UI.PageParser.ProcessMainAttributes
(System.Collections.Hashtable atts) [0x0]
  at System.Web.UI.TemplateParser.AddDirective (System.String
directive, System.Collections.Hashtable atts) [0x0]
  at System.Web.UI.TemplateControlParser.AddDirective (System.String
directive, System.Collections.Hashtable atts) [0x0]
  at System.Web.UI.PageParser.AddDirective (System.String directive,
System.Collections.Hashtable atts) [0x0]
  at System.Web.Compilation.AspGenerator.TagParsed (ILocation
location, TagType tagtype, System.String tagid,
System.Web.Compilation.TagAttributes attributes) [0x0]
  at System.Web.Compilation.AspParser.OnTagParsed (TagType tagtype,
System.String id, System.Web.Compilation.TagAttributes attributes)
[0x0]
  at System.Web.Compilation.AspParser.Parse () [0x0]
  at System.Web.Compilation.AspGenerator.Parse (System.String file,
Boolean doInitParser) [0x0]
  at System.Web.Compilation.AspGenerator.Parse (System.String file) [0x0]
  at System.Web.Compilation.AspGenerator.Parse () [0x0]
  at 
System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].Parse
() [0x0]
  at 
System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].get_CodeCompilerType
() [0x0]
  at System.Web.Compilation.BuildManager.GetCodeDomProviderType
(System.Web.Compilation.BuildProvider provider) [0x0]
  at System.Web.Compilation.BuildManager+BuildItem..ctor
(System.Web.Compilation.BuildProvider provider) [0x0]
  at System.Web.Compilation.BuildManager.LoadBuildProviders
(System.String virtualPath, System.String virtualDir,
System.Collections.Generic.Dictionary`2 vpCache,
System.Web.Compilation.BuildKind kind, System.String
assemblyBaseName) [0x0]
  at System.Web.Compilation.BuildManager.BuildAssembly (System.String
virtualPath) [0x0]
  at System.Web.Compilation.BuildManager.GetCompiledType
(System.String virtualPath) [0x0]
  at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath
(System.String virtualPath, System.Type requiredBaseType) [0x0]
  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
virtualPath, System.String inputFile, System.Web.HttpContext context)
[0x0]
  at System.Web.UI.PageHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String requestType,
System.String url, System.String path) [0x0]
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext
context, System.String url) [0x0]
  at System.Web.HttpApplication+c__CompilerGenerated2.MoveNext () [0x0]

Please let me know if there is anything I can do to help pin down the problem.

Thanks,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-list] Assembly / Namespace mapping (ASP.NET / SQLite)

2008-02-08 Thread Joe Audette
Hi Timothy,

Why not just use Mono.Data.SQLite on both platforms, thats what I do
in mojoPortal.
If you'd like I can send you Mono.Data.SQLite.dll which I compiled on
windows using VS.
It works fine on both windows and on linux. It also requires
Mono.Security.dll but I can send you that too.

Hope it helps,

Joe

On Feb 8, 2008 4:38 PM, Timothy Parez [EMAIL PROTECTED] wrote:
 Hi,

 I have a website which I develop on Windows and deploy on Linux.
 I'm using SQLite which works on both platforms.

 The only differences are

 using System.Data.SQLite
 vs
 using Mono.Data.Sqlite

 And for the classes:

 SQLiteConnection
 vs
 SqliteConnection

 Aside from these differences, the code to use these libraries is the
 same.

 This means I have to use a series of sed commands to replace pieces of
 text.
 This isn't a real problem for final deployment, but can be a real PITA
 when testing online.

 Is there anyway to map these so I can keep System.Data.SQlite and
 SQLiteConnection, SQLiteCommand, etc... in my code
 and still force mono to use System.Data.Sqlite instead?

 (Guess changing the source code for Mono.Data.Sqlite would also be an
 option... but I'm hoping for something less drastic).

 Thank you.

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




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-dev] mojoPortal is broken using latest svn r94807

2008-02-05 Thread Joe Audette
Hi All,

I got the new preview of MonoDevelop and am again able to compile
mojoPortal. However, after updating to r94807 I'm getting this error
when trying to run mojoportal:

System.NullReferenceException: Object reference not set to an instance
of an object
  at System.Web.Hosting.VirtualPathProvider.OpenFile (System.String
virtualPath) [0x0]
  at System.Web.Compilation.BuildProvider.OpenStream (System.String
virtualPath) [0x0]
  at System.Web.Compilation.BuildProvider.OpenReader (System.String
virtualPath) [0x0]
  at 
System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].SpecialOpenReader
(System.String virtualPath, System.String physicalPath) [0x0]
  at System.Web.Compilation.PageBuildProvider.SpecialOpenReader
(System.String virtualPath, System.String physicalPath) [0x0]
  at 
System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].get_Parser
() [0x0]
  at 
System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].Parse
() [0x0]
  at 
System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].get_CodeCompilerType
() [0x0]
  at System.Web.Compilation.BuildManager.GetCodeDomProviderType
(System.Web.Compilation.BuildProvider provider) [0x0]
  at System.Web.Compilation.BuildManager+BuildItem..ctor
(System.Web.Compilation.BuildProvider provider) [0x0]
  at System.Web.Compilation.BuildManager.LoadBuildProviders
(System.String virtualPath, System.String virtualDir,
System.Collections.Generic.Dictionary`2 vpCache,
System.Web.Compilation.BuildKind kind, System.String
assemblyBaseName) [0x0]
  at System.Web.Compilation.BuildManager.BuildAssembly (System.String
virtualPath) [0x0]
  at System.Web.Compilation.BuildManager.GetCompiledType
(System.String virtualPath) [0x0]
  at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath
(System.String virtualPath, System.Type requiredBaseType) [0x0]
  at System.Web.UI.PageHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String requestType,
System.String url, System.String path) [0x0]
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext
context, System.String url) [0x0]
  at System.Web.HttpApplication+c__CompilerGenerated2.MoveNext () [0x0]


Thanks for any help,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] svn update to r93955 broke my MonoDevelop

2008-01-28 Thread Joe Audette
Thanks Lluis, that makes sense. I'll keep an eye out for the new
release or if I get real brave I'll try building MonoDevelop from svn.

Cheers,

Joe

On Jan 28, 2008 11:27 AM, Lluis Sanchez [EMAIL PROTECTED] wrote:
 You will need MonoDevelop from SVN or wait for the next release (which
 will hapen soon).

 The culprit is the fix for the mono bug #322762. MonoDevelop was relying
 on the old (and incorrect) behavior of Type.GetFields.

 Lluis.

 El ds 26 de 01 del 2008 a les 16:41 -0500, en/na Joe Audette va
 escriure:

  Hi All,
 
  Since I saw Miguel's message about branching 1.9 on monday I figured I
  would update my build and look for any problems with mojoPortal to
  report to make sure this release comes out good. It had been a few
  weeks or more since I did svn update.
  After building and installing r93955 I can no longer open MonoDevelop
  to build mojoPortal.
  I'm using opensuse 10.2 with md installed from the rpms that shipped with 
  1.2.6
 
  I only update libgdiplus, mono , xsp and mod_mono when I do update. I
  haven't had troubles like this before when updating my build from svn
  before.
 
  Any suggestions to help resolve it appreciated. Error that happens
  when I try to launch MonoDevelop is:
  System.Reflection.TargetInvocationException: Exception has been thrown
  by the target of an invocation. --- System.NullReferenceException:
  Object reference not set to an instance of an object
at MonoDevelop.DesignerSupport.Toolbox.Toolbox..ctor
  (MonoDevelop.DesignerSupport.ToolboxService toolboxService) [0x0]
at MonoDevelop.DesignerSupport.ToolboxPad..ctor () [0x0]
at (wrapper managed-to-native)
  System.Reflection.MonoCMethod:InternalInvoke (object,object[])
at System.Reflection.MonoCMethod.Invoke (System.Object obj,
  BindingFlags invokeAttr, System.Reflection.Binder binder,
  System.Object[] parameters, System.Globalization.CultureInfo culture)
  [0x0] --- End of inner exception stack trace ---
 
at System.Reflection.MonoCMethod.Invoke (System.Object obj,
  BindingFlags invokeAttr, System.Reflection.Binder binder,
  System.Object[] parameters, System.Globalization.CultureInfo culture)
  [0x0]
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
  System.Reflection.Binder binder, System.Object[] parameters,
  System.Globalization.CultureInfo culture) [0x0]
at System.Reflection.ConstructorInfo.Invoke (System.Object[]
  parameters) [0x0]
at System.Activator.CreateInstance (System.Type type, Boolean
  nonPublic) [0x0]
at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName,
  Boolean throwIfNotFound) [0x0]
at MonoDevelop.Ide.Codons.PadCodon.CreatePad () [0x0]
at MonoDevelop.Ide.Codons.PadCodon.get_PadContent () [0x0]
at MonoDevelop.Ide.Gui.SdiWorkbenchLayout.CreatePadContent (Boolean
  force, MonoDevelop.Ide.Codons.PadCodon padCodon,
  MonoDevelop.Ide.Gui.PadWindow window, Gdl.DockItem item) [0x0]
at 
  MonoDevelop.Ide.Gui.SdiWorkbenchLayout+c__CompilerGenerated81.AddPadc__82
  (System.Object +45, System.EventArgs +46) [0x0]
at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x0]
at (wrapper native-to-managed) GLib.Signal:voidObjectCallback 
  (intptr,intptr)
at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr)
at Gtk.Widget.Map () [0x0]
at Gdl.DockItem.OnMapped () [0x0]
at Gtk.Widget.mapped_cb (IntPtr widget) [0x0]
at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr)
at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr)
at Gtk.Widget.Map () [0x0]
at Gdl.DockItem.OnMapped () [0x0]
at Gtk.Widget.mapped_cb (IntPtr widget) [0x0]
at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr)
at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr)
at Gtk.Widget.Map () [0x0]
at Gdl.DockItem.OnMapped () [0x0]
at Gtk.Widget.mapped_cb (IntPtr widget) [0x0]
at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr)
at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr)
at Gtk.Widget.Map () [0x0]
at Gdl.DockItem.OnMapped () [0x0]
at Gtk.Widget.mapped_cb (IntPtr widget) [0x0]
at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr)
at (wrapper managed-to-native)
  Gtk.Container:gtksharp_container_invoke_gtk_callback
  (intptr,intptr,intptr)
at Gtk.Container+CallbackInvoker.Invoke (Gtk.Widget w) [0x0]
at (wrapper unbox) CallbackInvoker:Invoke (Gtk.Widget)
at Gdl.Dock.ForAll (Boolean include_internals, Gtk.Callback cb) [0x0]
at Gtk.Container.Forall_cb (IntPtr container, Boolean
  include_internals, IntPtr cb, IntPtr data) [0x0]
at (wrapper native-to-managed) Gtk.Container:Forall_cb
  (intptr,bool,intptr,intptr)
at (wrapper managed-to-native)
  GLib.Object:g_signal_chain_from_overridden (intptr,GLib.Value)
at Gtk.Widget.OnMapped

[Mono-dev] svn update to r93955 broke my MonoDevelop

2008-01-26 Thread Joe Audette
Hi All,

Since I saw Miguel's message about branching 1.9 on monday I figured I
would update my build and look for any problems with mojoPortal to
report to make sure this release comes out good. It had been a few
weeks or more since I did svn update.
After building and installing r93955 I can no longer open MonoDevelop
to build mojoPortal.
I'm using opensuse 10.2 with md installed from the rpms that shipped with 1.2.6

I only update libgdiplus, mono , xsp and mod_mono when I do update. I
haven't had troubles like this before when updating my build from svn
before.

Any suggestions to help resolve it appreciated. Error that happens
when I try to launch MonoDevelop is:
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. --- System.NullReferenceException:
Object reference not set to an instance of an object
  at MonoDevelop.DesignerSupport.Toolbox.Toolbox..ctor
(MonoDevelop.DesignerSupport.ToolboxService toolboxService) [0x0]
  at MonoDevelop.DesignerSupport.ToolboxPad..ctor () [0x0]
  at (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoCMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x0] --- End of inner exception stack trace ---

  at System.Reflection.MonoCMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x0]
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x0]
  at System.Reflection.ConstructorInfo.Invoke (System.Object[]
parameters) [0x0]
  at System.Activator.CreateInstance (System.Type type, Boolean
nonPublic) [0x0]
  at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName,
Boolean throwIfNotFound) [0x0]
  at MonoDevelop.Ide.Codons.PadCodon.CreatePad () [0x0]
  at MonoDevelop.Ide.Codons.PadCodon.get_PadContent () [0x0]
  at MonoDevelop.Ide.Gui.SdiWorkbenchLayout.CreatePadContent (Boolean
force, MonoDevelop.Ide.Codons.PadCodon padCodon,
MonoDevelop.Ide.Gui.PadWindow window, Gdl.DockItem item) [0x0]
  at 
MonoDevelop.Ide.Gui.SdiWorkbenchLayout+c__CompilerGenerated81.AddPadc__82
(System.Object +45, System.EventArgs +46) [0x0]
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x0]
  at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
  at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr)
  at Gtk.Widget.Map () [0x0]
  at Gdl.DockItem.OnMapped () [0x0]
  at Gtk.Widget.mapped_cb (IntPtr widget) [0x0]
  at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr)
  at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr)
  at Gtk.Widget.Map () [0x0]
  at Gdl.DockItem.OnMapped () [0x0]
  at Gtk.Widget.mapped_cb (IntPtr widget) [0x0]
  at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr)
  at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr)
  at Gtk.Widget.Map () [0x0]
  at Gdl.DockItem.OnMapped () [0x0]
  at Gtk.Widget.mapped_cb (IntPtr widget) [0x0]
  at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr)
  at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr)
  at Gtk.Widget.Map () [0x0]
  at Gdl.DockItem.OnMapped () [0x0]
  at Gtk.Widget.mapped_cb (IntPtr widget) [0x0]
  at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr)
  at (wrapper managed-to-native)
Gtk.Container:gtksharp_container_invoke_gtk_callback
(intptr,intptr,intptr)
  at Gtk.Container+CallbackInvoker.Invoke (Gtk.Widget w) [0x0]
  at (wrapper unbox) CallbackInvoker:Invoke (Gtk.Widget)
  at Gdl.Dock.ForAll (Boolean include_internals, Gtk.Callback cb) [0x0]
  at Gtk.Container.Forall_cb (IntPtr container, Boolean
include_internals, IntPtr cb, IntPtr data) [0x0]
  at (wrapper native-to-managed) Gtk.Container:Forall_cb
(intptr,bool,intptr,intptr)
  at (wrapper managed-to-native)
GLib.Object:g_signal_chain_from_overridden (intptr,GLib.Value)
  at Gtk.Widget.OnMapped () [0x0]
  at Gdl.Dock.OnMapped () [0x0]
  at Gtk.Widget.mapped_cb (IntPtr widget) [0x0]
  at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr)
  at (wrapper managed-to-native) GLib.Object:g_object_set_property
(intptr,intptr,GLib.Value)
  at GLib.Object.SetProperty (System.String name, Value val) [0x0]
  at Gtk.Widget.set_Visible (Boolean value) [0x0]
  at MonoDevelop.Ide.Gui.Workbench.Show (System.String
workbenchMemento) [0x0]
  at MonoDevelop.Ide.Gui.IdeApp.Initialize (IProgressMonitor monitor) [0x0]
  at MonoDevelop.Ide.Gui.IdeStartup.Run (System.String[] args) [0x0]


Thanks,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions

[Mono-dev] Is it possible to run ASP.NET from a CD?

2007-12-19 Thread Joe Audette
Hi All,

Was wondering if its theoretically possible to run xsp2 directly from
a cd. I've seen some posts about embedding mono but don't really know
what is involved. If anyone can confirm whether its possible or point
me to any information that might help I'd appreciate it.
What I'm thinking about is being able to run mojoportal directly from
a cd probably with SQLite. Obviously it would be read only but I can
see if it could be done it would be great for making demos and also
maybe I could make a utility to import export from other db platforms
so a site could be backed up and archived to cd in a way that you can
see the site as it was at the time of backup.

Is this possible?

Thanks,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Is it possible to run ASP.NET from a CD?

2007-12-19 Thread Joe Audette

It is doable and doesn't need to be read-only (to an extent). Your live CD
system would need to have a writable tmpfs mounted on the temp directory (that
is, usually on /tmp), so that ASP.NET can generate and compile assemblies on the
fly. Additionally, the user you would be running xsp under would need their
home directory writable, so that the .wapi directory can be created and written
to. You could create a user whose home would be set to /tmp, and reuse the same
tmpfs for both purposes. Other than those two requirements - it should work.

best regards,

marek


You basically always need a ram disk, so if you setup the proper links
(or mount points: there is a filesystem that allows you to view a ro
filesystem as rw) you can easily do it.

lupus


Thanks for the responses. By using a ram disk is it possible to run
from any desktop? ie win, nix, mac?
Are we talking about a bootable disk or an executable launched from
disk (across platforms)?

Would be great if a kit could be created that allows dropping in the
web files and SQLite db file, burn to disk and go. This would be an
awesome web site backup solution. Does this seem doable? Know of
anyone else working on this type of project?

Best,

Joe

On Dec 19, 2007 10:18 AM, Joe Audette [EMAIL PROTECTED] wrote:
 Hi All,

 Was wondering if its theoretically possible to run xsp2 directly from
 a cd. I've seen some posts about embedding mono but don't really know
 what is involved. If anyone can confirm whether its possible or point
 me to any information that might help I'd appreciate it.
 What I'm thinking about is being able to run mojoportal directly from
 a cd probably with SQLite. Obviously it would be read only but I can
 see if it could be done it would be great for making demos and also
 maybe I could make a utility to import export from other db platforms
 so a site could be backed up and archived to cd in a way that you can
 see the site as it was at the time of backup.

 Is this possible?

 Thanks,

 Joe

 --
 Joe Audette
 Software Solutions Architect
 Source Tree Solutions, LLC
 [EMAIL PROTECTED]
 http://www.sourcetreesolutions.com
 http://www.mojoportal.com




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] mod_mono issues on 1.2.6

2007-12-17 Thread Joe Audette
Hi All,

Saw some of the other posts about problems with mod_mono in 1.2.6
release so thought I would test it with mojoportal since I haven't
tested it in a long time and have only been testing with xsp2.

I'm using opensuse 10.3 with mono 1.2.6
Using mojoportal compiled on windows and packaged for use with mono/mysql
Works fine from the command line using xsp2

Using mod_mono/apache2:

First issue encountered was an invalid param exception thrown from
mscorelib on the setup page. The line of code throwing the exception
is testing for writability in the Data subfolder beneath the site
root.
The code that threw the exception is:

public static void TouchTestFile(String pathToFile)
{
if (pathToFile != null)
{

if (File.Exists(pathToFile))
{
   // exception thrown here from mscorelib
File.SetLastWriteTimeUtc(pathToFile, DateTime.Now);
}
else
{
StreamWriter streamWriter = File.CreateText(pathToFile);
streamWriter.Close();
}
}

}

By deleting the files I was able to get past this as it hit the else clause.

Next error was it could not connect to the database. The cause of this
error is that under mod_mono its not picking up my user.config file
which has the correct connection string. It works fine from the
command line with xsp2.
My connection string is from appSettings section defined in Web.config
to use user.config for overrides like this:
appSettings file=user.config
...
/appSettings

under mod_mono its not picking up my overrides in user.config as it should

so I put the correct connection string directly in Web.config and was
able to get past the db connection problem

Then I'm back to the same problem about setting the write time of
files but this time with cache files. Stack trace below:
System.IO.IOException: Invalid parameter
  at System.IO.File.SetLastWriteTime (System.String path, DateTime
last_write_time) [0x0]
  at System.IO.File.SetLastWriteTimeUtc (System.String path, DateTime
last_write_time) [0x0]
  at mojoPortal.Business.WebHelpers.CacheHelper.TouchCacheFile
(System.String pathToCacheFile) [0x0]
  at mojoPortal.Business.WebHelpers.CacheHelper.TouchMenuCacheDependencyFile
() [0x0]
  at mojoPortal.Business.WebHelpers.CacheHelper.GetMenuPagesFromCache
() [0x0]
  at mojoPortal.Business.WebHelpers.CacheHelper.GetMenuPagesFromContext
() [0x0]
  at mojoPortal.Business.WebHelpers.CacheHelper.GetMenuPages () [0x0]
  at mojoPortal.Web.mojoSiteMapProvider.BuildSiteMap () [0x0]
  at mojoPortal.Web.mojoSiteMapProvider.GetRootNodeCore () [0x0]
  at System.Web.SiteMapProvider.get_RootNode () [0x0]
  at System.Web.UI.WebControls.SiteMapDataSource.GetStartNode
(System.String viewPath) [0x0]
  at System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView
(System.String viewPath) [0x0]
  at 
System.Web.UI.HierarchicalDataSourceControl.System.Web.UI.IHierarchicalDataSource.GetHierarchicalView
(System.String viewPath) [0x0]
  at System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData
(System.String viewPath) [0x0]
  at System.Web.UI.WebControls.TreeView.PerformDataBinding () [0x0]
  at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect
() [0x0]
  at System.Web.UI.WebControls.BaseDataBoundControl.DataBind () [0x0]
  at System.Web.UI.WebControls.TreeView.DataBind () [0x0]
  at mojoPortal.Web.UI.SiteMenu.RenderTreeView () [0x0]
  at mojoPortal.Web.UI.SiteMenu.PopulateControls () [0x0]
  at mojoPortal.Web.UI.SiteMenu.Page_Load (System.Object sender,
System.EventArgs e) [0x0]
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x0]
  at System.Web.UI.Control.LoadRecursive () [0x0]
  at System.Web.UI.Control.LoadRecursive () [0x0]
  at System.Web.UI.Control.LoadRecursive () [0x0]
  at System.Web.UI.Control.LoadRecursive () [0x0]
  at System.Web.UI.Control.LoadRecursive () [0x0]
  at System.Web.UI.Page.InternalProcessRequest () [0x0]
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext
context) [0x0]

So, in short, mojoportal currently does work under xsp2 but not under mod_mono

Now that I am setup for testing mod_mono again I'll be glad to test
any updates for mod_mono. Apologies for not testing mod_mono when I
tested the earlier preview releases of 1.2.6 with mojoportal. I will
move on now to test this issue on a different machine using mono svn
head and see if the problem is also in svn.

Best Regards,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-list] Mono 1.2.6 preview 3 is out!!

2007-12-08 Thread Joe Audette
%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35;r=MicrosoftAjaxWebForms.debug.js;t=63332778491000;n=f
System.NullReferenceException: Object reference not set to an instance
of an object
 at System.Web.Handlers.ScriptResourceHandler.ProcessRequest
(System.Web.HttpContext context) [0x0]
 at 
System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest
(System.Web.HttpContext context) [0x0]
 at System.Web.HttpApplication+c__CompilerGenerated2.MoveNext ()
[0x00c73] in 
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/System.Web/System.Web/HttpApplication.cs:980
2007-12-09 01:34:56,170 [-1264227440] ERROR mojoPortal.Web.Global
[(null)] - 
/ScriptResource.axd?a=System.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35;r=MicrosoftAjaxWebForms.debug.js;t=63332778491000;n=f
System.NullReferenceException: Object reference not set to an instance
of an object
 at System.Web.Handlers.ScriptResourceHandler.ProcessRequest
(System.Web.HttpContext context) [0x0]
 at 
System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest
(System.Web.HttpContext context) [0x0]
 at System.Web.HttpApplication+c__CompilerGenerated2.MoveNext ()
[0x00c73] in 
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/System.Web/System.Web/HttpApplication.cs:980
2007-12-09 01:35:06,621 [-1264227440] ERROR mojoPortal.Web.Global
[(null)] - 
/ScriptResource.axd?a=System.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35;r=MicrosoftAjax.debug.js;t=63332778491000;n=f
System.NullReferenceException: Object reference not set to an instance
of an object
 at System.Web.Handlers.ScriptResourceHandler.ProcessRequest
(System.Web.HttpContext context) [0x0]
 at 
System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest
(System.Web.HttpContext context) [0x0]
 at System.Web.HttpApplication+c__CompilerGenerated2.MoveNext ()
[0x00c73] in 
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/System.Web/System.Web/HttpApplication.cs:980
2007-12-09 01:35:06,695 [-1264227440] ERROR mojoPortal.Web.Global
[(null)] - 
/ScriptResource.axd?a=System.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35;r=MicrosoftAjax.debug.js;t=63332778491000;n=f
System.NullReferenceException: Object reference not set to an instance
of an object
 at System.Web.Handlers.ScriptResourceHandler.ProcessRequest
(System.Web.HttpContext context) [0x0]
 at 
System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest
(System.Web.HttpContext context) [0x0]
 at System.Web.HttpApplication+c__CompilerGenerated2.MoveNext ()
[0x00c73] in 
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/System.Web/System.Web/HttpApplication.cs:980
2007-12-09 01:35:06,724 [-1259340912] ERROR mojoPortal.Web.Global
[(null)] - 
/ScriptResource.axd?a=System.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35;r=MicrosoftAjaxWebForms.debug.js;t=63332778491000;n=f
System.NullReferenceException: Object reference not set to an instance
of an object
 at System.Web.Handlers.ScriptResourceHandler.ProcessRequest
(System.Web.HttpContext context) [0x0]
 at 
System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest
(System.Web.HttpContext context) [0x0]
 at System.Web.HttpApplication+c__CompilerGenerated2.MoveNext ()
[0x00c73] in 
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/System.Web/System.Web/HttpApplication.cs:980
2007-12-09 01:35:06,801 [-1259340912] ERROR mojoPortal.Web.Global
[(null)] - 
/ScriptResource.axd?a=System.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35;r=MicrosoftAjaxWebForms.debug.js;t=63332778491000;n=f
System.NullReferenceException: Object reference not set to an instance
of an object
 at System.Web.Handlers.ScriptResourceHandler.ProcessRequest
(System.Web.HttpContext context) [0x0]
 at 
System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest
(System.Web.HttpContext context) [0x0]
 at System.Web.HttpApplication+c__CompilerGenerated2.MoveNext ()
[0x00c73] in 
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/System.Web/System.Web/HttpApplication.cs:980






-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-dev] npgsql error on Mono

2007-11-22 Thread Joe Audette
Hi,

Just a follow up. My best guess conclusion is that something is funky
in the packaging of pgsql under opensuse 10.3
I resurrected a copy of my vm from before I upgraded to opensuse 10.3
to get back to opensuse 10.2, then getting latest mono built from svn
it works as expected.

Thanks,

Joe

On Nov 18, 2007 6:35 PM, Francisco Figueiredo Jr.
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Joe Audette wrote:
  Hi Francisco,
 

 Hi, Joe!

  Thanks for the response.
 

 You are welcome!

  Did you try to execute your command with psql on console?
 
  Well its in my web app so I don't have an easy way to run it from the
  command line.
 

 Ok. Can you try to run the command which is giving problem from command
 line on psql on gnu/linux?

  It is very odd that you can execute from windows with no errors and from
  gnu/linux don't.
 
  Yes thats why it seems like a Mono issue.
 

 But even so, I don't think Mono would be the problem here. Did you try
 to use your application with Mono on windows? Or were you already doing
 that? I assumed you were using ms.net on windows.



  Also, this error indicate some problem loading an internal postgresql
  library which gives support for plpgsql server side language.
 
  I never saw this error. Do you have more than one postgresql installed?
 
 
  I don't think so. I'm using a VM under VMWare and installed pgsql from
  Yast. The machine was upgraded from open sues 10.2 to 10.3 but after
  the initial upgrade it was working fine and only recently after
  updating Mono from svn this error started appearing. The file that it
  says it can't load does exist and as I say runnig the same web code on
  windows and using the very same pgsql database on the vm there is no
  error at all.
 

 Strange... Can you try the following:

 ldd /usr/lib/postgresql/plpgsql.so and see if the output gives you any
 not found on the libraries?

 Mine gives me that:

  ldd ~/Apps/postgresql-8.3beta1/lib/plpgsql.so
 linux-gate.so.1 =  (0xe000)
 libc.so.6 = /lib/libc.so.6 (0xb7e73000)
 /lib/ld-linux.so.2 (0x8000)



 Sorry, Joe for not being very much helpful here...

 If I have any other idea I will let you know.


 Regards,

 Francisco Figueiredo Jr.
 http://fxjr.blogspot.com
 Npgsql Lead Developer
 http://pgfoundry.org/projects/npgsql
 Mono Project Contributor
 http://www.go-mono.com
 MonoBrasil Project Founder Member
 http://monobrasil.softwarelivre.org


 - --
  - Would you tell me, please, which way I ought to go from here?
  - That depends a good deal on where you want to get to.
 -- Lewis Carroll Alice's Adventures in Wonderland
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iQEVAwUBR0DMUf7iFmsNzeXfAQLNjAf/TbN/6AziSIQWynElrsz6x+/HI2vxth+7
 VEA/3FSuIgEkXK0C/2SaxiNezQlpCotXGeCzczn/ctan7I8DQbFH2seImnogVkGu
 5PzZjifqkjo6qHUP5rSgXOtEETzzZmpzBPKwlzVm+/GG3ZKCyCFTH9urMBnzwEWr
 s2I+EM9OJub+3Oer9U4gORiQoBPlLGOsKOmVt5+v4lHmeiMPIpvjv/4U2X5iLB46
 STAq7RLC8J6N/tmsXVxYDoY6auDstfD+mE0kLZNepnXsBZ8wcYRCDYg2cVIZdehk
 phMNuhXtDWp1zCuzbn7MLVbwCByu1fbhZc346f8z7VutZEmzQVYN3A==
 =aKr9
 -END PGP SIGNATURE-




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] npgsql error on Mono

2007-11-18 Thread Joe Audette
Hi Francisco,

Thanks for the response.

 Did you try to execute your command with psql on console?

Well its in my web app so I don't have an easy way to run it from the
command line.

 It is very odd that you can execute from windows with no errors and from
 gnu/linux don't.

Yes thats why it seems like a Mono issue.

 Also, this error indicate some problem loading an internal postgresql
 library which gives support for plpgsql server side language.

 I never saw this error. Do you have more than one postgresql installed?


I don't think so. I'm using a VM under VMWare and installed pgsql from
Yast. The machine was upgraded from open sues 10.2 to 10.3 but after
the initial upgrade it was working fine and only recently after
updating Mono from svn this error started appearing. The file that it
says it can't load does exist and as I say runnig the same web code on
windows and using the very same pgsql database on the vm there is no
error at all.

Npgsql.NpgsqlException:
could not load library /usr/lib/postgresql/plpgsql.so:
/usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info
Severity: ERROR
Code: 58P01
 at Npgsql.NpgsqlConnector.CheckErrors () [0x0]
 at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications () [0x0]
 at Npgsql.NpgsqlCommand.ExecuteCommand () [0x0]
 at Npgsql.NpgsqlCommand.ExecuteScalar () [0x0]
 at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlCommand:ExecuteScalar ()
 at mojoPortal.Data.NpgsqlHelper.ExecuteScalar
(Npgsql.NpgsqlConnection connection, CommandType commandType,
System.String commandText, Npgsql.NpgsqlParameter[] commandParameters)
[0x0]
 at mojoPortal.Data.NpgsqlHelper.ExecuteScalar (System.String
connectionString, CommandType commandType, System.String commandText,
Npgsql.NpgsqlParameter[] commandParameters) [0x0]
 at mojoPortal.Data.DBSiteUser.UpdateLastActivityTime (Guid userGuid,
DateTime lastUpdate) [0x0]
 at mojoPortal.Business.SiteUser.UpdateLastActivityTime () [0x0]
 at mojoPortal.Web.Global.Application_EndRequest (System.Object
sender, System.EventArgs e) [0x0]
 at (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
 at System.Web.HttpApplication.PipelineDone () [0x0]

Best,

Joe


-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] npgsql error on Mono

2007-11-17 Thread Joe Audette
Hi All,

Using Open Suse 10.3 and mono built from svn r89680 and mojoPortal svn
trunk I'm getting an error:
ERROR: 58P01: could not load library /usr/lib/postgresql/plpgsql.so:
/usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info

Description: Error processing request.

Error Message: HTTP 500. Npgsql.NpgsqlException: ERROR: 58P01: could
not load library /usr/lib/postgresql/plpgsql.so:
/usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info

Stack Trace:

Npgsql.NpgsqlException:
could not load library /usr/lib/postgresql/plpgsql.so:
/usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info
Severity: ERROR
Code: 58P01
  at Npgsql.NpgsqlConnector.CheckErrors () [0x0]
  at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications () [0x0]
  at Npgsql.NpgsqlCommand.ExecuteCommand () [0x0]
  at Npgsql.NpgsqlCommand.ExecuteScalar () [0x0]
  at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlCommand:ExecuteScalar ()
  at mojoPortal.Data.NpgsqlHelper.ExecuteScalar
(Npgsql.NpgsqlConnection connection, CommandType commandType,
System.String commandText, Npgsql.NpgsqlParameter[] commandParameters)
[0x0]
  at mojoPortal.Data.NpgsqlHelper.ExecuteScalar (System.String
connectionString, CommandType commandType, System.String commandText,
Npgsql.NpgsqlParameter[] commandParameters) [0x0]
  at mojoPortal.Data.DBSiteUser.UpdateLastActivityTime (Guid userGuid,
DateTime lastUpdate) [0x0]
  at mojoPortal.Business.SiteUser.UpdateLastActivityTime () [0x0]
  at mojoPortal.Web.Global.Application_EndRequest (System.Object
sender, System.EventArgs e) [0x0]
  at (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
  at System.Web.HttpApplication.PipelineDone () [0x0]

Using the same code and hitting the same db from windows works with no error.

I'm using the 1.0 source code for npgsql and it was working fine a few
weeks ago.

Thanks,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] mojoPortal broken using latest Mono from svn

2007-10-20 Thread Joe Audette
Hi Guys,

I'm at r87848 and I'm getting this error:

Could not load file or assembly 'App_GlobalResources' or one of its
dependencies. The system cannot find the file specified.

Description: Error processing request.

Error Message: HTTP 500. System.IO.FileNotFoundException: Could not
load file or assembly 'App_GlobalResources' or one of its
dependencies. The system cannot find the file specified.

Stack Trace:

System.IO.FileNotFoundException: Could not load file or assembly
'App_GlobalResources' or one of its dependencies. The system cannot
find the file specified.
File name: 'App_GlobalResources'
  at (wrapper managed-to-native) System.AppDomain:LoadAssembly
(string,System.Security.Policy.Evidence,bool)
  at System.AppDomain.Load (System.String assemblyString) [0x0]
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x0]
  at Resources.Resource.get_ResourceManager () [0x0]
  at Resources.Resource.get_ApplicationStartEventMessage () [0x0]
  at mojoPortal.Web.Global.Application_Start (System.Object sender,
System.EventArgs e) [0x0]
  at (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x0]

I went through a big odyssey where I had upgraded my vm from opensuse
10.2 to 10.3 and then built latest mono on that machine and got the
same error as above and thought maybe it was due to the os upgrade.
So I then got a copy I had backed up before upgrading the vm and it
worked fine as it had a revision somewhere between r86630 and r87051,
not exactly sure but it was working so I went ahead and did svn update
on mono and rebuilt with mono r87848 and now I get the same error on
opensuse 10.2

So somewhere in that range of revisions something has gone wrong and
mojoPortal no longer works on Mono.

Anything I can do to help pin down this issue further please let me know.

Thanks,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-list] Packaged .NET apps for Mono: Call for Ideas.

2007-09-18 Thread Joe Audette
If mojoPortal is packaged I'd be glad to maintain the package if any
maintaining is needed. I don't know anything about packing rpms but
I'm happy to learn. I know Wade had mentioned a while back that he was
working on packaging mojoPortal. I think one cool thing is that
mojoPortal has a MonoDevelop solution in addition to a VS 2005
Solution.
In the MonoDevelop solution, the web project is implemented as a class
library project. I know some work has been going on for a Web project
type in MonoDevelop. Have been wondering if I should change the
project type at some point.

Thanks,

Joe

On 9/16/07, Joseph Hill [EMAIL PROTECTED] wrote:
 Having Mono applications packaged so that they can easily be sampled by .NET 
 developers would be a big win.  There should be a ton of these, but to begin 
 with, I would consider the following:

 * The ASP.NET Starter Kits
 * mojoPortal (probably the SQLite version would be the simplest candidate).
 * Paint.NET

 * NCover
 * NProf
 * log4net
 * NHibernate
 * Castle Project (MonoRail, ActiveRecord, etc)
 * CruiseControl.NET
 * Phalanger

 Also, could we consider Reflector?  I know it's not open, but it demos well.

 A call for projects would probably be answered if it were asked from a widely 
 read blog...

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Miguel de Icaza
  Sent: vrijdag 14 september 2007 19:21
  To: mono-list@lists.ximian.com
  Subject: [Mono-list] Packaged .NET apps for Mono: Call for Ideas.
 
  Hello folks,
 
  As part of our QA efforts, we would like to start packaging some
 popular

   Open Source .NET applications  in RPM form, and I would like to get your
   feedback on which kinds of .NET apps we should be packaging.
  
   These are some projects that I have so far, but I would like to
 
 extend
   this list:
  
 * Boo
 * IronPython Community Edition (I believe we already package
   this).
 * Nant
 * nunit
 * tf4mono
 * Tao libraries
 * IKVM (0.34 is the latest, SLED ships 0.28)
 * Mono Fuse
 * Gaia Widgets (http://ajaxwidgets.com/) for ASP.NET now that they
   fully support Mono.
 * Google Data Libraries.
   ___
   Mono-list maillist  -  Mono-list@lists.ximian.com
   http://lists.ximian.com/mailman/listinfo/mono-list
  
  
 

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



-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-dev] System.Web.Extensions testing under mojoPortal

2007-08-29 Thread Joe Audette
Hi All,

Yesterday I managed to get UpdatePanel working in mojoPortal using
Mono from svn r84961 and mojoportal from svn trunk:
https://forgesvn1.novell.com/svn/mojoportal/trunk

I encountered a bug that needs to be fixed but was able to work around it.
The bug was a null reference on any controls inside the UpdatePanel
and the workaround was to get the needed reference using
UpdatePanel1.FindControl(...)
Relevant code from BlogEdit.aspx and BlogEdit.aspx.cs:

asp:TextBox id=txtCategory runat=server Columns=50/asp:TextBox
asp:Button  id=btnAddCategory 
runat=server/asp:Button
div class=settingrow
asp:UpdatePanel ID=UpdatePanel1 
UpdateMode=Conditional
runat=server
ContentTemplate
asp:CheckBoxList id=chkCategories
runat=server SkinID=Blog/asp:CheckBoxList
/ContentTemplate
/asp:UpdatePanel

private void Page_Load(object sender, EventArgs e)
{

if (ScriptController != null)
{
ScriptController.RegisterAsyncPostBackControl(btnAddCategory);
}
else
{
log.Error(ScriptController was null);
}

if ((!Page.IsPostBack)  (!Page.IsCallback))
{
PopulateControls();
PopulateCategories();
}

}

private void PopulateCategories()
{
// Mono doesn't see this in update panel
// so help find it
if (chkCategories == null)
{
log.Error(chkCategories was null);

chkCategories =
(CheckBoxList)UpdatePanel1.FindControl(chkCategories);
}

if (ShowCategories)
{
chkCategories.Items.Clear();
IDataReader reader;
reader = Blog.GetCategoriesList(this.ModuleID);
while (reader.Read())
{
ListItem listItem = new ListItem();
listItem.Text = reader[Category].ToString();
listItem.Value = reader[CategoryID].ToString();
chkCategories.Items.Add(listItem);
}
reader.Close();

if (this.ItemID  -1)
{
reader = Blog.GetItemCategories(this.ItemID);
while (reader.Read())
{
ListItem item =
chkCategories.Items.FindByValue(reader[CategoryID].ToString());
if (item != null)
{
item.Selected = true;
}
}
reader.Close();
}

}

}

protected void btnAddCategory_Click(object sender, EventArgs e)
{

if (this.txtCategory.Text.Length  0)
{
int newCategoryID =
Blog.AddBlogCategory(this.ModuleID, this.txtCategory.Text);
if (this.ItemID  0)
{
Blog.AddItemCategory(this.ItemID, newCategoryID);
}

PopulateCategories();
UpdatePanel1.Update();

}

}


With the workaround it does work on Mono. Even without the workaround
it worked on Windows using the Mono System.Web.Extensions.dll

When I tried to use the same dll on Mono 1.2.4 vm it did not work, it
compiled ok but at runtime I got an error about unkown type
System.Web.UI.Literal. I think the issue on 1.2.4 has to do with this
in Web.config:
add tagPrefix=asp namespace=System.Web.UI
assembly=System.Web.Extensions/

Seems to lose track of all other controls in asp prefix that are not
in the System.Web.Extensions.dll. A workaround might be to use a
different prefix like ajax instead of asp.

I've been waiting a long time to be able to use UpdatePanel and other
MS Ajax stuff in mojoportal so I'm very happy to have progress but
would like to be able to use it more extensively without having to
.FindControl every control in the updatepanel

Thanks,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] System.Web.Extensions testing under mojoPortal

2007-08-29 Thread Joe Audette
Hi Marek,

   I've just committed the (simple) fix to svn trunk, revision 84996.

   Onur, your sample code works for me now without having to use FindControl.

   Joe, I'm not sure if it fixes your issue though. By the time Page_Load is
 invoked, the controls inside templates aren't instantiated yet (it happens on
 MS.NET as well), so referring to them by field might fail. Please let me know
 how it worked (or not worked) for you. If your code works on MS.NET and not no
 Mono, I'll try to create a test case to see what happens.


Thanks for your help!

I just built and tested with Mono r84996 and the bug still persists.
It does not happen on windows with MS.NET. I would always expect any
control declared in markup to be not null in page load.

Thanks,

Joe



-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-list] Will System.Web.Extensions be in Mono 1.2.5?

2007-08-10 Thread Joe Audette
Hi All,

I'm really looking forward to using System.Web.UI.UpdatePanel in
mojoPortal and am wondering if any of System.Web.Extensions will be
included in the 1.2.5 release. I see it in svn but have been reluctant
to add a reference to it since users of our MonoDevelop solution are
probably using the official release which doesn't have it.

Thanks,

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Will System.Web.Extensions be in Mono 1.2.5?

2007-08-10 Thread Joe Audette
Hi Miguel,

 You could probably bundle a copy of it in your application and not
 install it on the GAC for the time being.

Thanks I'll give that a try. If I grab that dll from my  opensuse
machine and put it in the bin, should it in theory also work on
windows or should I only link to this one in my MonoDevelop solution
and use the regular windows one for VS.NET?

 Also, even if we have System.Web.Extensions, am not sure if we properly
 install in the system the necessary Javascript code that is required by
 Web.Extensions.

I already include that javascript in mojoportal so I just need to know
where to put it so that the dll would find it or how to tell the dll
where to find it?

 We definitely could use some help by someone that is using
 Web.Extensions and wants to check if our current setup in Mono works
 (currently all the work is done by Mainsoft, so Grasshopper is the only
 target that is being tested)

If I can figure out or get answers to the above questions I'll
definitely test it.

Thanks for any more info that might help.

Joe


-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-dev] Reading excel files with mono ?

2007-08-08 Thread Joe Audette
I don't know about .xls files but if they are saved as .csv you could
read them with this:
http://www.codeproject.com/cs/database/CsvReader.asp?df=100forumid=142714exp=0select=2127605

Excel has a save as csv option, but if you need the native .xls format
the above won't help.

Joe

On 8/8/07, Onur Gumus [EMAIL PROTECTED] wrote:
 Hello,

 Does anyone know if it is possible to read from Microsoft Excel files , with
 mono under linux ?

 Onur

 --
 Warning: If you are reading this then this warning is for you. Every word
 you read of this useless fine print is another second off your life. Don't
 you have other things to do? Is your life so empty that you honestly can't
 think of a better way to spend these moments? Or are you so impressed with
 authority that you give respect and credence to all that claim it? Do you
 read everything you're supposed to read? Do you think every thing you're
 supposed to think? Buy what you're told to want? Get out of your apartment.
 Meet a member of the opposite sex. Stop the excessive shopping and
 masturbation.Quit your job. Start a fight. Prove you're alive. If you don't
 claim your humanity you will become a statistic. You have been warned - Onur
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-list] Developing in a mix environment

2007-07-31 Thread Joe Audette
Hi,

Here's a few cents on some of your questions.


 How do you avoid running into new line/carriage return problems between
 editors?

Each user can edit his svn config file to avoid line ending problems.
Some info on that here:
http://www.zope.org/DevHome/Subversion/SubversionConfigurationForLineEndings
or google for more

 How do you handle building projects between the systems?
   -- Do you use nant/make files, if so, how do the windows developers handle
 that
   -- Do you use vs solutions with monodevelop? How well does it work?  Is
 there something on the Mac that can do this?

I'm not sure what others do, but in mojoPortal I use MonoDevelop
solutions and projects when working in MonoDevelop and VS Solutions
and projects when working on Windows. I haven't tried the use of VS
solutions/projects in MonoDevelop.
Pros of my approach: I can have different compiler directives in the
MD solution than the VS solution and I find I need these in some
places to work around unsupported things etc.
Cons of my approach: If I add files to a VS solution or project, they
are not automatically added to the corresponding .mdp or .mds so I
have to add them manually.
I build with VS on Windows and build with MD on linux. Nant is also an
option I just haven't got there yet myself.

Hope it helps,

Joe


-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Developing in a mix environment

2007-07-31 Thread Joe Audette
 We use Premake (http://premake.sf.net/) to generate Visual Studio and
 SharpDevelop files for Windows, MonoDevelop files for Linux, and GNU
 makefiles for OS X (and edit in XCode).

Nice! I did not know about Premake, Thanks!

Joe


-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono ASP.Net Hosting

2007-07-27 Thread Joe Audette
Best one I know if is:

http://www.grokthis.net/

Cheers,

Joe

On 7/27/07, Lennie De Villiers [EMAIL PROTECTED] wrote:
 Hi,

 I'm looking for Mono ASP.Net webhosting? anybody know of a good webhost?

 Important to us are:

 - Have over 500 MB + web space
 - mySQL database
 - Run latest stable Mono release

 Kind Regards,

 Lennie De Villiers

 http://blog.openmindconnections.co.za


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




-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Fwd: Mono Newbie Question

2007-07-20 Thread Joe Audette
oops didn't post to the list on this response.

-- Forwarded message --
From: Joe Audette [EMAIL PROTECTED]
Date: Jul 20, 2007 11:25 AM
Subject: Re: [Mono-list] Mono Newbie Question
To: Dave Moor [EMAIL PROTECTED]


Hi Dave,

This System.Data.SQLite you are using is not part of the .NET
framework, it is a third party library. You may be able to use it on
Mono.

Alternatively you could use the Mono.Data.Sqlite on Windows. I'm using
it in my project mojoPortal and it works great on windows. I grabbed
the source code from the mono project and created my own VS 2005
project, there were a few needed compiler directives.
You can get my copy of this project using TortoiseSVN from:
https://forgesvn1.novell.com/svn/mojoportal/trunk/Mono.Data.Sqlite

Then if you change your code to use this instead of the one you are
using you can be sure it will work also on Mono.

Then again, its possible the library you are already using will work.

Hope it helps,

Joe

On 7/20/07, Dave Moor [EMAIL PROTECTED] wrote:
 Hi

 My company has a Windows Service written on .Net v2 which I am trying to
 get working on Mono running in Linux.

 I have one problem.  I'd like to keep the same project and source files
 for both but the service uses the windows ADO.Net provider.  Is there a
 way I can identify in the project file and source files that I am
 compiling against the Mon framework.

 My main issue is .net uses System.Data.SQLite and mono uses
 Mono.Data.Sqlite so I could do with knowing if there is a global default
 compilation symbol like MONO so I can use #if() to select which
 namespace to use.  I realise I also need to do the same in the project
 files reference section which may scupper my plans completely :)

 Thanks

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



--
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com


-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-dev] Mono summit, options.

2007-07-18 Thread Joe Audette
I vote for Boston in October.
I really wanted to come to the last one but it coincided with selling
my house and moving so was unable to make it. This year I am really
determined to make it. I've already got a trip scheduled in February
so October sounds great to me.

Cheers,

Joe

On 7/17/07, Miguel de Icaza [EMAIL PROTECTED] wrote:
 Hello folks,

 Am trying to decide on a location for the next Mono summit.   One of
 the challenges of the summit is that the Mono team is now pretty large,
 so it is quite expensive to fly and host everyone, so am trying to pick:

 * An affordable city (good hotel prices).
 * Hopefully easy to reach by cheap flights.

  Am not sure what format we should have for this year.   Am not sure
 that having a strict schedule with talks was all that great last year, I
 felt that we had too little free time to talk among us than we did
 listening to presentations.

  So am thinking:

 * Limit the presentations to a handful, on key topics.

 * Organize the rest in an un-conference style, kind of like a
   BOF, where we get people together and people get to discuss
   things.

  Ideally, we should host this in a University, as the hotel that we
 picked last time in Boston was far from ideal as well.

  Some cities that I think might be within range are:

 * Boston, but we have to be careful with the time, due
   to the city being expensive for a bunch of special events.

 * Prague, has a SUSE/Novell office, but there are few direct
   flights to it.

 * Madrid, potentially we could find a University there that
   could host us.

  Am afraid that Mexico and South America will be expensive to reach
 for Europeans, but if the cost is not too larger, we could pick a city
 in Mexico (We all know that Mike Kestner wants Cancun, but having been
 there for a conference once, I can attest that most attendees skip on
 the meetings).

  Which probably means Do your conference in Boston, in mid
 February to guarantee attendance ;-).

 Miguel.
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list



-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-list] [Mono-dev] Mono summit, options.

2007-07-18 Thread Joe Audette
I vote for Boston in October.
I really wanted to come to the last one but it coincided with selling
my house and moving so was unable to make it. This year I am really
determined to make it. I've already got a trip scheduled in February
so October sounds great to me.

Cheers,

Joe

On 7/17/07, Miguel de Icaza [EMAIL PROTECTED] wrote:
 Hello folks,

 Am trying to decide on a location for the next Mono summit.   One of
 the challenges of the summit is that the Mono team is now pretty large,
 so it is quite expensive to fly and host everyone, so am trying to pick:

 * An affordable city (good hotel prices).
 * Hopefully easy to reach by cheap flights.

  Am not sure what format we should have for this year.   Am not sure
 that having a strict schedule with talks was all that great last year, I
 felt that we had too little free time to talk among us than we did
 listening to presentations.

  So am thinking:

 * Limit the presentations to a handful, on key topics.

 * Organize the rest in an un-conference style, kind of like a
   BOF, where we get people together and people get to discuss
   things.

  Ideally, we should host this in a University, as the hotel that we
 picked last time in Boston was far from ideal as well.

  Some cities that I think might be within range are:

 * Boston, but we have to be careful with the time, due
   to the city being expensive for a bunch of special events.

 * Prague, has a SUSE/Novell office, but there are few direct
   flights to it.

 * Madrid, potentially we could find a University there that
   could host us.

  Am afraid that Mexico and South America will be expensive to reach
 for Europeans, but if the cost is not too larger, we could pick a city
 in Mexico (We all know that Mike Kestner wants Cancun, but having been
 there for a conference once, I can attest that most attendees skip on
 the meetings).

  Which probably means Do your conference in Boston, in mid
 February to guarantee attendance ;-).

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



-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] can't find the list of classes support in mono

2007-06-27 Thread Joe Audette
Hi Peter,

My project mojoPortal uses Membership, Role, and SiteMap providers and
it runs on Mono. I think Profile is also implemented but I use a
custom profile system rather than the built in one so I'm not
positive.

If you get mojoPortal from svn, I include a MonoDevelop solution:
http://www.mojoportal.com/developmentonlinux.aspx

WebParts is not yet supported so in the MonoDevelop solution I use
some conditional compilation to leave out WebParts in mojoPortal.

I think working with mojoPortal will help you get familiar with Mono
and MonoDevelop because it is a complex web app and its already setup
to be easy to build in MonoDevelop.

Glad to see you taking an interest in Mono

Cheers,

Joe

On 6/27/07, Peter Kellner [EMAIL PROTECTED] wrote:
 Specifically, I'm looking to see if membership, role providers and
 profile providers are supported.  I thought I saw a list once that
 showed all the .net classes and the status in mono.

 thanks

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



-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] can't find the list of classes support in mono

2007-06-27 Thread Joe Audette
Also there is a class status page for 2.x framework

http://www.mono-project.com/Class_Status
http://mono.ximian.com/class-status/mono-HEAD-vs-fx-2/index.html

I'm not sure how up to date and accurate it is.

Joe

On 6/27/07, Peter Kellner [EMAIL PROTECTED] wrote:
 Specifically, I'm looking to see if membership, role providers and
 profile providers are supported.  I thought I saw a list once that
 showed all the .net classes and the status in mono.

 thanks

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



-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] New to Mono, how to reference a dll within monodevelop

2007-06-26 Thread Joe Audette
Hi Peter,

Its very similar in MonoDevelop, there is a References node, right
click it and choose edit references. Then click the  .NET assembly tab
and you can browse to a pre-compiled dll. I'm using MonoDevelop 0.12
so it might be a little different in the newest version.

Hope it helps,

Joe

On 6/26/07, Peter Kellner [EMAIL PROTECTED] wrote:
 I've got a .net dll I've brought over from windows (that I compiled myself on 
 windows) and want to link it with my project in mono develop.  In visual 
 studio, I would say Add Reference. How can I do the equivalent thing here?
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Novell Offline?

2007-04-02 Thread Joe Audette
Am I the only one experiencing this or is all of Novell's web sites
down at the moment?

I can't get to Novell Forge svn or to Novell.com right now. Is it my
isp or are others experiencing this?

Joe

-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Novell Offline?

2007-04-02 Thread Joe Audette
Its working again for me now too, must have been a glitch with my isp
or something.

Thanks,

Joe

On 4/2/07, Corbin Hoenes [EMAIL PROTECTED] wrote:
 I'm good.

 On 4/2/07, Joe Audette [EMAIL PROTECTED] wrote:
  Am I the only one experiencing this or is all of Novell's web sites
  down at the moment?
 
  I can't get to Novell Forge svn or to Novell.com right now. Is it my
  isp or are others experiencing this?
 
  Joe
 
  --
  Joe Audette
  Software Solutions Architect
  Source Tree Solutions, LLC
  [EMAIL PROTECTED]
  http://www.sourcetreesolutions.com
  http://www.mojoportal.com
  ___
  Mono-list maillist  -  Mono-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-list
 



-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Port MSSQL implementation as well

2007-03-01 Thread Joe Audette
Not all ASP.NET developers limit themselves to MSSQL, there are .NET
drivers for many open source dbs and it is easy to use these other dbs
from .NET. I would say that ASP.NET developers who want to move toward
open platforms should consider starting by switching to an open source
db, then try the web server with Mono

My project, mojoPortal can use MS SQL, MySQL , or PostgreSQL
http://www.mojoportal.com

Joe





On 3/1/07, Charles A. Landemaine [EMAIL PROTECTED] wrote:
 The Mono project is very interesting and has tremendous potential.
 Unfortunately it's not viable for regular web hosting on Unix, because
 it's missing MSSQL. ASP.NET developers develop their ASPX applications
 with MSSQL for the majority, and if you want to offer MSSQL, you need
 a Windows Server, in the end you're better off using ASPX on a Windows
 server in this case.

 Creating a free implementation of MSSQL for Unix would set the
 industry free from Microsoft, and web hosting companies could offer
 full-featured Windows hosting using just free software, and at the
 same price as LAMP hosting.

 Thanks for your attention,

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



-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
[EMAIL PROTECTED]
http://www.sourcetreesolutions.com
http://www.mojoportal.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] MySQL on Mono

2007-02-05 Thread Joe Audette
Hi,

On 2/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I have a few questions for you:
 1. I don't get any MySQL to .NET Connector for .NET  framework 1.0, just get
 for .NET framework 2.0
 (http://dev.mysql.com/downloads/connector/net/5.0.html).
 if there MySQL .NET Connector for .NET framework 1.0 ?

For 1.1 framework use
http://dev.mysql.com/downloads/connector/net/1.0.html


 2. i'm creating project  using Visual Studio 2005 (.NET framework 2.0), it
 got error if i'm creating using VB, but if i'm using C# there's no error.
 Is that mean in Visual Studio 2005, mono is more supported C# than
 VB.NET?

Yes c#is better supported I think. Though maybe others can answer this
better than me.

 3. I'm creating project using VS2005, connecting to MySQL (because i can't
 find the connector for VS2003) and the project is write in C#.
 the MySQL database is installed in Windows.

this connector works in VS 2003
http://dev.mysql.com/downloads/connector/net/1.0.html

 If i'm run the app to connect to MySQL in windows it works fine, but
 when i run the app in Linux it's throw exception like this :
 Unhandled Exception:
 MySql.Data.MySqlClient.MySqlException: Unable to connect to
 any of the specified MySQL hosts
 is this exception is because the MySQL database is installed on Windows
 not in Linux, and the app in linux can't find the MySQL on Windows?
or i have miss something to do this ??

Most likely cause is if the linux machine can't resolve the host name
of the windows machine. Put the name of the windows machine and its ip
address in the etc/hosts file on linux or try using the ip address of
the windows machine in the connection string

Hope it helps,

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


Re: [Mono-dev] Need your help: Mainsoft/Novell Race to Linux

2007-01-27 Thread Joe Audette
Hi Miguel,

I'm not sure if this qualifies as its not really porting per se but I
would be grateful for any help toward getting mojoPortal 2.x running
on Mono.

As you may know the mojoPortal project was started to build a cross
platform web site framework and has been dedicated to working on Mono
from the beginning. Currently we still support the 1.x branch of
mojoPortal on Mono but over the past year have gone on to take
advantage of the 2.0 ASP.NET features figuring that it was better to
do that than to wait until these features were implemented in Mono,
this way when the features are implemented in Mono we are ready.

In mojoPortal we have implemented a MonoDevelop Solution in addition
to the VS Solution so that mojoPortal can be compiled easily on linux
(and eventually be able to debug). I know that there is work under way
to be able to use VS Solutions/Projects natively in MonoDevelop but it
actually at the moment is better for us to use separate MonoDevelop
Solution and Projects because WebParts is not yet implemented in Mono
and having the separate MonoDevelop Solution/Projects allows us to
leave out that feature and build mojoPortal without it whereas if we
included them it would not compile.

The 2.x mojoPortal MonoDevelop Solution, mojoportal.mds currently
compiles for me without errors using SUSE 10.1 and MonoDevelop 0.12

At the moment we are blocked by a Segmentation fault
http://bugzilla.ximian.com/show_bug.cgi?id=80532

I'm sure once we get past that one there will be others to work
through but I am dedicated to doing anything I can to help the process
along.

Personally I would find it disheartening to see the latest version of
DotNetNuke running on Mono before mojoPortal 2.x even if it is through
the magic of Grasshopper.

When mojoPortal 2.x can run under Mono it will mark a substantial
milestone in the Mono 2.0 ASP.NET implementation because then we will
know that it really works as intended with non-trivial apps that
really use the major new features in 2.0 ASP.NET

Best Regards,

Joe Audette
http://www.mojoportal.com

On 1/26/07, Miguel de Icaza [EMAIL PROTECTED] wrote:
 Hey folks,

 Mainsoft and Novell are organizing an event to port applications
 from Windows to Linux using Mono or Grasshopper.

 And we are looking for good candidates to port: we need some
 interesting, .NET-based open source applications that would be
 interesting to port to Linux.

 If you have some suggestions of what could be a good challenge for
 an ASP.NET, Winforms or server app to port, please email me your
 suggestions.

 Miguel.
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

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


Re: [Mono-list] [Mono-dev] Need your help: Mainsoft/Novell Race to Linux

2007-01-27 Thread Joe Audette
Hi Miguel,

I'm not sure if this qualifies as its not really porting per se but I
would be grateful for any help toward getting mojoPortal 2.x running
on Mono.

As you may know the mojoPortal project was started to build a cross
platform web site framework and has been dedicated to working on Mono
from the beginning. Currently we still support the 1.x branch of
mojoPortal on Mono but over the past year have gone on to take
advantage of the 2.0 ASP.NET features figuring that it was better to
do that than to wait until these features were implemented in Mono,
this way when the features are implemented in Mono we are ready.

In mojoPortal we have implemented a MonoDevelop Solution in addition
to the VS Solution so that mojoPortal can be compiled easily on linux
(and eventually be able to debug). I know that there is work under way
to be able to use VS Solutions/Projects natively in MonoDevelop but it
actually at the moment is better for us to use separate MonoDevelop
Solution and Projects because WebParts is not yet implemented in Mono
and having the separate MonoDevelop Solution/Projects allows us to
leave out that feature and build mojoPortal without it whereas if we
included them it would not compile.

The 2.x mojoPortal MonoDevelop Solution, mojoportal.mds currently
compiles for me without errors using SUSE 10.1 and MonoDevelop 0.12

At the moment we are blocked by a Segmentation fault
http://bugzilla.ximian.com/show_bug.cgi?id=80532

I'm sure once we get past that one there will be others to work
through but I am dedicated to doing anything I can to help the process
along.

Personally I would find it disheartening to see the latest version of
DotNetNuke running on Mono before mojoPortal 2.x even if it is through
the magic of Grasshopper.

When mojoPortal 2.x can run under Mono it will mark a substantial
milestone in the Mono 2.0 ASP.NET implementation because then we will
know that it really works as intended with non-trivial apps that
really use the major new features in 2.0 ASP.NET

Best Regards,

Joe Audette
http://www.mojoportal.com

On 1/26/07, Miguel de Icaza [EMAIL PROTECTED] wrote:
 Hey folks,

 Mainsoft and Novell are organizing an event to port applications
 from Windows to Linux using Mono or Grasshopper.

 And we are looking for good candidates to port: we need some
 interesting, .NET-based open source applications that would be
 interesting to port to Linux.

 If you have some suggestions of what could be a good challenge for
 an ASP.NET, Winforms or server app to port, please email me your
 suggestions.

 Miguel.
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

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


Re: [Mono-dev] ASP.NET 2.0 with apache

2006-11-18 Thread Joe Audette

O



Joe, after carefully following your tutorial I able to do it. It wasn't
that hard. =)

What I have to say, though, is that we should have a kind of tutorial like
yours in the mono-project website. In mono-project.com you can find
information about installing mono, xsp and mod_mono, but I couldn't find a
quickstart page describing the whole process, such as your tutorial. Since I
couldn't find such a page in mono's website, I had to search for it, which
took me many hours, mainly because the information available on the web is
somewhat confusing and inconsistent. That's my personal opinion.




They actually link to my tutorial form here:
http://mono-project.com/FAQ:_ASP.NET
I  agree its not the easiest to find things on the mono project site, the
search works pretty good but I often wish there was a site map or menu that
listed all the pages in the site.

Cheers,

Joe
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] ASP.NET 2.0 with apache

2006-11-18 Thread Joe Audette

Hi Miguel,

I certainly give my permission. Have a look at it and make sure you think
its good.
http://www.joeaudette.com/settingupapachevirtualhostswithmod_mono.aspx
It probably needs a few adjustments, one thing I know is the path for
MonoServerPath in the article is outdated.
I'm happy to tweak it based on any suggestions. Its really not a
comprehensive mod_mono tutorial, its mainly how to setup multiple sites with
mod_mono using apache virtual hosts.
If you do decide to use it let me know if you need it in a different format
or what exactly I need to provide to make it easy to integrate with
Monkeyguide.

Best Regards,

Joe

On 11/18/06, Miguel de Icaza [EMAIL PROTECTED] wrote:


Hello,


 Joe, after carefully following your tutorial I able to do it.
 It wasn't that hard. =)

 What I have to say, though, is that we should have a kind of
 tutorial like yours in the mono-project website. In
 mono-project.com you can find information about installing
 mono, xsp and mod_mono, but I couldn't find a quickstart page
 describing the whole process, such as your tutorial. Since I
 couldn't find such a page in mono's website, I had to search
 for it, which took me many hours, mainly because the
 information available on the web is somewhat confusing and
 inconsistent. That's my personal opinion.


 They actually link to my tutorial form here:
 http://mono-project.com/FAQ:_ASP.NET
 I  agree its not the easiest to find things on the mono project site,
 the search works pretty good but I often wish there was a site map or
 menu that listed all the pages in the site.

Maybe this tutorial could be integrated into the Monkeyguide?



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


Re: [Mono-dev] ASP.NET 2.0 with apache

2006-11-17 Thread Joe Audette

Hi,

See the documentation for mod_mono here:
http://www.mono-project.com/Mod_mono

I also have a tutorial here that may be helpful
http://www.joeaudette.com/settingupapachevirtualhostswithmod_mono.aspx

Hope it helps,

Joe

On 11/17/06, Thiago Alves [EMAIL PROTECTED] wrote:


Hi folks,

Two weeks ago I installed mono 1.1 because I wanted to host ASP.NET 2.0 in
my linux machine. I was able to run an ASP.NET 2.0 using xsp2, but I had
problems trying to use mod_mono (it only worked for ASP.NET 1.0 projects).
After lots of Googling I decided to get the latest releases of apache, mono,
xsp and mod_mono.

Now I have no problem setting apache to run ASP.NET through mod_mono and
mod-mono-server.exe, but I still have only ASP.NET 1.0. After some search
I realized that there is a mod-mono-server2.exe which runs ASP.NET 2.0,
but I simply can't find it anywhere!

Is it possible to host 2.0 pages using apache instead of xsp2? What should
I do?

Thanks in advance!

Thiago Alves

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



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


Re: [Mono-dev] (no subject)

2006-11-15 Thread Joe Audette
I can't answer about the AJAX Extensions stuff though I don't see how it could come anytime soon.There are a lot of AJAX technologies you can use today. I use:MagicAJAX which is .NET specific I think might work
pure _javascript_ ones like these certainly can be used:SarissaPrototypeOpenRicoDojoHope it helps,JoeOn 11/15/06, 
Tony Gu [EMAIL PROTECTED] wrote:
Hello,
Does anybody know if Mono will implement ASP.NET
 AJAX soon?
Or is there any alternative AJAX already supported by Mono?
Thanks!
Tony
___Mono-devel-list mailing listMono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

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


Re: [Mono-list] Web app migrate from win32 to linux

2006-11-15 Thread Joe Audette
Hi Travis,I really meant (single quotes replaced with double quotes). ** THIS WORKS **var sControlName = lt;asp:Literal id=lit1 runat=server /gt;;
This doesn't work on my planet. On my planet you would never put something like that in _javascript_. A literal declared server side in markup like asp:Literal id=lit1 Text=foo / would render in the browser only as foo. Putting runat=server in the string of a _javascript_ variable is just cuckoo here on my planet. No offense to other worlds of course ;-), each to his own.
Cheers,JoeOn 11/15/06, Travis Staloch [EMAIL PROTECTED] wrote:
**Sorry all for the repost. I messed up the subject last time. --Travis**Joe,Thanks for the tip. I agree that using %= is a simpler way to get that id into that file. However, the example below (1) _does_ work on windows. The example I sent before wasn't exactly what I'd used. I mixed some single qoutes with double quotes. I know its ugly, but it works. 
When I said (notice single quotes at beginning and end):var sControlName = 'lt;asp:Literal id=lit1 runat=server /gt;';I really meant (single quotes replaced with double quotes). ** THIS WORKS **
var sControlName = lt;asp:Literal id=lit1 runat=server /gt;;--Travis(1) - Example works on windows, not on linux mono. .aspx.cs-protected Literal lit1;
...// in Page_Load()lit1.Text =
 ControlName;.aspx-...lt;script language=_javascript_ type=text/_javascript_gt;var sControlName = lt;asp:Literal id=lit1  runat=server /gt;;
lt;/scriptgt; ...That would never work on windows either. Its not a correct way to get a
client side
 reference to a server side control. Its not a Mono migrationissue at all.Best Regards,JoeOn 11/14/06, Travis Staloch   wrote: FYI, I was able to solve this problem myself.  I realized that it had to do
 with the fact that I'd included some unnecessary mono assemblies in my web app's bin directory (assemblies which were already in the GAC or otherwise on the machine which I migrated to).
 This caused some confilcts as I'm guessing that mono found these private assemblies in my app's bin directory before finding the shared assemblies elsewhere.  I think that what happened is some 1.18 or 
1.16 assemblies ( Mono.Data.Tds.dll in the error below) were used by the 1.15 mono installation. Another problem, and possible bug, I noticed with my web app (a difference from windows .NET) was that I had problems
 using an  to set a _javascript_ variable.  Here is the code which gives me a NullReferenceException when I try to use it.  THIS DOESN'T WORK:   .aspx   
   .cs      protected Literal  litProductDdlName;   ...   litProductDdlName.Text = ddlProducts.ClientID; THIS WORKS - using %= % escaping as a workaround:
   .aspx   After making this change, I have been able to successfully run my migrated 
ASP.NET web app on apache2/mod_mono. Regards,
 --Travis *Travis Staloch * wrote: Guys, I've recently moved a .NET 1.1 web application over  from a working windows/IIS machine to a linux/apache2/mod_mono machine.  I keep
 getting this message whenever I try to view any of the pages: System.MissingMethodException: Method not found: 'Mono.Data.Tds.Protocol.TdsConnectionParameters.Reset'. in 0x0 
 I was getting a System.TypeLoadException error from same assembly (Mono.Data.Tds) until I restarted apache2. Does anyone have any ideas what might be causing this?
 Is this related to the fact that the linux machine has mono 1.1.15 installed while the windows machine the app migrated from had a later version (1.1.18 I think)? Regards,
 --Travis
 -- Want to start your own business? Learn how on Yahoo! Small Business. -- Everyone is raving about the all-new Yahoo! Mail beta.
 ___ Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
-- next part --An HTML attachment was scrubbed...URL: 
http://lists.ximian.com/pipermail/mono-list/attachments/20061114/22bced4f/attachment.html --___Mono-list mailing
 listMono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-listEnd of Mono-list Digest, Vol 19, Issue  19*
 

Everyone is raving about 
the all-new Yahoo! Mail beta.
___Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

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


Re: [Mono-list] Web app migrate from win32 to linux

2006-11-15 Thread Joe Audette

I think the main thing is you did figure out the right way to do it and
thats what really matters :-)

script language=javascript type=text/javascript
 var sControlName = '%= ddlProducts.ClientID %';
 /script

To me that is the correct way in .NET to get a javascript reference to a
.NET server control. If the other way did work on Windows I would consider
that a surprising bug. My only other point is the above works with
DropdownList, TextBox etc but not with a Literal control as a Literal
control has no client id and therefore nothing to reference. Literal control
just renders to the browser as literal markup.

Cheers,

Joe

On 11/15/06, Travis Staloch [EMAIL PROTECTED] wrote:


Joe,


This doesn't work on my planet. On my planet you would never put something
like that in javascript. ... Putting runat=server in the string of a
javascript variable is just cuckoo here on my planet. No offense to other
worlds of course ;-), each to his own.


I agree that its not the best form.  Looking back at it now, it looks to
me like it shouldn't work.

Should I report a bug on something like this?

Regards,

--Travis

*Joe Audette [EMAIL PROTECTED]* wrote:

Hi Travis,


I really meant (single quotes replaced with double quotes).  ** THIS WORKS
**
var sControlName = lt;asp:Literal id=lit1 runat=server /gt;;


This doesn't work on my planet. On my planet you would never put something
like that in javascript. A literal declared server side in markup like
asp:Literalid=lit1 Text=foo / would render in the browser only as
foo. Putting runat=server in the string of a javascript variable is just
cuckoo here on my planet. No offense to other worlds of course ;-), each to
his own.

Cheers,

Joe

On 11/15/06, Travis Staloch [EMAIL PROTECTED] wrote:

 **
 Sorry all for the repost.  I messed up the subject last time.  --Travis
 **

 Joe,

 Thanks for the tip.  I agree that using %= is a simpler way to get that
 id into that file.  However, the example below (1) _does_ work on windows.
 The example I sent before wasn't exactly what I'd used.  I mixed some single
 qoutes with double quotes.  I know its ugly, but it works.

 When I said (notice single quotes at beginning and end):
 var sControlName = 'lt;asp:Literal id=lit1 runat=server /gt;';

 I really meant (single quotes replaced with double quotes).  ** THIS
 WORKS **
 var sControlName = lt;asp:Literal id=lit1 runat=server /gt;;

 --Travis

 (1) - Example works on windows, not on linux mono.
 .aspx.cs
 -
 protected Literal  lit1;
 ...
 // in Page_Load()
 lit1.Text = ControlName;

 .aspx
 -
 ...
 lt;script language=javascript type=text/javascriptgt;
 var sControlName = lt;asp:Literal id=lit1 runat=server /gt;;
 lt;/scriptgt;
 ...

 That would never work on windows either. Its not a correct way to get a
 client side reference to a server side control. Its not a Mono migration
 issue at all.

 Best Regards,

 Joe

 On 11/14/06, Travis Staloch wrote:
 
  FYI,
 
  I was able to solve this problem myself. I realized that it had to do
  with the fact that I'd included some unnecessary mono assemblies in my
 web
  app's bin directory (assemblies which were already in the GAC or
 otherwise
  on the machine which I migrated to).
 
  This caused some confilcts as I'm guessing that mono found these
 private
  assemblies in my app's bin directory before finding the shared
 assemblies
  elsewhere. I think that what happened is some 1.18 or 1.16 assemblies
 (
  Mono.Data.Tds.dll in the error below) were used by the 1.15 mono
  installation.
 
  Another problem, and possible bug, I noticed with my web app (a
 difference
  from windows .NET) was that I had problems using an to
  set a javascript variable. Here is the code which gives me a
  NullReferenceException when I try to use it.
 
  THIS DOESN'T WORK:
  .aspx
  
 
  .cs
  
  protected Literal litProductDdlName;
  ...
  litProductDdlName.Text = ddlProducts.ClientID;
 
 
  THIS WORKS - using %= % escaping as a workaround:
  .aspx
  
 
 
  After making this change, I have been able to successfully run my
 migrated
  ASP.NET web app on apache2/mod_mono.
 
  Regards,
 
  --Travis
 
 
  *Travis Staloch * wrote:
 
  Guys,
 
  I've recently moved a .NET 1.1 web application over from a working
  windows/IIS machine to a linux/apache2/mod_mono machine. I keep
 
  getting this message whenever I try to view any of the pages:
 
  System.MissingMethodException: Method not found:
  'Mono.Data.Tds.Protocol.TdsConnectionParameters.Reset'.
  in 0x0
 
  I was getting a System.TypeLoadException error from same
  assembly (Mono.Data.Tds) until I restarted apache2.
 
  Does anyone have any ideas what might be causing this?
  Is this related to the fact that the linux machine has mono
  1.1.15 installed while the windows machine the app migrated
  from had a later version (1.1.18 I think)?
 
  Regards,
 
  --Travis
 
  --
  Want to start your own business? Learn how

Re: [Mono-list] Web app migrate from win32 to linux

2006-11-15 Thread Joe Audette

Oh and to take the example further and get a client side dom reference to
the select element rendered by server side asp:DropDownList, it would be
more like this:

script language=javascript type=text/javascript
 var sControlID = '%= ddlProducts.ClientID %';
 var dd = document.getElementById(sControlID);
 /script

or just

script language=javascript type=text/javascript
 var dd = document.getElementById('%= ddlProducts.ClientID %');
 /script

Cheers,

Joe

On 11/15/06, Joe Audette [EMAIL PROTECTED] wrote:


I think the main thing is you did figure out the right way to do it and
thats what really matters :-)

script language=javascript type=text/javascript
  var sControlName = '%= ddlProducts.ClientID %';
  /script

To me that is the correct way in .NET to get a javascript reference to a
.NET server control. If the other way did work on Windows I would consider
that a surprising bug. My only other point is the above works with
DropdownList, TextBox etc but not with a Literal control as a Literal
control has no client id and therefore nothing to reference. Literal control
just renders to the browser as literal markup.

Cheers,

Joe

On 11/15/06, Travis Staloch [EMAIL PROTECTED] wrote:

 Joe,

 
 This doesn't work on my planet. On my planet you would never put
 something like that in javascript. ... Putting runat=server in the string of
 a javascript variable is just cuckoo here on my planet. No offense to other
 worlds of course ;-), each to his own.
 

 I agree that its not the best form.  Looking back at it now, it looks to
 me like it shouldn't work.

 Should I report a bug on something like this?

 Regards,

 --Travis

 *Joe Audette [EMAIL PROTECTED]* wrote:

 Hi Travis,

 
 I really meant (single quotes replaced with double quotes).  ** THIS
 WORKS **
 var sControlName = lt;asp:Literal id=lit1 runat=server /gt;;
 

 This doesn't work on my planet. On my planet you would never put
 something like that in javascript. A literal declared server side in markup
 like asp:Literalid=lit1 Text=foo / would render in the browser only
 as foo. Putting runat=server in the string of a javascript variable is just
 cuckoo here on my planet. No offense to other worlds of course ;-), each to
 his own.

 Cheers,

 Joe

 On 11/15/06, Travis Staloch  [EMAIL PROTECTED] wrote:
 
  **
  Sorry all for the repost.  I messed up the subject last time.
  --Travis
  **
 
  Joe,
 
  Thanks for the tip.  I agree that using %= is a simpler way to get
  that id into that file.  However, the example below (1) _does_ work on
  windows.  The example I sent before wasn't exactly what I'd used.  I mixed
  some single qoutes with double quotes.  I know its ugly, but it works.
 
  When I said (notice single quotes at beginning and end):
  var sControlName = 'lt;asp:Literal id=lit1 runat=server /gt;';
 
  I really meant (single quotes replaced with double quotes).  ** THIS
  WORKS **
  var sControlName = lt;asp:Literal id=lit1 runat=server /gt;;
 
  --Travis
 
  (1) - Example works on windows, not on linux mono.
  .aspx.cs
  -
  protected Literal  lit1;
  ...
  // in Page_Load()
  lit1.Text = ControlName;
 
  .aspx
  -
  ...
  lt;script language=javascript type=text/javascriptgt;
  var sControlName = lt;asp:Literal id=lit1 runat=server /gt;;
  lt;/scriptgt;
  ...
 
  That would never work on windows either. Its not a correct way to get
  a
  client side reference to a server side control. Its not a Mono
  migration
  issue at all.
 
  Best Regards,
 
  Joe
 
  On 11/14/06, Travis Staloch wrote:
  
   FYI,
  
   I was able to solve this problem myself. I realized that it had to
  do
   with the fact that I'd included some unnecessary mono assemblies in
  my web
   app's bin directory (assemblies which were already in the GAC or
  otherwise
   on the machine which I migrated to).
  
   This caused some confilcts as I'm guessing that mono found these
  private
   assemblies in my app's bin directory before finding the shared
  assemblies
   elsewhere. I think that what happened is some 1.18 or 1.16assemblies (
   Mono.Data.Tds.dll in the error below) were used by the 1.15 mono
   installation.
  
   Another problem, and possible bug, I noticed with my web app (a
  difference
   from windows .NET) was that I had problems using an to
   set a javascript variable. Here is the code which gives me a
   NullReferenceException when I try to use it.
  
   THIS DOESN'T WORK:
   .aspx
   
  
   .cs
   
   protected Literal litProductDdlName;
   ...
   litProductDdlName.Text = ddlProducts.ClientID;
  
  
   THIS WORKS - using %= % escaping as a workaround:
   .aspx
   
  
  
   After making this change, I have been able to successfully run my
  migrated
   ASP.NET web app on apache2/mod_mono.
  
   Regards,
  
   --Travis
  
  
   *Travis Staloch * wrote:
  
   Guys,
  
   I've recently moved a .NET 1.1 web application over from a working
   windows/IIS machine to a linux/apache2/mod_mono

Re: [Mono-list] Web app migrate from win32 to linux

2006-11-14 Thread Joe Audette
Hi Travis,script language=_javascript_ type=text/_javascript_ var sControlName = 'asp:Literal id=litProductDdlName runat=server /'; /script
That would never work on windows either. Its not a correct way to get a client side reference to a server side control. Its not a Mono migration issue at all.Best Regards,Joe
On 11/14/06, Travis Staloch [EMAIL PROTECTED] wrote:
FYI,I was able to solve this problem myself. I realized that it had to do with the fact that I'd included some unnecessary mono assemblies in my web app's bin directory (assemblies which were already in the GAC or otherwise on the machine which I migrated to). 
This caused some confilcts as I'm guessing that mono found these private assemblies in my app's bin directory before finding the shared assemblies elsewhere. I think that what happened is some 1.18 or 1.16 assemblies (
Mono.Data.Tds.dll in the error below) were used by the 1.15 mono installation. Another problem, and possible bug, I noticed with my web app (a difference from windows .NET) was that I had problems using an asp:Literal ... / to set a _javascript_ variable. Here is the code which gives me a NullReferenceException when I try to use it. 
THIS DOESN'T WORK: .aspx   script language=_javascript_ type=text/_javascript_ var sControlName = 'asp:Literal id=litProductDdlName runat=server /';
 /script .cs  protected Literal litProductDdlName; ...  litProductDdlName.Text = ddlProducts.ClientID; THIS WORKS - using %= % escaping as a workaround:
 .aspx    script language=_javascript_ type=text/_javascript_ var sControlName = '%= ddlProducts.ClientID %'; /scriptAfter making this change, I have been able to successfully run my migrated 
ASP.NET web app on apache2/mod_mono.Regards,--TravisTravis Staloch 
[EMAIL PROTECTED] wrote: Guys,I've recently moved a .NET 1.1 web application over from a working 
windows/IIS machine to a linux/apache2/mod_mono machine.  I keep getting this message whenever I try to view any of the pages:System.MissingMethodException: Method not found: 'Mono.Data.Tds.Protocol.TdsConnectionParameters.Reset
'.in 0x0 unknown methodI was getting a System.TypeLoadException error from same assembly (Mono.Data.Tds) until I restarted apache2.  Does anyone have any ideas what might be causing this?  
Is this related to the fact that the linux machine has mono 1.1.15 installed while the windows machine the app migrated from had a later version (1.1.18 I think)? Regards,--Travis
   Want to start your own business? Learn how on 
Yahoo! Small Business. 

Everyone is raving about the all-new Yahoo! Mail beta.

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

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


[Mono-dev] attn:Gonzalo or Chris Request change to HttpContext for 2.0

2006-11-12 Thread Joe Audette
Hey Guys,I'm taking another stab at getting mojoportal running in mono 2.0. I'm getting a compile time error for a missing overload for HttpContext.RewritePathCan you add this, then I can at least catch System.NotImplemented
?Note the first overload is already there in svn just the second one below with 4 params is needed to get past this compile error#if NET_2_0  [MonoTODO]  public void RewritePath (string path, bool rebaseClientPath)
  {   throw new NotImplementedException ();  }[MonoTODO]  public void RewritePath (string filePath, string pathInfo, string queryString, bool rebaseClientPath)
  {   throw new NotImplementedException ();  }#endifThanks,Joe
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] attn:Gonzalo or Chris Request change to HttpContext for 2.0

2006-11-12 Thread Joe Audette
Hi Marek,Thanks a lot, that one is fixed. Now my only compilation error is:The type or namespace name `AggregateCacheDependency' could not be found. Are you missing a using directive or an assembly reference?(CS0246)
I really appreciate the help!JoeOn 11/12/06, Marek Habersack [EMAIL PROTECTED] wrote:
On Sun, 12 Nov 2006 13:20:45 -0600, Joe Audette
[EMAIL PROTECTED] scribbled: Hey Guys,Hey Joe, I'm taking another stab at getting mojoportal running in mono 2.0. I'm getting a compile time error for a missing overload for
 HttpContext.RewritePathThe implementation has just been committed to the SVN, please test :)best,marek
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-list] Mono 1.2 Release?

2006-11-09 Thread Joe Audette
Did the PR guys get ahead of themselves?http://biz.yahoo.com/prnews/061109/sfth025.html?.v=77It doesn't look like Mono 1.2 has been released yet.
Joe
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] SPAM-LOW: ASP.NET Mono/Apache CentOS Tutorial

2006-10-17 Thread Joe Audette
I have a little tutorial here http://www.joeaudette.com/settingupapachevirtualhostswithmod_mono.aspxits based on Suse and I think some of the apache config settings are out of date.
Specifically, quoting a previous message on this list: quoteStarting with 1.1.17, mod_mono expects that the config directive'MonoServerPath' is pointing to a native executable.Check your Apache config and remove or change MonoServerPath
to point to /usr/bin/mod-mono-server./endquoteStill it may help some. I assume you have also seen the documentation here:http://www.mono-project.com/Mod_mono
Hope it helps,JoeOn 10/16/06, Lee [EMAIL PROTECTED] wrote:
 Subject: SPAM-LOW: [Mono-list] ASP.NET Mono/Apache CentOS Tutorial Hello, I'm trying to setup mod_mono on CentOS and would appreciate any information that may lead to a good tutorial for
 beginners. Thanks in advance.I would like to see something like this as well.I'm a windows programmerfor almost 10 years now, but am new to linux/mono.A step by step would benice to see.
Lee___Mono-list maillist-Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ASP.NET and master pages

2006-09-13 Thread Joe Audette
I think that is normal behavior and would be the same on windows. The MasterPage is not responsible for ensuring the correct path for images and css files linked within it. I think you need to use script blocks and Page.ResolveUrl, something like this which is from one of my master pages:Hope it helps,Joejoe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: PChot [EMAIL PROTECTED]To: mono-list@lists.ximian.comCc: [EMAIL PROTECTED]Sent: Wednesday, September 13, 2006 12:06:21 PMSubject: [Mono-list] ASP.NET and master pagesHi all,I have problem with master pages in xsp2. I have master page in one folder and is used in diferent subfolders. Master page include css and some images. There is problems with css and images because master page is executed in folder with aspx page not where is .master 
file.Here is example folder structure:root/Default.aspx-master/page.master--work/app1/test1.aspxWas clear enought?How can I force that execute there where it should be? Shell i report this as a bug???
Have a nice day,PChott-- 	Macs are for those who don't want to know why their computer works.Linux is for those who want to know why their computer works.DOS is for those who want to know why their computer doesn't work.
Windows is for those who don't want to know why their computer doesn't work.___Mono-list maillist-Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ASP.NET and master pages

2006-09-13 Thread Joe Audette
oops, my example seemed to get removed from the message because I was in html 
mode

img alt= id=img2 src='%= 
Page.ResolveUrl(~/Data/SiteImages/poweredbymojoportal3.gif) %'  //a


  
joe_audette [at] yahoo dotcom  
http://www.joeaudette.com  
http://www.mojoportal.com 
 
 
- Original Message  
From: PChot  
To: mono-list@lists.ximian.com 
Cc: [EMAIL PROTECTED] 
Sent: Wednesday, September 13, 2006 12:06:21 PM 
Subject: [Mono-list] ASP.NET and master pages 
 
Hi all, 
 
I have problem with master pages in xsp2. I have master page in one folder and 
is used in diferent subfolders. Master page include css and some images. There 
is problems with css and images because master page is executed in folder with 
aspx page not where is .master  file.Here is example folder structure: 
 
root/Default.aspx 
-master/page.master 
--work/app1/test1.aspx 
 
 
Was clear enought? 
 
How can I force that execute there where it should be? Shell i report this as a 
bug???  
 
Have a nice day, 
 
PChott 
 
--  
Macs are for those who don't want to know why their computer works. 
Linux is for those who want to know why their computer works. 
DOS is for those who want to know why their computer doesn't work.  
Windows is for those who don't want to know why their computer doesn't 
work.___ 
Mono-list maillist  -  Mono-list@lists.ximian.com 
http://lists.ximian.com/mailman/listinfo/mono-list 
 
 
 
 


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


Re: [Mono-list] ASP.NET and master pages

2006-09-13 Thread Joe Audette
 Did you try this:

link rel=stylesheet href='% =Page.ResolveUrl(~/style.css)%' 
type=text/css /

Joe
  
joe_audette [at] yahoo dotcom  
http://www.joeaudette.com  
http://www.mojoportal.com 
 
 
- Original Message  
From: PChot  
To: Joe Audette  
Cc: mono-list@lists.ximian.com; [EMAIL PROTECTED] 
Sent: Wednesday, September 13, 2006 12:56:42 PM 
Subject: Re: [Mono-list] ASP.NET and master pages 
 
re 
 
Things work in windows. Normal  in header is make me problems.  
 
PChott 
 
PS: Joe are u on msn, icq, or something like that?  
 
 
--  
Macs are for those who don't want to know why their computer works. 
Linux is for those who want to know why their computer works. 
DOS is for those who want to know why their computer doesn't work.  
Windows is for those who don't want to know why their computer doesn't 
work.___ 
Mono-list maillist  -  Mono-list@lists.ximian.com 
http://lists.ximian.com/mailman/listinfo/mono-list 
 
 
 
 


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


Re: [Mono-list] ASP.NET and master pages

2006-09-13 Thread Joe Audette
the same issue does happen on windows, not sure why it isn't happening for you 
on windows, this page lists a number of ways to solve it including 
Page.ResolveUrl which I suggested.

http://www.aspnetresources.com/blog/linking_stylesheets_from_master_pages.aspx 
  
So I really don't think this is a bug at all.

I would use this as I mentioned before:

link rel=stylesheet href='% =Page.ResolveUrl(~/style.css)%' 
type=text/css /

Hope it helps,

Joe

joe_audette [at] yahoo dotcom  
http://www.joeaudette.com  
http://www.mojoportal.com 
 
 
- Original Message  
From: PChot  
To: Joe Audette  
Cc: mono-list@lists.ximian.com; [EMAIL PROTECTED] 
Sent: Wednesday, September 13, 2006 12:56:42 PM 
Subject: Re: [Mono-list] ASP.NET and master pages 
 
re 
 
Things work in windows. Normal  in header is make me problems.  
 
PChott 
 
PS: Joe are u on msn, icq, or something like that?  
 
 
--  
Macs are for those who don't want to know why their computer works. 
Linux is for those who want to know why their computer works. 
DOS is for those who want to know why their computer doesn't work.  
Windows is for those who don't want to know why their computer doesn't 
work.___ 
Mono-list maillist  -  Mono-list@lists.ximian.com 
http://lists.ximian.com/mailman/listinfo/mono-list 
 
 
 
 


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


Re: [Mono-list] Drawing graphics

2006-08-11 Thread Joe Audette
yes, there's ZedGraph

http://zedgraph.org/wiki/index.php?title=Main_Page

Joe
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com

- Original Message 
From: Arx Henrique [EMAIL PROTECTED]
To: mono-list@lists.ximian.com
Sent: Friday, August 11, 2006 7:04:19 PM
Subject: [Mono-list] Drawing graphics

Hello all,

Is there some application to drawing graphics (bar and pie chart) in
asp.net running on mono ?
Would be nice if be free too :D

Cheers

Arx Cruz

-- 
A fé remove montanhas, mas eu prefiro a dinamite
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list




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


Re: [Mono-list] gtk installer

2006-07-14 Thread Joe Audette
ftp seems to be down at Novell Forge, every project I've checked has an error 
that says Failed to retrieve a file listing.

Joe
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com

- Original Message 
From: Bryan Buchanan [EMAIL PROTECTED]
To: mono-list@lists.ximian.com
Sent: Friday, July 14, 2006 8:18:18 AM
Subject: [Mono-list] gtk installer

Hi,

There appear to be no files here

http://forge.novell.com/modules/xfmod/project/?gtks-inst4win

Have they moved or is this no longer available.

Thanks,

Bryan

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




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


Re: [Mono-list] Suse 10.1 and Monodevelop

2006-07-12 Thread Joe Audette
It doesn't even appear.  What package should I have installed (I
installed everything, I think).


If you go into System  YaST  Software  Software Management
and search for mono you should find it. As I recall the only thing missing was 
mod_mono which you can get by adding an additional installation source

On mine I added an http source
Server Name: suse.mirrors.tds.net
Server Directory: pub/opensuse/distribution/SL-10.1/inst-source

if you are in the US that should be fine or you may want to look at the list on 
opensuse wiki for a closer one
this will give you additional packages like postgresql and lots of other stuff 
that isn't on the cds

I would install pretty much everything you see in searching for mono then to 
upgrade all of it to the newest version go to the mono download page and 
download all the rpms
unzip the rpms into directories then from the terminal cd into those 
directories one at a time and do
sudo rpm -Uvh *.rpm

in the devtools folder I got an error on gecko so had to install the rest one 
at a time in that directory like
sudo rpm -Uvh filename.rpm for each file

be sure and install boo

I just did all this last weekend and the latest 0.11 MonoDevelop is working 
nice for me.

Hope it helps,

Joe






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


Re: [Mono-dev] newbie installing 1.1.16 onto SUSE 10.1

2006-07-11 Thread Joe Audette
I installed the latest mono release on Suse 10.1 last weekend using the rpms from the download page and it all works well.You might try uninstalling the one you have and go that route. I think the package installer while easier is not the best way to go.First install the verison of mono that ships with Suse 10. then unzip the mono files and development files.From the terminal cd into the directory containing the rpms and do sudo rpm -Uvh *.rpmthis will work in all of the except the devtools one. In that you'll get an error about gecko so install the other rpms 1 at a time withsudo rpm -Uvh filename.rpmbe sure and install boo as MonoDevelop seems to need this or you get a unix socket error when it tries to launch.Hope it helps,Joejoe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: mike horsley [EMAIL PROTECTED]To: mono-devel-list@lists.ximian.comSent: Tuesday, July 11, 2006 1:16:29 PMSubject: [Mono-dev] newbie installing 1.1.16 onto SUSE 10.1


 
 




Hi 

  

We have just hired a summer placement to start the process
of transitioning our application to Mono. We’re using SUSE 10.1. 

  

We have successfully compiled a basic “hello
world” app and run it but when we add a reference to System.Data into the
application, we get the compilation error that the type or namespace
“Data” (or if we try “Xml”) does not exist in the name
“System”. 

  

We’ve looked at the environment variables (PATH, MONO_PATH)
and suspect this to be the problem because none are set. 

  

We installed using the Linux Package installer for x86
(latest – 1.1.16) from the mono-project downloads site. 

  

So, several questions: 

  

What is the full set of environment variables we should set
and to what values? 

Where is this documented (so we can start looking in the
right place)? 

  

If that is not the issue, any ideas on what is? 

  

Thanks 

Mike 

  

Mike Horsley 

VQ Communications Ltd 

  



 

___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] mojoPortal 2.0 mono wish list

2006-07-10 Thread Joe Audette
Hi All,I've been trying to get mojoPortal 2.0 .NET version to compile and run under mono.The 1.1 framework version has worked for a long time and can be compiled in MonoDevelop or with an included make file so we are one of probably few projects doing cross platform development with some developers working in Visual Studio and some working on linux with MonoDevelop. The web project is implemented as a class library.In the 2.0 framework version we have implemented pretty much all the features that we forsee using which involve new .NET features so now I am trying to get it working on mono or at least identify the parts that dont work in hopes that others may help get them working. It is very good timing that the new version of MonoDevelop can compile against the 2.0 mono runtime so I've been
 working with it to try and compile mojoPortal 2.x and of course we're not there yet so I thought I would present my wish list of things that are missing in hopes that some may help us along. I may even try and implement some of it myself if I can figure it out.mojoPortal 2.0 Mono WishlistSystem.Web.UI.WebControls.WebParts.WebPartManager System.Web.UI.WebControls.WebParts.PersonalizationProviderSystem.Web.UI.WebControls.WebParts.CatalogPartSystem.Web.UI.WebControls.ChangePasswordSystem.Web.UI.WebControls.PasswordRecoveryfor localization in 2.0 .NET WebControls we can callGetGlobalResourceObject("Resource", "MyResourceKey").ToString() to populate localized stringsin Mono it doesn't existResource file are stored under App_GlobalResources so in the above example "Resource" is the class name corresponding to App_GlobalResources/Resource.resx and localized version can be like Resource-es.resx or
 Resource-pt-BR.resxThanks for any help!Joejoe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] mojoPortal 2.0 mono wish list

2006-07-10 Thread Joe Audette
I forgot to mention that anyone who wants to play with mojoPortal in MonoDevelop can get the 1.1 framework version from svn anonymous checkout at:
https://forgesvn1.novell.com/svn/mojoportal/trunkit works fineor if you want to help with the 2.1.1 version working on mono you can get it here:
https://forgesvn1.novell.com/svn/mojoportal/branches/2.1.1most of the projects in the 2.1.1 solution compile (in MonoDevelop 0.11) and I have backed out everything I can like WebParts but can't build the web project because of this one:GetGlobalResourceObject("Resource", "MyResourceKey").ToString() so its probably the highest priorityAgain many thanks to anyone who may be willing to help!Joejoe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message ----From: Joe Audette
 [EMAIL PROTECTED]To: Mono-devel-list@lists.ximian.comSent: Monday, July 10, 2006 8:11:30 PMSubject: [Mono-dev] mojoPortal 2.0 mono wish listHi All,I've been trying to get mojoPortal 2.0 .NET version to compile and run under mono.The 1.1 framework version has worked for a long time and can be compiled in MonoDevelop or with an included make file so we are one of probably few projects doing cross platform development with some developers working in Visual Studio and some working on linux with MonoDevelop. The web project is implemented as a class library.In the 2.0 framework version we have implemented pretty much all the features that we forsee using which involve new .NET features so now I am trying to get it working on mono or at least identify the parts that dont work in hopes that
 others may help get them working. It is very good timing that the new version of MonoDevelop can compile against the 2.0 mono runtime so I've been
 working with it to try and compile mojoPortal 2.x and of course we're not there yet so I thought I would present my wish list of things that are missing in hopes that some may help us along. I may even try and implement some of it myself if I can figure it out.mojoPortal 2.0 Mono WishlistSystem.Web.UI.WebControls.WebParts.WebPartManager System.Web.UI.WebControls.WebParts.PersonalizationProviderSystem.Web.UI.WebControls.WebParts.CatalogPartSystem.Web.UI.WebControls.ChangePasswordSystem.Web.UI.WebControls.PasswordRecoveryfor localization in 2.0 .NET WebControls we can callGetGlobalResourceObject("Resource", "MyResourceKey").ToString() to populate localized stringsin Mono it doesn't existResource file are stored under App_GlobalResources so in the above example "Resource" is the class name corresponding to App_GlobalResources/Resource.resx and localized version can be like Resource-es.resx or
 Resource-pt-BR.resxThanks for any help!Joejoe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Novell sites are down

2006-07-08 Thread Joe Audette
I can't get to www.novell.com or the Novell forge wiki this morning. The mono 
site is accessible though.
Anyone else having this problem? Or is it my isp?

Joe
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com



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


Re: [Mono-dev] Novell sites are down

2006-07-08 Thread Joe Audette
Seems to be back online now.
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com

- Original Message 
From: Martin Hinks [EMAIL PROTECTED]
To: Joe Audette [EMAIL PROTECTED]
Cc: Mono-devel-list@lists.ximian.com
Sent: Saturday, July 8, 2006 8:52:17 AM
Subject: Re: [Mono-dev] Novell sites are down

Looks down here too...

On 7/8/06, Joe Audette [EMAIL PROTECTED] wrote:
 I can't get to www.novell.com or the Novell forge wiki this morning. The mono 
 site is accessible though.
 Anyone else having this problem? Or is it my isp?

 Joe


 joe_audette [at] yahoo dotcom
 http://www.joeaudette.com
 http://www.mojoportal.com



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



-- 
Martin Hinks
http://www.m-s-d.net




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


Re: [Mono-dev] problem compiling mod_mono from svn on Suse 10.1

2006-07-08 Thread Joe Audette
Anyone around that can help with this? Gonzalo?

Is the version of apache that ships with Suse 10.1 incompatible? Do I need an 
older or newer version?
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com

- Original Message 
From: Joe Audette [EMAIL PROTECTED]
To: Mono-devel-list@lists.ximian.com
Sent: Friday, July 7, 2006 7:44:32 PM
Subject: [Mono-dev] problem compiling mod_mono from svn on Suse 10.1

I'm having a problem compiling mod_mono from svn on Suse 10.1.

using autogen.sh --prefix=/usr I get this which looks ok to me:
Configuration summary for mod_mono

   * Installation prefix = /usr
   * Apache version = 2.2
   * Apache modules directory = /usr/lib/apache2
   * apxs = /usr/sbin/apxs2
   * apr-config = /usr/bin/apr-1-config
   * Verbose logging (debug) = no
   * mono prefix = /usr/lib/pkgconfig/../..
   * Default MonoApplicationsConfigDir = /etc/apache2/mod-mono-applications

---
Now type 'make' to compile mod_mono.

but when I try make I get a jillion errors as shown:
/usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such file or 
directory
/usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h: No such 
file or directory
In file included from mod_mono.h:50,
 from mod_mono.c:32:
/usr/include/apache2/httpd.h:54:25: error: apr_buckets.h: No such file or 
directory
/usr/include/apache2/httpd.h:723:21: error: apr_uri.h: No such file or directory
In file included from mod_mono.h:50,
 from mod_mono.c:32:
/usr/include/apache2/httpd.h:925: error: expected specifier-qualifier-list 
before 'apr_uri_t'
/usr/include/apache2/httpd.h:1085: error: expected specifier-qualifier-list 
before 'APR_RING_ENTRY'
/usr/include/apache2/httpd.h:1199: error: expected specifier-qualifier-list 
before 'apr_bucket_brigade'
/usr/include/apache2/httpd.h:1207: error: expected specifier-qualifier-list 
before 'apr_bucket_brigade'
In file included from mod_mono.h:51,
 from mod_mono.c:32:
/usr/include/apache2/http_core.h:31:26: error: apr_optional.h: No such file or 
directory
In file included from /usr/include/apache2/http_core.h:32,
 from mod_mono.h:51,
 from mod_mono.c:32:
/usr/include/apache2/util_filter.h:137: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:139: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:141: error: expected declaration specifiers 
or '...' before 'apr_read_type_e'
/usr/include/apache2/util_filter.h:296: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:298: error: expected declaration specifiers 
or '...' before 'apr_read_type_e'
/usr/include/apache2/util_filter.h:310: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:492: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:493: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:503: error: expected ')' before '*' token
/usr/include/apache2/util_filter.h:511: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:548: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:559: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:562: error: format string argument not a 
string type
In file included from mod_mono.h:51,
 from mod_mono.c:32:
/usr/include/apache2/http_core.h:662: error: expected ')' before 'int'
/usr/include/apache2/http_core.h:680: error: expected declaration specifiers or 
'...' before 'ap_ident_lookup'
/usr/include/apache2/http_core.h:681: error: expected declaration specifiers or 
'...' before '(' token
/usr/include/apache2/http_core.h:681: warning: data definition has no type or 
storage class
/usr/include/apache2/http_core.h:681: warning: type defaults to 'int' in 
declaration of 'APR_DECLARE_OPTIONAL_FN'
In file included from mod_mono.h:52,
 from mod_mono.c:32:
/usr/include/apache2/http_log.h:335: error: expected ')' before 'void'
In file included from /usr/include/apache2/http_config.h:30,
 from mod_mono.h:53,
 from mod_mono.c:32:
/usr/include/apache2/util_cfgtree.h:72: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
/usr/include/apache2/util_cfgtree.h:83: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
In file included from mod_mono.h:53,
 from mod_mono.c:32:
/usr/include/apache2/http_config.h:288: error: expected 
specifier-qualifier-list before 'ap_directive_t'
/usr/include/apache2/http_config.h:672: error: expected

[Mono-dev] problem compiling mod_mono from svn on Suse 10.1

2006-07-07 Thread Joe Audette
I'm having a problem compiling mod_mono from svn on Suse 10.1.

using autogen.sh --prefix=/usr I get this which looks ok to me:
Configuration summary for mod_mono

   * Installation prefix = /usr
   * Apache version = 2.2
   * Apache modules directory = /usr/lib/apache2
   * apxs = /usr/sbin/apxs2
   * apr-config = /usr/bin/apr-1-config
   * Verbose logging (debug) = no
   * mono prefix = /usr/lib/pkgconfig/../..
   * Default MonoApplicationsConfigDir = /etc/apache2/mod-mono-applications

---
Now type 'make' to compile mod_mono.

but when I try make I get a jillion errors as shown:
/usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such file or 
directory
/usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h: No such 
file or directory
In file included from mod_mono.h:50,
 from mod_mono.c:32:
/usr/include/apache2/httpd.h:54:25: error: apr_buckets.h: No such file or 
directory
/usr/include/apache2/httpd.h:723:21: error: apr_uri.h: No such file or directory
In file included from mod_mono.h:50,
 from mod_mono.c:32:
/usr/include/apache2/httpd.h:925: error: expected specifier-qualifier-list 
before 'apr_uri_t'
/usr/include/apache2/httpd.h:1085: error: expected specifier-qualifier-list 
before 'APR_RING_ENTRY'
/usr/include/apache2/httpd.h:1199: error: expected specifier-qualifier-list 
before 'apr_bucket_brigade'
/usr/include/apache2/httpd.h:1207: error: expected specifier-qualifier-list 
before 'apr_bucket_brigade'
In file included from mod_mono.h:51,
 from mod_mono.c:32:
/usr/include/apache2/http_core.h:31:26: error: apr_optional.h: No such file or 
directory
In file included from /usr/include/apache2/http_core.h:32,
 from mod_mono.h:51,
 from mod_mono.c:32:
/usr/include/apache2/util_filter.h:137: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:139: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:141: error: expected declaration specifiers 
or '...' before 'apr_read_type_e'
/usr/include/apache2/util_filter.h:296: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:298: error: expected declaration specifiers 
or '...' before 'apr_read_type_e'
/usr/include/apache2/util_filter.h:310: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:492: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:493: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:503: error: expected ')' before '*' token
/usr/include/apache2/util_filter.h:511: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:548: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:559: error: expected declaration specifiers 
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:562: error: format string argument not a 
string type
In file included from mod_mono.h:51,
 from mod_mono.c:32:
/usr/include/apache2/http_core.h:662: error: expected ')' before 'int'
/usr/include/apache2/http_core.h:680: error: expected declaration specifiers or 
'...' before 'ap_ident_lookup'
/usr/include/apache2/http_core.h:681: error: expected declaration specifiers or 
'...' before '(' token
/usr/include/apache2/http_core.h:681: warning: data definition has no type or 
storage class
/usr/include/apache2/http_core.h:681: warning: type defaults to 'int' in 
declaration of 'APR_DECLARE_OPTIONAL_FN'
In file included from mod_mono.h:52,
 from mod_mono.c:32:
/usr/include/apache2/http_log.h:335: error: expected ')' before 'void'
In file included from /usr/include/apache2/http_config.h:30,
 from mod_mono.h:53,
 from mod_mono.c:32:
/usr/include/apache2/util_cfgtree.h:72: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
/usr/include/apache2/util_cfgtree.h:83: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
In file included from mod_mono.h:53,
 from mod_mono.c:32:
/usr/include/apache2/http_config.h:288: error: expected 
specifier-qualifier-list before 'ap_directive_t'
/usr/include/apache2/http_config.h:672: error: expected declaration specifiers 
or '...' before 'ap_directive_t'
/usr/include/apache2/http_config.h:673: error: expected declaration specifiers 
or '...' before 'ap_directive_t'
/usr/include/apache2/http_config.h:687: error: expected declaration specifiers 
or '...' before 'ap_directive_t'
/usr/include/apache2/http_config.h:696: error: expected ')' before '*' token
/usr/include/apache2/http_config.h:975: error: expected ')' before 'int'
In file included 

Re: [Mono-dev] Mono and dotnetNuke

2006-06-29 Thread Joe Audette
You should at least consider looking into mojoportal. It is completely in c# and already works with mono and supports open source databases like MySQL PostgreSQL and SQLite in addtion to MS SQL.http://www.mojoportal.comI would be very surprised if DNN does not have some legacy VB syntax that uses the VB library. Even things like Instr() and such would be legacy syntax but many VB developers will keep on using it because it works.I will say the first time you get one of your ASP.NET apps running on linux it feels like magic. I know I've been hooked ever since. :-)Cheers,Joejoe_audette [at] yahoo dotcom http://www.joeaudette.com
 http://www.mojoportal.com- Original Message From: Jan Waiz [EMAIL PROTECTED]To: [EMAIL PROTECTED]; Ympostor [EMAIL PROTECTED]Cc: mono-devel-list@lists.ximian.comSent: Thursday, June 29, 2006 6:42:02 AMSubject: Re: [Mono-dev] Mono and dotnetNuke


 
 





Well – i will test
it over the Weekend and let you know the Result. J 

  

I am still wondering,
that so less Developers are working with Mono. And that there is no Partnership
between the dnn- and mono-Project !? 

  

I am fascinated to
develop with Windows/IIS/C# - and the Result can be run with Windows OR Mono. Because: 

  


 That’s most possible Flexibility! 
 Linux/Mono needs much less Resouces 
 It runs with smaller CPU-Power 
 Enables me to use free SQL-Databases like MySql or Postgres 
 No Licensecosts for the OS 
 More Provider offering housing/hosting Linux-Environment for lower
 Costs 
 May be, Linux is more stabil 
 May be, Linux needs less Amount of Administration 
 May be, Linux is more safe against Attacks 
 And so on and so on… 


  

  



Greets 

Jan Waiz 

I-Com EDV-Service 

Sülldorfer Knick 81e 

22589Hamburg 

Tel: 0049-40-56060630 











Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Tomek Soroka
Gesendet: Donnerstag, 29. Juni
2006 11:15
An: Ympostor
Cc:
mono-devel-list@lists.ximian.com
Betreff: Re: [Mono-dev] Mono and
dotnetNuke 



  

Hi!

I'm sure that dnn doesn't use any VB6 legacy syntax. We use lot of dnn in
windows environment and 
I think that run dnn on mono shouldn't be big problem (of course dnn compiled
under windows because of mono vb compiller).
What more - You can write additional modules in c#, that it means only core
must be compiled under windows.

best!
Tomek




Ympostor napisał(a):  

Jan Waiz escribió:  

Anyone here, who is working with dotnetNuke (3.x) running with Mono?  

 (Just wondering...) I am not using it, but the fact that is written in VB probably means that can't compile (yet) with the Mono VB compiler (MBAS). And it is possible too that the code uses VB6 legacy syntax and keywords [1], so as not being able to run it with Mono only with the assemblies compiled in VS.NET. [1] http://rafaelmizrahi.blogspot.com/2006/06/compile-vbnet-code-without-implicit.html   

  



 

___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono.Data.SqliteClient errors

2006-06-26 Thread Joe Audette
I just noticed that SqliteResultSet.cs no longer exists in mono svn and my copy 
is from an old version that did have it. I removed it and everything compiled 
ok, so maybe its a non issue. I'll test the union part tomorrow, got to sleep 
now. I think the Unknown Parameter Type is still an issue.
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com

- Original Message 
From: Joe Audette [EMAIL PROTECTED]
To: Mono-devel-list@lists.ximian.com
Sent: Monday, June 26, 2006 8:52:49 PM
Subject: [Mono-dev] Mono.Data.SqliteClient errors

Hi All,

I'm getting errors in 2 situtations using Mono.Data.SqliteClient

When I try to insert a byte[] into a LongBlob field using DBtype.Binary I get 
Unkown Parameter Type

When I retrieve a datareader using  a select statement with a union I get this 
error:

 Description: An unhandled exception occurred during the execution of the 
current web request. Please review the stack trace for more information about 
the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to 
an instance of an object.

Source Error:

Line 84: 
Line 85: public object this[string name] {
Line 86: get { object retVal = ((object[]) rows[current_row])[(int) 
column_names[name]];
Line 87: return retVal == null ? System.DBNull.Value : retVal; }
Line 88: }


Source File: C:\__joe\mojo21\Mono.Data.SqliteClient\SqliteResultSet.csLine: 
86 

I can comment out either side of the union and it works but when I have the 
union I get this error every time.

I should note that I am testing on Windows and using Mono.Data.SqliteClient 
compiled in VS 2005 and running under 2.0 .NET

I got the Mono.Data.SqliteClient code from  mono svn r61924

Thanks,

Joe

 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com



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




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


Re: [Mono-dev] (no subject)

2006-06-14 Thread Joe Audette
Hi Brian,Can you post the actual error you get when you run make?Cheers,Joejoe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: [EMAIL PROTECTED]To: mono-devel-list@lists.ximian.comSent: Wednesday, June 14, 2006 2:18:07 PMSubject: [Mono-dev] (no subject)Aloha.
 I realy need some help with the install
Mono. I have run into a config issue. When I compile the mod_mono
code, the configure works fine (see below). However, when I make it craps
out complaining about some some code that is missing or not compatible.
Do you have any thoughts to this?
I am running suse 10.1. 
Configuration summary for mod_mono
 * Installation prefix = /usr
  * Apache version = 2.2
  * Apache modules directory = /usr/lib/apache2
  * apxs = /usr/sbin/apxs2
  * apr-config = /usr/bin/apr-1-config
  * Verbose logging (debug) = no
  * mono prefix = /usr/lib/pkgconfig/../..
  * Default MonoApplicationsConfigDir = /etc/apache2/mod-mono-applications
Thanks so much,

State of Hawaii
Information Technology Service Office
Brian Low
830 Punchbowl Street Room 216
Honolulu, HI 96813
E-mail: [EMAIL PROTECTED]___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-list] .NET Hosting Suggestions?

2006-05-31 Thread Joe Audette
I recommend www.GrokThis.net

Cheers,

Joe
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com

- Original Message 
From: David P. Donahue [EMAIL PROTECTED]
To: mono-list mono-list@lists.ximian.com
Sent: Wednesday, May 31, 2006 12:07:45 PM
Subject: [Mono-list] .NET Hosting Suggestions?

Not sure how off-topic this is for this group, but I'll ask anyway just 
incase...

Can anyone recommend a good (and low-priced, if possible) web host for 
hosting .NET web applications?

I ask because my friend and I have been working on and testing a site as 
part of a small business endeavor.  We're going to host it 100% 
ourselves eventually, but need to kick-start the income a bit in order 
to budget a production-class web server and commercial internet 
connection.  So what we need is a host where we can run our .NET website 
(which, in and of itself, is pretty simple), a database for it to 
reference where we can, of course, have control over our tables (MySQL 
would be preferred, but not entirely necessary), and be able to use an 
outbound SMTP service to go along with .NET's Mail object in the code (a 
minor concern, but necessary for the site to do its stuff).

Ideally, we'd want something more geared towards geeks, where we can 
keep the whole thing simple and avoid all the marketing speak.

I've never actually used 3rd party hosting before, so I honestly don't 
even know where to look.  Of course, Google searches for things like 
.NET web hosting return about half the internet.  And I'd much rather 
have a first-hand account of someone who's been happy with a particular 
one, for whatever reasons.

Any advice would be much appreciated.  Thank you.


-David P. Donahue
[EMAIL PROTECTED]
http://www.cyber0ne.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list




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


Re: [Mono-dev] Problems connecting to MS SQL with C# and Mono

2006-05-22 Thread Joe Audette

Hi,


I get a horrible exception when attempting to connect to an MS SQL Express
server from Mono (it works under the MS CLR).  

Here is the code I use to make the connection:

string ConnectionString = Data Source=127.0.0.1\SQLEXPRESS;
Database=mydatabase;User ID=user;Password=password;

SqlConnection DatabaseConnection = new SqlConnection(ConnectionString);
DatabaseConnection.Open(); //Exception thrown here


2 things jump out at me.
1. Your connection string has 127.0.0.1 which when running on the mono machine 
would point to the mono machine so unless you are running mono on windows that 
could be part of the problem.
2. Your connection string is apparently using integrated windows security since 
it has no user name and password. This probably won't work if the mono machine 
is a linux machine.

Hope it helps,

Joe




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


Re: [Mono-dev] using mono, mysql and asp

2006-04-02 Thread Joe Audette
Hi Henry,

You need the Connector. You can either put the dll for it in the bin folder of 
your app and reference it or you can install it in the GAC.
It doesn't rely on Apache that I know of but can work either with xsp or 
apache/mod_mono/xsp

Some versions of the connector had issues with mono, I'm not sure about the 
newest one, since I'm using an older version, but hopefully the newest one 
works with mono.

Hope it helps,

Joe
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com

- Original Message 
From: henry human [EMAIL PROTECTED]
To: mono-devel-list@lists.ximian.com
Sent: Sunday, April 2, 2006 1:39:23 AM
Subject: [Mono-dev] using mono, mysql and asp 

hello, after installation of mono from my suse linux
distribuion
and xsp server from code it seems the thing are ok!
The xsp server is
 runing on 8080 and i can  execute asp files.
Now i  want to access from asp file to mysql database.
Do i need to install apache 
too to do this? I have mysql runing on my system, do i
need a connector for it? What should i still install
or change? 

Thanks
henry






___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list




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


Re: [Mono-dev] Regression in System.Web

2006-03-22 Thread Joe Audette
Hi Gonzalo,
 
Ok. Then I need to know how to reproduce this. Can we get a bug report
filed?

Thanks!

-Gonzalo


I'll try but this is the perplexing part, I have other pages with similar code 
that work fine and I've already tried putting try catches around anything 
touching a dropdown list but I still get the error. So far I haven't even been 
able to figure out what line of my code its breaking on so its not easy to 
figure out how to make a test case. 

I'll poke around some more and see if I can figure it out.

Joe


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


Re: [Mono-dev] Regression in System.Web

2006-03-22 Thread Joe Audette
Hi Gonzalo,

Ok. Then I need to know how to reproduce this. Can we get a bug report
filed?
-Gonzalo


Through a process of elimination by commenting out code, rebuilding and 
deploying I was able to pin down the line of code that was raising the error, 
putting it in a try catch did not stop the error but I found a workaround to 
fix my page.

It was blowing up on this line even inside a try catch:

ddAvatars.SelectedValue = user.AvatarUrl;

changing to this code resolved the problem:

 ListItem itemToSelect = ddAvatars.Items.FindByValue(user.AvatarUrl);
if(itemToSelect != null)
itemToSelect.Selected = true;
   
ddAvatars is databound to a FileInfo[] of .gif files and the value of 
user.AvatarUrl was a valid item in the list.

The original code has worked for a long time and does work on windows but 
currently on mono it produces this error:

System.Web.HttpException: DropDownList only may have a single selected item
in 0x00188 System.Web.UI.WebControls.DropDownList:RenderContents 
(System.Web.UI.HtmlTextWriter writer)
in 0x00023 System.Web.UI.WebControls.WebControl:Render 
(System.Web.UI.HtmlTextWriter writer)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x00074 System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter 
writer)
in 0x00011 System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer)
in 0xd System.Web.UI.WebControls.WebControl:RenderContents 
(System.Web.UI.HtmlTextWriter writer)
in 0x00023 System.Web.UI.WebControls.WebControl:Render 
(System.Web.UI.HtmlTextWriter writer)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x00074 System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter 
writer)
in 0x00011 System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer)
in 0xd System.Web.UI.WebControls.WebControl:RenderContents 
(System.Web.UI.HtmlTextWriter writer)
in 0x00023 System.Web.UI.WebControls.WebControl:Render 
(System.Web.UI.HtmlTextWriter writer)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x00074 System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter 
writer)
in 0x00023 System.Web.UI.HtmlControls.HtmlContainerControl:Render 
(System.Web.UI.HtmlTextWriter writer)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x00278 ASP.layout_ascx:__Render_frmMain (System.Web.UI.HtmlTextWriter 
__output, System.Web.UI.Control parameterContainer)
in (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_HtmlTextWriter_Control 
(System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
in 0x00026 System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter 
writer)
in 0x00055 System.Web.UI.HtmlControls.HtmlForm:RenderChildren 
(System.Web.UI.HtmlTextWriter w)
in 0x00023 System.Web.UI.HtmlControls.HtmlContainerControl:Render 
(System.Web.UI.HtmlTextWriter writer)
in 0xd System.Web.UI.HtmlControls.HtmlForm:Render 
(System.Web.UI.HtmlTextWriter w)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x00074 System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter 
writer)
in 0x00023 System.Web.UI.HtmlControls.HtmlContainerControl:Render 
(System.Web.UI.HtmlTextWriter writer)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x00074 System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter 
writer)
in 0x00011 System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x002f1 System.Web.UI.Page:InternalProcessRequest ()


in 0x000a4 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)

If I get a chance this weekend I will try and produce a test case for the error 
but thought I would pass along my findings

Cheers,

Joe




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


Re: [Mono-dev] Regression in System.Web

2006-03-21 Thread Joe Audette
Hi Gonzalo,
 
Thanks for the quick response!

Can you try the System.Web.dll and its .mdb from
http://gonzalo.name/System.Web-debug.tar.gz ?

If that one works, I'll revert the offending patch.
Thanks.


I'll give it a try tonight right after work and report back.

Cheers,

Joe







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


[Mono-dev] Regression in System.Web

2006-03-20 Thread Joe Audette
Hi All,

I'm seeing a problem on the UserProfile page in mojoPortal. It was reported to 
me by a user running the latest release of mono and I am also seeing it in the 
latest build of mono from svn r58211

The code in this page hasn't changed in a while and was working without error a 
while back. Tonight I tried putting try catch statements around all references 
to DropDownList controls but I still get the error.

This is using  apache2 on Suse 10 fully up to date.
The user of mojoPortal who reported it to me was using Ubuntu, mono 1.1.13.4 
and apache2

I'm not entirely sure what line of code its happening on but the error is:

System.Web.HttpException: DropDownList only may have a single selected item
in 0x00188 System.Web.UI.WebControls.DropDownList:RenderContents 
(System.Web.UI.HtmlTextWriter writer)
in 0x00023 System.Web.UI.WebControls.WebControl:Render 
(System.Web.UI.HtmlTextWriter writer)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x00074 System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter 
writer)
in 0x00011 System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer)
in 0xd System.Web.UI.WebControls.WebControl:RenderContents 
(System.Web.UI.HtmlTextWriter writer)
in 0x00023 System.Web.UI.WebControls.WebControl:Render 
(System.Web.UI.HtmlTextWriter writer)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x00074 System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter 
writer)
in 0x00011 System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer)
in 0xd System.Web.UI.WebControls.WebControl:RenderContents 
(System.Web.UI.HtmlTextWriter writer)
in 0x00023 System.Web.UI.WebControls.WebControl:Render 
(System.Web.UI.HtmlTextWriter writer)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x00074 System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter 
writer)
in 0x00023 System.Web.UI.HtmlControls.HtmlContainerControl:Render 
(System.Web.UI.HtmlTextWriter writer)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x00278 ASP.layout_ascx:__Render_frmMain (System.Web.UI.HtmlTextWriter 
__output, System.Web.UI.Control parameterContainer)
in (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_HtmlTextWriter_Control 
(System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
in 0x00026 System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter 
writer)
in 0x00055 System.Web.UI.HtmlControls.HtmlForm:RenderChildren 
(System.Web.UI.HtmlTextWriter w)
in 0x00023 System.Web.UI.HtmlControls.HtmlContainerControl:Render 
(System.Web.UI.HtmlTextWriter writer)
in 0xd System.Web.UI.HtmlControls.HtmlForm:Render 
(System.Web.UI.HtmlTextWriter w)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x00074 System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter 
writer)
in 0x00023 System.Web.UI.HtmlControls.HtmlContainerControl:Render 
(System.Web.UI.HtmlTextWriter writer)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x00074 System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter 
writer)
in 0x00011 System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer)
in 0x00099 System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter 
writer)
in 0x002f1 System.Web.UI.Page:InternalProcessRequest ()
in 0x000a4 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)

I'm happy to post the code of th page if that will help.

Cheers,

Joe

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


Re: [Mono-dev] mod-mono help

2006-03-10 Thread Joe Audette
I have a tutorial here for setting up multiple virtual hosts with mod_mono

http://www.joeaudette.com/settingupapachevirtualhostswithmod_mono.aspx

The tutorial is based on suse but maybe you will find it helpful.

Cheers,

Joe
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com

- Original Message 
From: Adi Spivak [EMAIL PROTECTED]
To: mono-devel-list@lists.ximian.com
Sent: Friday, March 10, 2006 12:02:28 PM
Subject: [Mono-dev] mod-mono help

Hello.
i have a configuration problems.
i cannot make the mod-mono apply to two diractorise.
i have set the configuration like this:

VirtualHost SOMEDOMAIN.COM:80

Alias /~pink /home/pink/domains/SOMEDOMAIN.COM/public_html
AddMonoApplications default 
/~pink:/home/pink/domains/SOMEDOMAIN.COM/public_html
 Location /
 SetHandler mono
   /Location


VirtualHost SOMEOTHERDOMAIN.COM:80
Alias /~master 
/home/master/domains/SOMEOTHERDOMAIN.COM/public_html
AddMonoApplications master 
/~master:/home/master/domains/SOMEOTHERDOMAIN.COM/public_html
   Location /~master
SetHandler mono
   /Location

but only the one that is set as
Location /
 SetHandler mono
   /Location
is the one to work.
how can i make them both run?
what am i doing wrong?

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




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


Re: [Mono-list] mono charting

2006-03-08 Thread Joe Audette
I haven't tried it yet but this one looks promising. I think its all managed 
code so it should work in mono but again I havan't tried it yet.

http://zedgraph.org/wiki/index.php?title=Main_Page

Hope it helps, let us know if it does work.

Cheers,

Joe
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com

- Original Message 
From: Colin JN Breame [EMAIL PROTECTED]
To: mono-list@lists.ximian.com
Sent: Wednesday, March 8, 2006 1:23:21 PM
Subject: [Mono-list] mono charting

Could anyone recommend a (FLOSS) general chart library that works with mono?

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




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


Re: [Mono-list] About Persistence Framework

2006-02-24 Thread Joe Audette
If I were going to use an OR mapper I would probably go with NHibernate.Checkout the cuyahoga project if you would like to see sample code on how to use it.http://www.cuyahoga-project.org/home.aspxCheers,Joejoe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: Gayan Perera [EMAIL PROTECTED]To: MonoList mono-list@lists.ximian.comSent: Friday, February 24, 2006 4:38:52 AMSubject: [Mono-list]
 About Persistence FrameworkDear Frnds,i'm looking for better persistence framework for my C# Project.i came across OJB.NET and NHibernate , since i haven't use niether of those,i would appreciate if some one tells me which is the best to use, who have experience with one of those. thank you,Gayan. ___Mono-list maillist-Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Forums software for Mono?

2006-02-05 Thread Joe Audette
Hi,

mojoPortal has forums too, though they are not very elaborate in features, just 
simple fast forums.
It doesn't have all the bells and whistles to keep track of what you have 
already read, but it does have email notification and RSS.

http://www.mojoportal.com/forums.aspx

at least something to consider.

Cheers,

Joe
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com

- Original Message 
From: Miguel de Icaza [EMAIL PROTECTED]
To: mono-list@lists.ximian.com
Sent: Saturday, February 04, 2006 10:35:04 PM
Subject: [Mono-list] Forums software for Mono?

Hello,

A lot of people have asked us about hosting some official forums
for Mono.   Am not a fan of them, but I can see the appeal of these
things.

If we were to host this, we would probably want to run this on top
of Mono itself, does anyone have any recommendations for an
ASP.NET-based open source forums software?

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




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


[Mono-dev] 2.0 error

2006-01-17 Thread Joe Audette
Hi All,

I'm getting this error lately in my experiments with 2.0 runtime when trying to 
access a database. It was working until recently.
I'm at r55703 on Suse 10 with ipv6 disabled

System.InvalidCastException: Cannot cast from source type to destination type.
in 0x000bd System.Net.Sockets.Socket:CheckProtocolSupport ()
in 0x7 System.Net.Sockets.Socket:get_SupportsIPv6 ()
in 0x00090 System.Net.Dns:hostent_to_IPHostEntry (System.String h_name, 
System.String[] h_aliases, System.String[] h_addrlist)
in 0x0005b System.Net.Dns:GetHostByName (System.String hostName)
in 0x00058 System.Net.Dns:Resolve (System.String hostName)
in 0x00025 Npgsql.NpgsqlClosedState:ResolveIPHost (System.String HostName)
in 0x00065 Npgsql.NpgsqlClosedState:Open (Npgsql.NpgsqlConnector context)
in 0x000c4 Npgsql.NpgsqlConnector:Open ()
in 0x0008a Npgsql.NpgsqlConnectorPool:GetNonPooledConnector 
(Npgsql.NpgsqlConnection Connection)
in 0x0003b Npgsql.NpgsqlConnectorPool:RequestConnector 
(Npgsql.NpgsqlConnection Connection)
in 0x0008b Npgsql.NpgsqlConnection:Open ()
in (wrapper remoting-invoke-with-check) Npgsql.NpgsqlConnection:Open ()
in 0x00057 mojoPortal.Data.NpgsqlHelper:ExecuteReader (System.String 
connectionString, CommandType commandType, System.String commandText, 
Npgsql.NpgsqlParameter[] commandParameters)

Thanks,

Joe
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com



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


Re: [Mono-dev] SUSE Linux / Installing mono_mod problems

2006-01-13 Thread Joe Audette
I think I have just the tutorial you're looking forhttp://www.joeaudette.com/buildingmonoforaspnetThe error you are getting is because you don't have the appache dev stuff, theres a link to get it in the article.Cheers,Joejoe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: S. Shawn Mehaffie [EMAIL PROTECTED]To: mono-devel-list@lists.ximian.comSent: Friday, January 13, 2006 9:08:01 AMSubject: [Mono-dev] SUSE Linux / Installing mono_mod problems   I am using the SUSE Virtual Machine to see how mono works. I have installed mono, and have dow
 nloaded and unzipped the mono_mode. When I try to run the following command ./configure --prefix=/usr to configure the mono mod so I can compile / install it I get the following error: apsx was not found, DSO compilation will not be available. Any help will be appreciated. I think I need to install something else, but not sure what. I used the installation package to install mono, so I was surprised that the mono mod was not installed since it is required for the ASP.Net functionality to work.I am a new Linux user and am very interested in mono and making sure my ASP.Net applications that I write also run under mono. Please be as detailed as possible in any instructions given.<
 /span>I am also interested in any instructions on using the "Automatic configuration of ASP.NET applications with mod_mono"Any help will be appreciated.Thanks  S. Shawn Mehaffie  ___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-list] calendar webcontrol and culture

2006-01-13 Thread Joe Audette
Try something like this in your Global.asax.cs in Application_BeginRequestCultureInfo culture = new CultureInfo("ca-ES");System.Threading.Thread.CurrentThread.CurrentCulture = culture;Cheers,Joejoe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: Pere Rodríguez [EMAIL PROTECTED]To: mono-list@lists.ximian.comSent: Friday, January 13, 2006 1:59:15 AMSubject: [Mono-list] calendar webcontrol and culture Hello, How can I change language of the month in calendar webcontrol? I add culture tag to header asp page: %@ Page language="c#" ... culture="ca-ES" % but it doesn't work. I need ca-ES or es-ES locations. Thanks in advance, pere ___Mono-list maillist-Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-dev] make error on r55409

2006-01-12 Thread Joe Audette
Hmm,

I can only guess from the silence that no-one else on this list having this 
problem?
I did get one reply off list from someone else having the same problem and 
asking if I had found a solution.
I will try updating tonight and see if it goes away.

Joe
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com

- Original Message 
From: Joe Audette [EMAIL PROTECTED]
To: mono-devel-list@lists.ximian.com
Sent: Wednesday, January 11, 2006 8:07:27 PM
Subject: [Mono-dev] make error on r55409

Hi All,
 
 I've been building mono from svn on a regular basis for quite a while but 
tonight on r55408 I'm getting this error when I run make 
 I used ./autogen.sh --prefix=/usr and everything looked good.
 
 Any ideas how to get past this?
 
 Thanks,
 
 Joe
 
 Suse 10
 
 System.Windows.Forms/ButtonBase.cs(47,48): error CS0117: 
`System.Windows.Forms.Application' does not contain a definition for 
`use_compatible_text_rendering'
 System.Windows.Forms/CheckedListBox.cs(44,48): error CS0117: 
`System.Windows.Forms.Application' does not contain a definition for 
`use_compatible_text_rendering'
 System.Windows.Forms/GroupBox.cs(47,48): error CS0117: 
`System.Windows.Forms.Application' does not contain a definition for 
`use_compatible_text_rendering'
 System.Windows.Forms/Label.cs(55,48): error CS0117: 
`System.Windows.Forms.Application' does not contain a definition for 
`use_compatible_text_rendering'
 System.Windows.Forms/LinkLabel.cs(77,48): error CS0117: 
`System.Windows.Forms.Application' does not contain a definition for 
`use_compatible_text_rendering'
 System.Windows.Forms/PropertyGrid.cs(82,48): error CS0117: 
`System.Windows.Forms.Application' does not contain a definition for 
`use_compatible_text_rendering'
 Compilation failed: 6 error(s), 0 warnings
 make[8]: *** [../../class/lib/default/System.Windows.Forms.dll] Error 1
 make[8]: Leaving directory 
`/webshare/monosource/mcs/class/Managed.Windows.Forms'
 make[7]: *** [do-all] Error 2
 make[7]: Leaving directory 
`/webshare/monosource/mcs/class/Managed.Windows.Forms'
 make[6]: *** [all-recursive] Error 1
 

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




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


Re: [Mono-dev] make error on r55409

2006-01-12 Thread Joe Audette
I got a reply saying it is fixed as of r55429 but I can't try it myself until tonight after work.Cheers,Joejoe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: Janne Rantala [EMAIL PROTECTED]To: mono-devel-list@lists.ximian.comSent: Thursday, January 12, 2006 11:19:53 AMSubject: Re: [Mono-dev] make error on r55409Hi,   Have you found solution to this problem yet? I had quite similar error message today but I have no idea what might be causing that.  :janneSystem.Windows.Forms\ButtonBase.cs(554,12): error CS0103: The name `use_compatib le_text_rendering' does not exist in the context of `System.Windows.Forms.Button Base' System.Windows.Forms\ButtonBase.cs(558,5): error CS0103: The name `use_compatibl e_text_rendering' does not exist in the context of `System.Windows.Forms.ButtonB ase' Compilation failed: 2 error(s), 0 warnings make[8]: *** [../../class/lib/net_2_0/System.Windows.Forms.dll] Error 1 make[8]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mcs/class/Ma naged.Windows.Forms' make[7]: *** [do-all] Error 2 make[7]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mcs/class/Ma naged.Windows.Forms' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mcs/class' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mcs'
  make[4]: *** [profile-do--net_2_0--all] Error 2 make[4]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mcs' make[3]: *** [profiles-do--all] Error 2 make[3]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mcs' make[2]: *** [all-local] Error 2 make[2]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mono/runtime ' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mono' make: *** [all] Error 2 2006/1/12, Joe Audette [EMAIL PROTECTED]: Hmm,I can only guess from the silence that no-one else on this list having this problem?I did get one reply off list from someone else having the same p
 roblem and asking if I had found a solution.I will try updating tonight and see if it goes away. Joejoe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com- Original Message  From: Joe Audette [EMAIL PROTECTED]To: mono-devel-list@lists.ximian.comSent: Wednesday, January 11, 2006 8:07:27 PM Subject: [Mono-dev] make error on r55409Hi All, I've been building mono from svn on a regular basis for quite a while but tonight on r55408 I'm getting this error when I run make I used ./autogen.sh --prefix=/usr and everything looked good. Any ideas how to get past th
 is? Thanks, Joe Suse 10 System.Windows.Forms /ButtonBase.cs(47,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/CheckedListBox.cs(44,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering'  System.Windows.Forms/GroupBox.cs(47,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/Label.cs(55,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering'  System.Windows.Forms/LinkLabel.cs(77,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/PropertyGrid.cs(82,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition 
 for `use_compatible_text_rendering'  Compilation failed: 6 error(s), 0 warnings make[8]: *** [../../class/lib/default/System.Windows.Forms.dll] Error 1 make[8]: Leaving directory `/webshare/monosource/mcs/class/Managed.Windows.Forms' make[7]: *** [do-all] Error 2  make[7]: Leaving directory `/webshare/monosource/mcs/class/Managed.Windows.Forms' make[6]: *** [all-recursive] Error 1___Mono-devel-list mailing list Mono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list ___Mono-devel-list mailing list[EMAIL PROTECTED]
 ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-list] Reporting with Crystal

2006-01-12 Thread Joe Audette
Of course mono does not implement crystal. Crystal is a proprietary product, it is up to them whether they make their product run on mono.When you install crystal on windows it goes into the GAC. They surely have no installer for linux, so to even try it on mono you would have to try and put their assemblies in the GAC on your mono machine yourself.Maybe if a lot of people contact them inquiring about mono support it would get on their radar but I doubt it is at the moment.I don't really know of any good reporting tools that run on mono at the moment but having worked with crystal I would rather see Active Reports run on mono as it is much easier to work with. Crystal is a mess even on windows in my opinion.Joejoe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: Jan Waiz [EMAIL PROTECTED]To: mono-list@lists.ximian.comSent: Thursday, January 12, 2006 8:01:40 AMSubject: [Mono-list] Reporting with Crystal   Hi All,i try to implement reporting with the Crystal-Engine in a ASP.NET Application, that should (must!) run with Mono.Now I get a Runtime-Error, when starting the Page from Mono like:Parser Error  Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error.   Error message: Assembly CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304 not found   File name: /var/mono/IComVBX/VBXClient/VBXForms/RDMProviderOFFList.aspxLine: 2   Source Error:%@ Register TagPrefix="cc1" Namespace="VBXClient.VBXControls" Assembly="VBXClient" %%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %%@ Page language="c#" Codebehind="RDMProviderOFFList.aspx.cs" AutoEventWireup="false" Inherits="VBXClient.VBXForms.RDMProviderOFFList" %&
 lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" html Does Mono implement the Crystal-Engine?
 If Yes: Whats wrong?If No: How did you implement reporting ?TIA  Jan Waiz  ___Mono-list maillist-Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


  1   2   3   >