[Mono-list] XSP.EXE error: Missing method Add in assembly
When running my project, I click on a Save button of mine and get the following at the console: ** (/usr/bin/xsp.exe:24878): WARNING **: Missing method Add in assembly /mnt/www/bin/EditInstructing.ascx.dll typeref index 17 ** ERROR **: file mini.c: line 3210 (mono_method_to_ir): assertion failed: (cmethod) aborting... Aborted In my EditInstructing file, there is no Add method in this class, and none is referenced in the ascx file either. I do use Add methods from NpgsqlCommand, though, but those are working in other files. I don't really understand what is going on. Can someone give me some pointers on how to get more detailed info from xsp? Thanks, Raul ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] ASP.NET object troubles
Greetings all. I have a aspx, with codebehind, that i'm trying to get tabcontrol-like behavior on. I have everything working, except for the visual effects to determine what tab is selected. I'm using buttons as the tabs, and setting their CssClass to indicate whether the button is selected or not. I use a Session variable to store what button is selected. However, when the page loads or does a postback, I'm always getting null references when working with the buttons. Here's some of my code: public class StudentsPage : Page { private long studId; protected System.Web.UI.WebControls.Button InfoButton, BeltButton, InstButton, CertsButton, TrnyButton, BioButton; protected Button selectedButton; private void Page_Load(Object Sender, System.EventArgs e) { Console.Write(Page_Load\n); if(IsPostBack) { Console.Write(Postback\n); } InfoButton.CssClass=Button; BeltButton.CssClass=Button; InstButton.CssClass=Button; CertsButton.CssClass=Button; TrnyButton.CssClass=Button; BioButton.CssClass=Button; if((string)Session[student_tab] == info) InfoButton.CssClass=SelectedButton; If I comment out the code referening the buttons, everything else works fine. I've tried putting the code in various procedures, OnInit, OnPreRender, etc, all with the same results. Is there something I'm doing wrong? I've worked for four days on this and am at my wits end. Can someone lend a hand? Thanks, Raul ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] RE: ASP.NET object troubles.
Gonzalo Paniagua Javier wrote: On Sun, 2004-12-12 at 12:28 -0600, Raul Carolus wrote: Greetings all. I have a aspx, with codebehind, that i'm trying to get tabcontrol-like behavior on. I have everything working, except for the visual effects to determine what tab is selected. I'm using buttons as the tabs, and setting their CssClass to indicate whether the button is selected or not. I use a Session variable to store what button is selected. Using Session is not the most appropiate for that. You can also take a look at how this is done in xsp/test/tabcontrol2.aspx. Yeah, probably not. view state is probably better. I'm just trying to get it to work. I'll take a look at the example. However, when the page loads or does a postback, I'm always getting null references when working with the buttons. It would help if we can also see the stack traces you're getting. Ok, here it is - I get it when the page loads. System.NullReferenceException: Object reference not set to an instance of an object in 0x00045 StudentsPage:Page_Load (object,System.EventArgs) in 0x00069 (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) in 0x00086 System.Web.UI.Control:OnLoad (System.EventArgs) in 0x00024 System.Web.UI.Control:LoadRecursive () in 0x00198 System.Web.UI.Page:InternalProcessRequest () in 0x000c2 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext) in 0x002eb ExecuteHandlerState:Execute () in 0x00084 StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool) -Gonzalo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] asp.net master pages
I couldn't find the component status listing on the mono home page, so I'll ask the list - I saw an email from back in april saying that master pages wouldn't be supported for a while yet, and I'm wondering if they're done or what time frame they're on. I tried it just now with 1.0.1 and it said master was invalid as an attribute. Could someone shed some light on this for me? Thanks, Raul ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] 500 errors with mod_mono
System.ArgumentException: The path is not of a legal form Is the over all error I get with my codebehind asp.net project (started on visual studio, want to see if I can run it on mono). It runs on windows. I've compiled the code on the linux box into a .dll and have placed it in the bin directory. I can get one page to load (the simple login page), but my Default.aspx gives me the above error. I've installed 1.0 (downloaded it last night). If anyone can give me some guidance, that'd be great. The rest of the error follows. Thanks, Raul Parameter name: path in 0x000a1 System.IO.Path:GetFullPath (string) in 0x00044 System.Web.Caching.CacheDependency:CreateWatcher (string) in 0x003c7 System.Web.Caching.CacheDependency:.ctor (string[],string[],System.Web.Caching.CacheDependency,System.DateTime) in 0x0002b System.Web.Caching.CacheDependency:.ctor (string[]) in 0x00276 System.Web.Compilation.CachingCompiler:Compile (string,string,string,System.Collections.ArrayList) in 0x000c9 System.Web.UI.TemplateParser:GetAssemblyFromSource (string) in 0x00118 System.Web.UI.TemplateParser:ProcessMainAttributes (System.Collections.Hashtable) in 0x000d2 System.Web.UI.TemplateControlParser:ProcessMainAttributes (System.Collections.Hashtable) in 0xd System.Web.UI.UserControlParser:ProcessMainAttributes (System.Collections.Hashtable) in 0x000c4 System.Web.UI.TemplateParser:AddDirective (string,System.Collections.Hashtable) in 0x006d4 System.Web.UI.TemplateControlParser:AddDirective (string,System.Collections.Hashtable) in 0x00159 System.Web.Compilation.AspGenerator:TagParsed (System.Web.Compilation.ILocation,System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) in 0x00085 (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_ILocation_TagType_string_TagAttributes (System.Web.Compilation.ILocation,System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) in 0x00037 System.Web.Compilation.AspParser:OnTagParsed (System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) in 0x0020f System.Web.Compilation.AspParser:Parse () in 0x00021 System.Web.Compilation.AspGenerator:DoParse () in 0x00103 System.Web.Compilation.AspGenerator:GetCompiledType () in 0x00036 System.Web.UI.UserControlParser:CompileIntoType () in 0x00041 System.Web.UI.UserControlParser:GetCompiledType (string,string,System.Web.HttpContext) in 0x0044d System.Web.UI.TemplateControlParser:AddDirective (string,System.Collections.Hashtable) in 0x00159 System.Web.Compilation.AspGenerator:TagParsed (System.Web.Compilation.ILocation,System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) in 0x00085 (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_ILocation_TagType_string_TagAttributes (System.Web.Compilation.ILocation,System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) in 0x00037 System.Web.Compilation.AspParser:OnTagParsed (System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) in 0x0020f System.Web.Compilation.AspParser:Parse () in 0x00021 System.Web.Compilation.AspGenerator:DoParse () in 0x00103 System.Web.Compilation.AspGenerator:GetCompiledType () in 0x00036 System.Web.UI.PageParser:CompileIntoType () in 0x00018 System.Web.UI.TemplateControlParser:GetCompiledInstance () in 0x00050 System.Web.UI.PageParser:GetCompiledPageInstance (string,string,System.Web.HttpContext) in 0x00011 System.Web.UI.PageHandlerFactory:GetHandler (System.Web.HttpContext,string,string,string) in 0x0033d System.Web.HttpApplication:CreateHttpHandler (System.Web.HttpContext,string,string,string) in 0x0011f CreateHandlerState:Execute () in 0x00084 StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool) ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list