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/19/2008 8:32:34 AM
Gravatar
Total Posts 30

Upgrade on openSUSE 10.3 issues

Thankfully the openSUSE RPMs have been updated after skipping a few releases.  Problem is I now have an unuseable site   I upgraded (well tried to) from mojoportal-2.2.4.6.b to mojoportal-2.2.6.8.  After getting the DB confirmation screen saying that all is well, I cant get passed the default error page:

We're sorry but a server error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page.

I see that the package creates a new directory structure, so would I have to copy all files from the old to the new before the site will work again?

9/19/2008 8:41:35 AM
Gravatar
Total Posts 18439

Re: Upgrade on openSUSE 10.3 issues

It might be possible to resolve the error.

You should look in the /Data/currentlog.config file to fnd out what the error is. The newest error will be at the bottom of the file.

Also, see the notes about upgrading from very old versions here:

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

Hope it helps,

Joe

9/22/2008 3:13:01 PM
Gravatar
Total Posts 30

Re: Upgrade on openSUSE 10.3 issues

Joe,

My simple mind tells me it's because the skin I used no longer exists in the newly installed version, my log shows:

2008-09-22 20:04:59,581 [-1253049456] ERROR mojoPortal.Web.UI.Pages.SiteHome [(null)] - Error setting master page. Will try settingto default skin
System.Web.HttpException: The file '/mojoportal/Data/Sites/1/skins/Wafaa/layout.Master' does not exist.
at System.Web.Compilation.BuildManager.AssertVirtualPathExists (System.String virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.BuildAssembly (System.String virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.String virtualPath, System.Type requiredBaseType) [0x00000]
at System.Web.UI.MasterPage.CreateMasterPage (System.Web.UI.TemplateControl owner, System.Web.HttpContext context, System.String masterPageFile, IDictionary contentTemplateCollection) [0x00000]
at System.Web.UI.Page.get_Master () [0x00000]
at mojoPortal.Web.UI.Pages.SiteHome.SetupMasterPage () [0x00000]
at mojoPortal.Web.UI.Pages.SiteHome.OnPreInit (System.EventArgs e) [0x00000]
2008-09-22 20:04:59,782 [-1253049456] ERROR mojoPortal.Web.mojoBasePage [(null)] - 192.168.1.46-en-GB - /mojoportal/Default.aspx
System.Web.Compilation.ParseException: The parent type 'mojoPortal.Web.WebPartUI.WebPartModule' does not derive from System.Web.UI.UserControl
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.CachedSiteModuleControl.CreateChildControls () [0x00000]
at System.Web.UI.Control.EnsureChildControls () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Page.ProcessLoadComplete () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
2008-09-22 20:04:59,797 [-1253049456] ERROR mojoPortal.Web.Global [(null)] - 192.168.1.46-en-GB - /mojoportal/Default.aspx
System.Web.Compilation.ParseException: The parent type 'mojoPortal.Web.WebPartUI.WebPartModule' does not derive from System.Web.UI.UserControl
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.CachedSiteModuleControl.CreateChildControls () [0x00000]
at System.Web.UI.Control.EnsureChildControls () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Page.ProcessLoadComplete () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
2008-09-22 20:04:59,798 [-1253049456] ERROR mojoPortal.Web.Global [(null)] - 192.168.1.46-en-GB - /mojoportal/Default.aspx
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Web.Compilation.ParseException: The parent type 'mojoPortal.Web.WebPartUI.WebPartModule' does not derive from System.Web.UI.UserControl
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.CachedSiteModuleControl.CreateChildControls () [0x00000]
at System.Web.UI.Control.EnsureChildControls () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Page.ProcessLoadComplete () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] --- End of inner exception stack trace ---

