Konstantin Triger | 2 Sep 2007 08:35
Favicon

Re: System.Web.Extension

Hello Onur,

 

> I think these are bugs are  in mono runtime /aspx parser and/or System.Web.Extensions.dll of mainsoft's.

You may really help by identifying the problematic module (Sys.Web or Sys.Web.Extensions ?). To do that you may try to run mono Sys.Web.Extensions in the MS .Net environment. Simply register it to the GAC and change the Version/PublicKeyToken in the web.config.

 

Regards,

Konstantin Triger

From: Onur Gumus [mailto:emperon <at> gmail.com]
Sent: Thursday, August 30, 2007 8:00 PM
To: Miguel de Icaza
Cc: Jens Wurster; Konstantin Triger; mono-devel-list <at> lists.ximian.com
Subject: Re: [Mono-dev] System.Web.Extension

 

Hey Miguel,

I think these are bugs are  in mono runtime /aspx parser and/or System.Web.Extensions.dll of mainsoft's.

The sample is written by Microsoft and works flawlessly on MS.NET platform.

Onur

On 8/30/07, Miguel de Icaza <miguel <at> novell.com> wrote:

Hello Jens,

> AlwaysVisibleControl, AutoComplete, CascadingDropDown,
> DynamicPopulate, FilteredTextBox, HoverMenu, MaskedEdit,
>
> NumericUpDown, Rating, ReorderList, SlideShow and ValidatorCallout

Would you mind filing bugs for these on:

        www.mono-project.com/Bugs

Describing the problem?   One for each problem.

Miguel.
>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list




--
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 <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
R. Tyler Ballance | 2 Sep 2007 16:26
Gravatar

Re: Who broke master pages in trunk :)


On Aug 31, 2007, at 7:00 AM, Marek Habersack wrote:

> Your test works perfectly for me - no book (on r85091)

Running with a more recent snapshot (Mono JIT compiler version 1.2.5  
(/trunk/ r85187)) versus a released version (Mono JIT compiler  
version 1.2.3.1) I still get functional ASP.NET master pages in  
1.2.3.1, and errors in 1.2.5 r85187. Grumble.

If anybody has any tips for how I can debug this a bit better than I  
have thus far,

I've run with MONO_LOG_LEVEL=debug to verifiy that it's running  
against the DLLs in my "trunk" GAC, but other than that I'm drawing a  
blank with an error 500 on it ;)

Cheers,
-R. Tyler Ballance
Brandon Perry | 2 Sep 2007 17:32

Possible bug in System.Windows.Forms

Hi, when I try to run an assembly using the System.Windows.Forms dll, I
get the following error.

radiohead <at> radiohead-laptop:~/Desktop/MoMA$ mono
'/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe' 

**
(/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe:20402): WARNING **: The
following assembly referenced from
/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe could not be loaded:
     Assembly:   System.Windows.Forms    (assemblyref_index=1)
     Version:    1.0.3300.0
     Public Key: b77a5c561934e089
The assembly was not found in the Global Assembly Cache, a path listed
in the MONO_PATH environment variable, or in the location of the
executing assembly (/home/radiohead/Desktop/printinginNet/bin/Debug).

**
(/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe:20402): WARNING **:
Could not load file or assembly 'System.Windows.Forms, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
The entry point method could not be loaded

I tested it with MoMA and it said all was good. I ran a grep on gacutil
-l to make sure the System.Windows.Forms was installed and it is. Any
thoughts?
Valentin Sawadski | 2 Sep 2007 19:09
Picon
Picon

Re: Possible bug in System.Windows.Forms

Hello,

your app seems to target .Net 1.0 which is not supported by Mono.
Recompile it against .Net 1.1 or 2.0 and everything should be fine :-)

Kind Regards,
Valentin S.

On Sun, 2007-09-02 at 10:32 -0500, Brandon Perry wrote:
> Hi, when I try to run an assembly using the System.Windows.Forms dll, I
> get the following error.
> 
> radiohead <at> radiohead-laptop:~/Desktop/MoMA$ mono
> '/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe' 
> 
> **
> (/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe:20402): WARNING **: The
following assembly referenced from
/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe could not be loaded:
>      Assembly:   System.Windows.Forms    (assemblyref_index=1)
>      Version:    1.0.3300.0
>      Public Key: b77a5c561934e089
> The assembly was not found in the Global Assembly Cache, a path listed
> in the MONO_PATH environment variable, or in the location of the
> executing assembly (/home/radiohead/Desktop/printinginNet/bin/Debug).
> 
> 
> **
> (/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe:20402): WARNING **:
Could not load file or assembly 'System.Windows.Forms, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
> The entry point method could not be loaded
> 
> 
> I tested it with MoMA and it said all was good. I ran a grep on gacutil
> -l to make sure the System.Windows.Forms was installed and it is. Any
> thoughts?
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list <at> lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
Brandon Perry | 2 Sep 2007 19:27

