Parser Error in mpw:mojoWebPartManager

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
2/19/2009 6:32:27 AM
Gravatar
Total Posts 2

Parser Error in mpw:mojoWebPartManager

I'm install mojoPortal in Debian with mono 1.9.1 Postgre 8.3 and Apache2, all process ok, the database is create, the Setup/Default.aspx with Ensuring all features are installed in server admin sites... - 00:00:03.3106380, but when I try to load the main portal I get the next error:

Parser Error

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

Parser Error Message: Type not found.

Source Error:

Line 22: <mp:HelpLinkButton runat="server" id="HelpLinkButton1" HelpKey="mypagehelp" ImageUrl="~/Data/SiteImages/FeatureIcons/help.gif" />
Line 23:
Line 24: <mpw:mojoWebPartManager ID="WebPartManager1" runat="server" Personalization-Enabled="true" />
Line 25: <asp:Repeater ID="rptUserPageMenu" runat="server">
Line 26: <HeaderTemplate>


Source File: /var/www/myportal/MyPage.aspx Line: 24

 

What is the problem??

2/19/2009 6:36:09 AM
Gravatar
Total Posts 18439

Re: Parser Error in mpw:mojoWebPartManager

You need to use the mojoPortal package that is compiled for Mono, it leaves out WebParts which are not implemented in Mono. See the list of download files and look for the "for-mono" release files. Not sure how well it will work with mono 1.9.1.

Hope it helps,

Joe 

2/19/2009 6:37:13 AM
Gravatar
Total Posts 18439

Re: Parser Error in mpw:mojoWebPartManager

You can also safely delete the /MyPage.aspx page as this can't be used in Mono. 

2/19/2009 7:07:49 AM
Gravatar
Total Posts 2

Re: Parser Error in mpw:mojoWebPartManager

Yes, the realease installed is for mono.

You say: Not sure how well it will work with mono 1.9.1. Which version it the perfect version??

I deleted MyPage.aspx and It need Silverligh, I copy the dll in bin, but I get other error:

 

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: /var/www/uclmieee.org/ChooseContent.aspx(7,66) : error CS1026: Expected `,' or `)': `if' is a keyword
/var/www/uclmieee.org/ChooseContent.aspx(7,75) : error CS1002: Expecting `;'
/tmp/www-data-temp-aspnet-0/6b428b52/App_Web_3af0331_13.cs(35,18) : error CS0101: The namespace `ForumView' already contains a definition for `aspx'
(0,0) : error : /tmp/www-data-temp-aspnet-0/6b428b52/App_Web_3af0331_12.cs(35,18): (Location of the symbol related to previous error)

Source Error:

Line 5: <asp:Content ID="MPLeftPane" ContentPlaceHolderID="leftContent" runat="server">
Line 6: </asp:Content>
Line 7: <asp:Content ID="MPContent" ContentPlaceHolderID="mainContent" runat="server">
Line 8: <% #if!MONO %>
Line 9: <asp:DataList ID="dlWebParts" runat="server"


Source File: /var/www/uclmieee.org/ChooseContent.aspx Line: 7

Show Complete Compilation Source:

Line 1: <%@ Page Language="C#" MasterPageFile="~/App_MasterPages/layout.Master" AutoEventWireup="false" CodeBehind="ChooseContent.aspx.cs" Inherits="mojoPortal.Web.UI.Pages.ChooseContent" Title="Untitled Page" %>
Line 2:
Line 3: <asp:Content ID="MPPageEdit" ContentPlaceHolderID="pageEditContent" runat="server">
Line 4: </asp:Content>
Line 5: <asp:Content ID="MPLeftPane" ContentPlaceHolderID="leftContent" runat="server">
Line 6: </asp:Content>
Line 7: <asp:Content ID="MPContent" ContentPlaceHolderID="mainContent" runat="server">
Line 8: <% #if!MONO %>
Line 9: <asp:DataList ID="dlWebParts" runat="server"
Line 10: RepeatColumns="3"
Line 11: RepeatDirection="vertical">
Line 12: <ItemTemplate>
Line 13: <img alt='<%# Eval("ModuleTitle")%>' src='<%# ImageSiteRoot + "/Data/SiteImages/FeatureIcons/" + GetIcon(Eval("ModuleIcon").ToString(),Eval("FeatureIcon").ToString())%>' />
Line 14: <%# Eval("ModuleTitle")%>
Line 15: <asp:Button ID="lnkAddToMyPage" runat="server" cssclass="buttonlink"
Line 16: CommandName='<%# GetCommandName(Convert.ToInt32(Eval("ModuleID")),Eval("WebPartID").ToString()) %>'
Line 17: CommandArgument='<%# GetCommandArgument(Convert.ToInt32(Eval("ModuleID")),Eval("WebPartID").ToString()) %>'
Line 18: Text='<%# Resources.Resource.ChooseContentAddToMyPageLink %>' ToolTip='<%# Resources.Resource.ChooseContentAddToMyPageLink %>' />
Line 19: </ItemTemplate>
Line 20: </asp:DataList>
Line 21: <% #endif %>
Line 22:
Line 23: </asp:Content>
Line 24: <asp:Content ID="MPRightPane" ContentPlaceHolderID="rightContent" runat="server">
Line 25: </asp:Content>

 

 

2/19/2009 7:21:20 AM
Gravatar
Total Posts 18439

Re: Parser Error in mpw:mojoWebPartManager

My release package for mono does not need silverlight and does not give that webpart error at least on the latest mono.

The best version of mono is always the newest, for the very best I recommend you build mono from svn then if you find bugs in mono you can report them and get the fix and rebuild. Unfortunately there are bugs in mono, it keeps getting better but it still has bugs. I do not test new versions of mojoportal on old versions of mono so I don't know how well it can work with mono 1.9.1

Hope it helps,

Joe

 

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