at System.Web.UI.Page.ProcessException (System.Exception e) [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x00000]
at System.Web.HttpApplication.Tick () [0x00000]
2008-09-22 20:04:59,921 [-1226036336] ERROR mojoPortal.Web.Global [(null)] - 192.168.1.46-en-GB - /mojoportal/Data/style/mojo1.css
System.Web.HttpException: Path '/mojoportal/Data/style/mojo1.css' was not found.
at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x00000]
at System.Web.HttpApplication.Tick () [0x00000]
2008-09-22 20:04:59,921 [-1226036336] ERROR mojoPortal.Web.Global [(null)] - 192.168.1.46-en-GB - /mojoportal/Data/style/mojo1.css
System.Web.HttpException: Path '/mojoportal/Data/style/mojo1.css' was not found.
at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x00000]
at System.Web.HttpApplication.Tick () [0x00000]
2008-09-22 20:05:00,040 [-1253049456] ERROR mojoPortal.Web.Global [(null)] - 192.168.1.46-en-GB - /mojoportal/Data/style/Error.htm?aspxerrorpath=/mojoportal/Data/style/mojo1.css
System.Web.HttpException: Path '/mojoportal/Data/style/Error.htm' was not found.

Am I correct in thinking that or am I way off track?  If I am correct how can I change the skin?

9/22/2008 3:16:30 PM
Gravatar
Total Posts 18439

Re: Upgrade on openSUSE 10.3 issues

Yes, there is even a note on the page I linked in a previous post recommending that you change to a built in skin before the upgrade.

You should look in the mp_Sites table and set the skin to "styleshout-brightsideoflife" or any of the included skins and that may get you past this error.

Hope it helps,

Joe

9/23/2008 7:42:46 AM
Gravatar
Total Posts 30

Re: Upgrade on openSUSE 10.3 issues

Ok I tried setting the skin to "styleshout-brightsideoflife" as suggested with no luck.  I also tried copying the old skin in and that failed.  I even tried using a new database and that produced:

2008-09-23 12:33:41,630 [-1255150704] ERROR mojoPortal.Web.Global [(null)] - 200.18.42.252-pt-BR - /mojoportal/Data/style/Error.htm?aspxerrorpath=/mojoportal/Data/style/mojo1.css
System.Web.HttpException: Path '/mojoportal/Data/style/Error.htm' was not found.
at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x00000]
at System.Web.HttpApplication.Tick () [0x00000]
2008-09-23 12:33:41,631 [-1255150704] ERROR mojoPortal.Web.Global [(null)] - 200.18.42.252-pt-BR - /mojoportal/Data/style/Error.htm?aspxerrorpath=/mojoportal/Data/style/mojo1.css
System.Web.HttpException: Path '/mojoportal/Data/style/Error.htm' was not found.
at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x00000]
at System.Web.HttpApplication.Tick () [0x00000]
2008-09-23 12:41:46,562 [-1250956400] ERROR mojoPortal.Web.mojoBasePage [(null)] - 192.168.1.46-en-GB - /mojoportal/Default.aspx
System.Web.Compilation.ParseException: The parent type 'mojoPortal.Web.WebPartUI.WebPartModule' does not derive from System.Web.UI.UserControl
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.CachedSiteModuleControl.CreateChildControls () [0x00000]
at System.Web.UI.Control.EnsureChildControls () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Page.ProcessLoadComplete () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
2008-09-23 12:41:46,576 [-1250956400] ERROR mojoPortal.Web.Global [(null)] - 192.168.1.46-en-GB - /mojoportal/Default.aspx
System.Web.Compilation.ParseException: The parent type 'mojoPortal.Web.WebPartUI.WebPartModule' does not derive from System.Web.UI.UserControl
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.CachedSiteModuleControl.CreateChildControls () [0x00000]
at System.Web.UI.Control.EnsureChildControls () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
at System.Web.UI.Page.ProcessLoadComplete () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]

Any clues?

9/23/2008 1:17:35 PM
Gravatar
Total Posts 18439

Re: Upgrade on openSUSE 10.3 issues

Are you experinecing an error or just seeing this in the logs? The error you posted is just a 404 file not found for a css file. That error should be trapped and logged but it has no impact on the site running.

Maybe there is some other more relevant error in the log?

What are you seeing in the browser?

 