Re: Possible bug in System.Windows.Forms

That was it, Thanks.
On Sun, 2007-09-02 at 19:09 +0200, Valentin Sawadski wrote:
> Hello,
> 
> your app seems to target .Net 1.0 which is not supported by Mono.
> Recompile it against .Net 1.1 or 2.0 and everything should be fine :-)
> 
> Kind Regards,
> Valentin S.
> 
> On Sun, 2007-09-02 at 10:32 -0500, Brandon Perry wrote:
> > Hi, when I try to run an assembly using the System.Windows.Forms dll, I
> > get the following error.
> > 
> > radiohead <at> radiohead-laptop:~/Desktop/MoMA$ mono
> > '/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe' 
> > 
> > **
> > (/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe:20402): WARNING **:
The following assembly referenced from
/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe could not be loaded:
> >      Assembly:   System.Windows.Forms    (assemblyref_index=1)
> >      Version:    1.0.3300.0
> >      Public Key: b77a5c561934e089
> > The assembly was not found in the Global Assembly Cache, a path listed
> > in the MONO_PATH environment variable, or in the location of the
> > executing assembly (/home/radiohead/Desktop/printinginNet/bin/Debug).
> > 
> > 
> > **
> > (/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe:20402): WARNING **:
Could not load file or assembly 'System.Windows.Forms, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
> > The entry point method could not be loaded
> > 
> > 
> > I tested it with MoMA and it said all was good. I ran a grep on gacutil
> > -l to make sure the System.Windows.Forms was installed and it is. Any
> > thoughts?
> > 
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list <at> lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
Charlie Poole | 2 Sep 2007 19:56
Favicon

Mono support for .NET 1.0 (was Possible bug in System.Windows.Forms)

Hi Valentin,

> your app seems to target .Net 1.0 which is not supported by Mono.
> Recompile it against .Net 1.1 or 2.0 and everything should be fine :-)

Is this documented somewhere? It might explain the hard failure in my
table at http://nunit.org/?p=platformSupport and I'd just as soon not
expend any more effort on 1.0 than I have to.

Charlie
Robert Jordan | 2 Sep 2007 20:34
Picon
Gravatar

Re: Mono support for .NET 1.0 (was Possible bug in System.Windows.Forms)

Hi,

Charlie Poole wrote:
> Hi Valentin,
> 
>> your app seems to target .Net 1.0 which is not supported by Mono.
>> Recompile it against .Net 1.1 or 2.0 and everything should be fine :-)
> 
> Is this documented somewhere? It might explain the hard failure in my
> table at http://nunit.org/?p=platformSupport and I'd just as soon not
> expend any more effort on 1.0 than I have to.

I'm using assemblies compiled against "1.0.3300.0" since ages and
I've never seen this error.

Mono is usually mapping the version of system assemblies:

using System;
using System.Reflection;

class Test
{
	// strong name from OP's  error message
	const string WinForms = "System.Windows.Forms, Version=1.0.3300.0, 
Culture=neutral, PublicKeyToken=b77a5c561934e089";

	static void Main ()
	{
		Console.WriteLine (Assembly.Load (WinForms).FullName);
	}
}

Output:

System.Windows.Forms, Version=1.0.5000.0 ...

or

System.Windows.Forms, Version=2.0.0.0 ...

when compiled with gmcs.

Robert
R. Tyler Ballance | 3 Sep 2007 04:44
Gravatar

Proposed Extension to System.Web.Script.Serialization

Firstly, I'm so glad we have System.Web.Script.Serialization now, woot!

The one major thing missing from JSON serialization (contrasted to  
XML serialization) is the ability to tell the serializer how to  
serialize out your object's attributes, in terms of names. I asked  
James Newton-King about this for Json.NET and he forwarded me a  
modified version of Json.NET that allowed such a beast and I've  
ported it over to our System.Web.Script.Serialization, the only thing  
holding me from committing it is:
	a) Permission from Igor and Konstantin
	b) The fact that .NET doesn't actually define something like this in  
their API

Executing my little test application (attached: JsonTest.cs), my  
"Message" property is serialized out under a different name (insanely  
helpful when dealing with existing JSON APIs and code)

> [mono] \w  <at>  mono JsonTest.exe
> Serializing TestClass out as: {"my_magic_message":"magic!"}

