mojoPortal.Web assembly is not up-to-date.

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.
10/31/2009 11:31:09 PM
Total Posts 2

mojoPortal.Web assembly is not up-to-date.


I'm using the version and when i try to add a new page i get the following error:

Type mojoPortal.Web.AdminUI.PageSettingsSaved not found.


System.Web.HttpException: Type mojoPortal.Web.AdminUI.PageSettingsSaved not found.

at System.Web.UI.SimpleWebHandlerParser.GetTypeFromBin (System.String tname) [0x00000]

at System.Web.Compilation.SimpleBuildProvider.LoadTypeFromBin (System.Web.Compilation.BaseCompiler compiler, System.Web.UI.SimpleWebHandlerParser parser) [0x00000]

at System.Web.Compilation.GenericBuildProvider`1[TParser].GetGeneratedType (System.CodeDom.Compiler.CompilerResults results) [0x00000]

at System.Web.Compilation.BuildManager+BuildCacheItem..ctor (System.Reflection.Assembly assembly, System.Web.Compilation.BuildProvider bp, System.CodeDom.Compiler.CompilerResults results) [0x00000]

at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath virtualPath, BuildKind buildKind) [0x00000]

at System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath 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.SimpleHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String virtualPath, System.String path) [0x00000]

at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url, Boolean ignoreContextHandler) [0x00000]

at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000]

at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]

I opened the mojoportal.mds solution file and the files PageSettingsSaved.ashx and PageSettingsSaved.ashx.cs are not present in the mojoPortal.Web project.

I tried to build the solution (with mono after adding the missing files but i have a problem with Mono.Web.Util that i can't reference in project target to the 3.5 runtime.

Can you fix the linux package and tell me how can i build the solution, please.


11/1/2009 6:10:13 AM
Total Posts 18439

Re: mojoPortal.Web assembly is not up-to-date.


You are right, I forgot to include the files /Admin/PageSettingsSaved.ashx and /Admin/PageSettingsSaved.ashx.cs to the MonoDevelop project. I have fixed this in svn trunk. I will be making a new release within the next 2 weeks so I will have this fixed in the new release. I'm surprized no-one has reported this before.

If you branch down the mojoPortal.Web project then right click the Admin folder and choose Add Files, then browse and add those 2 files then rebuild it should work using the mojoportal.mds (but not the mojoportal.mono.sln)

It works for me using the Mono VMWare image and using mojoPortal from svn trunk. I don't know about any issue with Mono.Web.Util, it does not happen for me.

Note that the svn trunk version is pre-configured for Sqlite (because its zero configuration needed) whereas previously it was pre-configured for pgsql. You can change the references from the Business projects to the data projects for pgsql manually if you want to use pgsql.

Hope it helps,


11/1/2009 8:07:38 PM
Total Posts 2

Re: mojoPortal.Web assembly is not up-to-date.


You're right, with the mono version on the VMWare image the project build correctly.

It seems that the error come to my fedora box (version Leonidas 11). When i build the solution i get this:

The reference 'Mono.Web, Version=, Culture=neutral, PublicKeyToken=0738eb9f132ed756' is not valid for the target framework of the project.

But this is another story.


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