9/23/2008 1:48:12 PM
Gravatar
Total Posts 30

Re: Upgrade on openSUSE 10.3 issues

I'm seeing exactly the same as before - standard mojoPortal error page.  The site should be www.forcev.net/mojoportal, but when i try and browse to it I hit the error and the url changes to www.forcev.net/mojoportal/Error.htm?aspxerrorpath=/mojoportal/Default.aspx.

The last log excerpt was taken as i browsed to the site (using tail -f).  I am unable to get to the site to login or anything.  The initial setup of the new db goes without a hitch, and I click on the link to go to my site and pop, it decides not to play nice.

9/23/2008 1:57:40 PM
Gravatar
Total Posts 18439

Re: Upgrade on openSUSE 10.3 issues

Thats just the custom error page we show so that hackers don't get to see any error detail.

Lets turn off that feature so you can see the error and then when its resolved you can enable it again.

Look for this in Web.config:

<customErrors mode="RemoteOnly" defaultRedirect="Error.htm">
<error statusCode="404" redirect="~/PageNotFound.aspx" />
</customErrors>

Change "RemoteOnly" to "Off" and this will allow you to see the real error that is causing the problem.

Hope it helps,

Joe

9/23/2008 2:09:33 PM
Gravatar
Total Posts 30

Re: Upgrade on openSUSE 10.3 issues

Ok, now I'm getting an Error500. The stack trace shows:

System.TypeLoadException: Could not load type 'mojoPortal.Web.WebParts.mojoWebPartManager'.
at (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType (System.Reflection.Module,string,bool,bool)
at System.Reflection.Assembly.GetType (System.String name, Boolean throwOnError, Boolean ignoreCase) [0x00000]
at System.Web.Compilation.AspComponentFoundry+AssemblyFoundry.GetType (System.String componentName) [0x00000]
at System.Web.Compilation.AspComponentFoundry.GetComponentType (System.String foundryName, System.String tag) [0x00000]
at System.Web.UI.RootBuilder.GetChildControlType (System.String tagName, IDictionary attribs) [0x00000]
at System.Web.UI.ControlBuilder.CreateSubBuilder (System.String tagid, System.Collections.Hashtable atts, System.Type childType, System.Web.UI.TemplateParser parser, ILocation location) [0x00000]
at System.Web.Compilation.AspGenerator.ProcessTag (System.String tagid, System.Web.Compilation.TagAttributes atts, TagType tagtype) [0x00000]

 

9/23/2008 2:14:36 PM
Gravatar
Total Posts 18439

Re: Upgrade on openSUSE 10.3 issues

What version of Mono are you using?

Are you using the mojoportal formono release files? These are compiled without WebParts which is not implemented in Mono.

If you are using the correct for mono version of mojoportal, then try deleting the files:

MyPage.aspx
/Admin/WebPartAdmin.aspx
/Admin/WebPartEdit.aspx
/Admin/WebPartModuleEdit.aspx
/Modules/WebPartModule.ascx

Hope it helps,

Joe

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.

9/24/2008 8:19:28 AM
Gravatar
Total Posts 30

Re: Upgrade on openSUSE 10.3 issues

I'm using 2.2.6.8 as I'm waiting for 2.2.7.3 to be packaged in the openSUSE Build Service

9/24/2008 8:25:28 AM
Gravatar
Total Posts 18439

Re: Upgrade on openSUSE 10.3 issues

Its easy to upgrade, just keep any config customizations in your user.config as discussed here.

Get the mojoportal-2-2-7-3-postgresqlreleasefiles-for-mono.zip. Copy all the files from the web folder into your webroot foder and visit /Setup/Default.aspx

No real reason to use the build service packages. Maybe the installer setup the apache and mono configuration and the database for you, but now that those things are already setup but nothing needs to change with that so upgrading is just getting the new files.

Hope it helps,

Joe

9/24/2008 9:27:28 AM
Gravatar
Total Posts 30

Re: Upgrade on openSUSE 10.3 issues

Genius!

Thanks for that all appears to be working now running on the latest release.

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