Attached is the cumulative patch for mcs/class/System.Web.Extensions/ 
System.Web.Script.Serialization, I'd like some review and permission  
to go ahead and commit it :D

(patch diffed against rev 85204)

Cheers,
-R. Tyler Ballance

Attachment (JsonTest.cs): application/octet-stream, 994 bytes
Attachment (ScriptElementAttribute.patch): application/octet-stream, 9 KiB
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
pablosantosluac | 3 Sep 2007 08:53
Picon
Favicon

S390

Hi there!

The Mono S390 works on Linux 390, isn't it? Ok, my question is: can a mono 
app running on a 390 virtual machine access resources on other partitions or 
in the "real" host?

We'd considering giving support to "host" users using mono too...

Thanks,

pablo 
Hubert FONGARNAND | 3 Sep 2007 09:08
Picon

Re: ask for backport on mono 1.2.5 branch

Le vendredi 31 août 2007 à 17:00 +0200, Miguel de Icaza a écrit :
Hello,

> In the actual release, a simple ASP.NET with a ListBox Control don't
> work, viewstate deserialization problem...

sigh.    We made tons of preview releases to get people a chance to
check stuff against 1.2.5.   

We have been doing them for more than a month now.   Our largest release
cycle.

Miguel.
Hello

I understand, but most of our team was on holydays during this period...
(i think you should not choose holydays period for testing period...)

Thanks for the backport, i promise that i'll check preview release next time!

Hubert

> This problem as been fixed in the trunk by :
>
> 2007-08-30 Igor Zelmanovich <igorz <at> mainsoft.com>
>
>         * ListControl.cs: fixed selected items state management.
>
> Could this be backported to the mono 1.2.5 branch?
>
>
> Here's a test case for this problem :
>
> Default.aspx:
> <% <at> Page Language="C#" Inherits="TestViewState.Default" %>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html>
> <head>
> <title>Default</title>
> </head>
> <body>
> <form id="form1" runat="server">
> <asp:Button id="button1" runat="server" />
> <asp:ListBox id="drpSociete" runat="server" CssClass="TextBox200"
> Width="200px" Visible="True"
>             Rows="1"></asp:ListBox>
> </form>
> </body>
> </html>
>
>
> Default.aspx.cs :
> // Default.aspx.cs created with MonoDevelop
> // User: hubert at 15:02 31/08/2007
> //
> // To change standard headers go to
> Edit->Preferences->Coding->Standard Headers
> //
>
> using System;
> using System.Web;
> using System.Web.UI;
> using System.Web.UI.WebControls;
> using System.Data;
>
> namespace TestViewState
> {
>
>
> public class Default : Page
> {
> protected ListBox drpSociete;
>
>
> protected override void OnLoad(EventArgs e)
> {
> if (!IsPostBack){
> drpSociete.Items.Add("bouh");
> drpSociete.Items.Add("bah");
> }
> }
>
>
> }
> }
>
>
> Click two times on the button and you'll obtain :
> Server Error in '/' Application
>
> ______________________________________________________________________
> Index is less than 0 or more than or equal to the list count.
> Parameter name: index 0
> Description: Error processing request.
>
> Error Message: HTTP 500. System.ArgumentOutOfRangeException: Index is
> less than 0 or more than or equal to the list count. Parameter name:
> index 0
>
> Stack Trace:
>
> System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal to the list count.
> Parameter name: index
> 0
>   at System.Collections.ArrayList.get_Item (Int32 index) [0x00000]
>   at System.Web.UI.WebControls.ListItemCollection.get_Item (Int32 index) [0x00000]
>   at System.Web.UI.WebControls.ListControl.LoadViewState (System.Object savedState) [0x00000]
>   at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
>   at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
>   at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
>   at System.Web.UI.Page.LoadPageViewState () [0x00000]
>   at System.Web.UI.Page.InternalProcessRequest () [0x00000]
>   at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
>
>
> Thanks in advance!
>
> _______________________________________________
> Ce message et les ventuels documents joints peuvent contenir des
> informations confidentielles.
> Au cas o il ne vous serait pas destin, nous vous remercions de bien
> vouloir le supprimer et en aviser immdiatement l'expditeur. Toute
> utilisation de ce message non conforme sa destination, toute diffusion
> ou publication, totale ou partielle et quel qu'en soit le moyen est
> formellement interdite.
> Les communications sur internet n'tant pas scurises, l'intgrit de ce
> message n'est pas assure et la socit mettrice ne peut tre tenue pour
> responsable de son contenu.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list <at> lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

_______________________________________________
Ce message et les entuels documents joints peuvent contenir des informations confidentielles.
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Gmane