Upgrade on openSUSE 10.3 issues

mojoPortal is no longer supported on mono. This forum is here for archival purposes.

This thread is closed to new posts. You must sign in to post in the forums.
9/23/2008 2:21:35 PM
Gravatar
Total Posts 30

Re: Upgrade on openSUSE 10.3 issues

I'm running mono 1.9.1-3.1 and using the RPM built by the Mono team.  I'll try deleting the files now.

9/23/2008 2:43:20 PM
Gravatar
Total Posts 30

Re: Upgrade on openSUSE 10.3 issues

Joe, as always your dedication and supreme knowledge has paid off

After deleteing the mentioned files I now have access, many many thanks.

9/23/2008 2:53:59 PM
Gravatar
Total Posts 18439

Re: Upgrade on openSUSE 10.3 issues

Cool, glad it worked. The reason for the problem and why that fixed it is that Mono implemented batch JIT compilation recently, and even though the WebPart stuff is left out of the dlls in the /bin folder, Mono was finding those .aspx, and .ascx files and trying to JIT compile them and since one or more of them have references to WebParts the JIT compilation was failing. Before they implemented the batch compilation it never JIT compiled anything until a request came in for the file, but now it crawls around and finds all the files and tries to JIT compile them all in a batch on the first request. So we have to get rid of these files. The Mono team has a solution for this as mentioned here, so I can resolve this also with web.config settings. Actually I did resolve it before but looking at the documentation they changed it since my initial look at it so my fix needs to be updated for their new implementation, thats why its not working. The new fix is much easier anyway. By marking some ignore paths we won't have to worry about deleting those files.

Best,

Joe

9/23/2008 3:41:07 PM
Gravatar
Total Posts 30

Re: Upgrade on openSUSE 10.3 issues

Joe, sorry to be a pain in the rear but I managed to break things again

I decided to go for a fresh start, so I uninstalled mojoPortal dropped the DBs and re-installed/created the DB.  I went through Web.config and edited all the settings and browsed to the setup page, again all went well so far.

When I go to access my site it gave me the error page, so I moved the previously mentioned files and disabled the custom errors.  I now get:

Compilation Error

Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.

Compiler Error Message: (0,0) : error CS0006: cannot find metadata file `/tmp/wwwrun-temp-aspnet-0/929e6e02/assembly/shadow/eb593da3/7651124c_9d082fef_00000002/log4net.dll'

/mojoportal/Global.asax

 

 

9/24/2008 5:37:01 AM
Gravatar
Total Posts 18439

Re: Upgrade on openSUSE 10.3 issues

Have tried doing killall mono, or restarting apache or rebooting? Does the problem persist after a reboot?

Sometime when you make a lot of changes to asp.net files and dlls on Mono files things get out of sync in the tempfiles and restarting can clear that out.

Hope it helps,

Joe

9/24/2008 6:36:44 AM
Gravatar
Total Posts 30

Re: Upgrade on openSUSE 10.3 issues

The problem did persist after reboot, but after moving the aformentioned files back and forth I got the default homepage.  When I tried to login however I was greeted with:

Cannot find type mojoPortal.Web.ModuleWrapper

Description: HTTP 500. Error processing request.

Stack Trace:

System.Web.Compilation.ParseException: Cannot find type mojoPortal.Web.ModuleWrapper
  at System.Web.UI.BaseParser.ThrowParseException (System.String message, System.Object[] parms) [0x00000] 
  at System.Web.UI.TemplateParser.SetBaseType (System.String type) [0x00000] 
  at System.Web.UI.TemplateParser.ProcessMainAttributes (System.Collections.Hashtable atts) [0x00000] 
  at System.Web.UI.TemplateControlParser.ProcessMainAttributes (System.Collections.Hashtable atts) [0x00000] 
  at System.Web.UI.UserControlParser.ProcessMainAttributes (System.Collections.Hashtable atts) [0x00000] 
  at System.Web.UI.TemplateParser.AddDirective (System.String directive, System.Collections.Hashtable atts) [0x00000] 
  at System.Web.UI.TemplateControlParser.AddDirective (System.String directive, System.Collections.Hashtable atts) [0x00000] 
  at System.Web.Compilation.AspGenerator.TagParsed (ILocation location, TagType tagtype, System.String tagid, System.Web.Compilation.TagAttributes attributes) [0x00000] 
  at System.Web.Compilation.AspParser.OnTagParsed (TagType tagtype, System.String id, System.Web.Compilation.TagAttributes attributes) [0x00000] 
  at System.Web.Compilation.AspParser.Parse () [0x00000] 
  at System.Web.Compilation.AspGenerator.Parse (System.String file, Boolean doInitParser) [0x00000] 
  at System.Web.Compilation.AspGenerator.Parse (System.String file) [0x00000] 
  at System.Web.Compilation.AspGenerator.Parse () [0x00000] 
  at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].Parse () [0x00000] 
  at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].get_CodeCompilerType () [0x00000] 
  at System.Web.Compilation.BuildManager.GetCodeDomProviderType (System.Web.Compilation.BuildProvider provider) [0x00000] 
  at System.Web.Compilation.BuildManager+BuildItem..ctor (System.Web.Compilation.BuildProvider provider) [0x00000] 
  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) [0x00000] 
  at System.Web.Compilation.BuildManager.BuildAssembly (System.String virtualPath) [0x00000] 
  at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x00000] 
  at System.Web.UI.TemplateControl.GetTypeFromControlPath (System.String virtualPath) [0x00000] 
  at System.Web.UI.TemplateControl.LoadControl (System.String virtualPath) [0x00000] 
  at mojoPortal.Web.UI.Pages.LoginPage.OnInit (System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] 

 

9/24/2008 6:46:53 AM
Gravatar
Total Posts 18439

Re: Upgrade on openSUSE 10.3 issues

Try deleting /Controls/ModuleWrapper.ascx

Hope it helps,

Joe

9/24/2008 7:24:43 AM
Gravatar
Total Posts 30

Re: Upgrade on openSUSE 10.3 issues

Looks like I'm getting somewhere slowly.  After deleting /Controls/ModuleWrapper.ascx I now get:

Object reference not set to an instance of an object

Description: HTTP 500. Error processing request.

Stack Trace:

System.NullReferenceException: Object reference not set to an instance of an object
  at mojoPortal.Web.UI.WindowsLiveLoginControl.LoadSettings () [0x00000] 
  at mojoPortal.Web.UI.WindowsLiveLoginControl.Page_Load (System.Object sender, System.EventArgs e) [0x00000] 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Page.ProcessLoad () [0x00000] 
  at System.Web.UI.Page.ProcessPostData () [0x00000] 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] 
9/24/2008 7:30:34 AM
Gravatar
Total Posts 18439

Re: Upgrade on openSUSE 10.3 issues

Try changing this to false in Web.config or user.config

<add key="EnableWindowsLiveAuthentication" value="true" />

Hope it helps,

Joe

9/24/2008 7:59:27 AM
Gravatar
Total Posts 30

Re: Upgrade on openSUSE 10.3 issues

By default it is disabled with a note of <!-- this feature is not ready for use so leave it false -->. I haven't changed it either.

9/24/2008 8:06:13 AM
Gravatar
Total Posts 18439

Re: Upgrade on openSUSE 10.3 issues

What version of mojoPortal are you using? That comment is not in the newest version and is also defaulted to true.

You must sign in to post in the forums. This thread is closed to new posts.