"unrecognized configuration section pages" ERROR message

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
12/21/2010 4:53:49 AM
Gravatar
Total Posts 9

"unrecognized configuration section pages" ERROR message

Hi

    I am new to MojoPortal and learning using videos tutorials. While working with Guestbook application in tutorials when I add code generated from "CodeSmith" to GuestBook.ascx file I get

"unrecognized configuration section pages"  for <mp: , <portal:  tags. I included follwing in my web.config but doesn't help

 

<pages validateRequest="false" enableViewStateMac="false" viewStateEncryptionMode="Auto" maxPageStateFieldLength="100" controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
<namespaces>
<add namespace="System.Globalization"/>
<add namespace="mojoPortal.Business"/>
<add namespace="mojoPortal.Business.WebHelpers"/>
<add namespace="mojoPortal.Web"/>
<add namespace="mojoPortal.Web.Controls"/>
<add namespace="mojoPortal.Web.Framework"/>
<add namespace="mojoPortal.Web.UI"/>
</namespaces>
<controls>
<add tagPrefix="portal" namespace="mojoPortal.Web.UI" assembly="mojoPortal.Web"/>

<add tagPrefix="mp" namespace="mojoPortal.Web.Controls" assembly="mojoPortal.Web.Controls"/>
<add tagPrefix="mpe" namespace="mojoPortal.Web.Editor" assembly="mojoPortal.Web.Editor"/>
<add tagPrefix="ext" namespace="mojoPortal.Web.Controls.ExtJs" assembly="mojoPortal.Web.Controls"/>
<add tagPrefix="goog" namespace="mojoPortal.Web.Controls.google" assembly="mojoPortal.Web.Controls"/>
<add tagPrefix="portal" tagName="ChildPageMenu" src="~/Controls/ChildPageMenu.ascx"/>
<add tagPrefix="portal" tagName="Breadcrumbs" src="~/Controls/BreadcrumbsControl.ascx"/>
<add tagPrefix="portal" tagName="SearchInput" src="~/Controls/SearchInput.ascx"/>
<add tagPrefix="portal" tagName="SiteMenu" src="~/Controls/SiteMenu.ascx"/>
<add tagPrefix="portal" tagName="StyleSheet" src="~/Controls/StyleSheet.ascx"/>
<add tagPrefix="portal" tagName="StyleSheetCombiner" src="~/Controls/StyleSheetCombiner.ascx"/>
<add tagPrefix="portal" tagName="MetaContent" src="~/Controls/MetaContent.ascx"/>
<add tagPrefix="portal" tagName="PageMenu" src="~/Controls/PageMenu.ascx"/>
<add tagPrefix="portal" tagName="MembershipStatistics" src="~/Controls/MembershipStatisticsControl.ascx"/>
<add tagPrefix="portal" tagName="OnlineStatistics" src="~/Controls/OnlineStatisticsControl.ascx"/>
<add tagPrefix="portal" tagName="OnlineMemberList" src="~/Controls/OnlineMemberListControl.ascx"/>
<add tagPrefix="portal" tagName="ModuleWrapper" src="~/Controls/ModuleWrapper.ascx"/>
<add tagPrefix="portal" tagName="OpenIDLoginControl" src="~/Controls/OpenIDLoginControl.ascx"/>
<add tagPrefix="portal" tagName="WindowsLiveLoginControl" src="~/Controls/WindowsLiveLoginControl.ascx"/>
<add tagPrefix="portal" tagName="SubscriberPreferences" src="~/Controls/SubscriberPreferencesControl.ascx"/>
<add tagPrefix="portal" tagName="GCheckoutLogList" src="~/Controls/GCheckoutLogList.ascx"/>
<add tagPrefix="portal" tagName="OrderStatusSetting" src="~/Controls/OrderStatusSetting.ascx"/>
<add tagPrefix="portal" tagName="PaymentAcceptanceMark" src="~/Controls/PaymentAcceptanceMark.ascx"/>
<add tagPrefix="portal" tagName="SignInOrRegisterPrompt" src="~/Controls/SignInOrRegisterPrompt.ascx"/>
<add tagPrefix="portal" tagName="PageLastModified" src="~/Controls/PageLastModified.ascx"/>
<add tagPrefix="portal" tagName="mojoRating" src="~/Controls/mojoRating.ascx"/>
<add tagPrefix="portal" tagName="ColorSetting" src="~/Controls/ColorSetting.ascx"/>
<add tagPrefix="portal" tagName="GMapTypeSetting" src="~/Controls/GMapTypeSetting.ascx"/>
<add tagPrefix="portal" tagName="GMapZoomLevelSetting" src="~/Controls/GMapZoomLevelSetting.ascx"/>
<add tagPrefix="portal" tagName="Woopra" src="~/Controls/WoopraScript.ascx"/>
<add tagPrefix="portal" tagName="ImageCropper" src="~/Controls/ImageCropper.ascx"/>
<add tagPrefix="portal" tagName="Subscribe" src="~/Controls/Subscribe.ascx"/>
<add tagPrefix="portal" tagName="BingSearchControl" src="~/Controls/Microsoft/BingSearchControl.ascx"/>
<add namespace="Brettle.Web.NeatUpload" assembly="Brettle.Web.NeatUpload" tagPrefix="NeatUpload"/>
<add namespace="Brettle.Web.NeatUpload" assembly="Brettle.Web.NeatUpload.GreyBoxProgressBar" tagPrefix="GreyBoxUpload"/>
<add namespace="Brettle.Web.NeatHtml" assembly="Brettle.Web.NeatHtml" tagPrefix="NeatHtml"/>
<add namespace="DayPilot.Web.Ui" assembly="DayPilot" tagPrefix="dp"/>
<add namespace="TimelineNet" assembly="TimelineNet" tagPrefix="tl"/>
<add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>
<add namespace="AjaxControlToolkit.HTMLEditor" assembly="AjaxControlToolkit" tagPrefix="HTMLEditor" />

<add namespace="ZedGraph.Web" assembly="ZedGraph.Web" tagPrefix="zgw"/>

</controls>
<tagMapping>
<!-- Had to revert due to this bug http://www.codeplex.com/AjaxControlToolkit/WorkItem/View.aspx?WorkItemId=17574
which affected Form Wizard Pro
<add tagType="System.Web.UI.ScriptManager" mappedTagType="System.Web.UI.AjaxScriptManager" />
-->
<add tagType="System.Web.UI.WebControls.WebParts.WebPartManager" mappedTagType="Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager"/>
<add tagType="System.Web.UI.WebControls.WebParts.WebPartZone" mappedTagType="Microsoft.Web.Preview.UI.Controls.WebParts.WebPartZone"/>
</tagMapping>
</pages>

 

Please help to fix that.

 

12/30/2010 1:04:07 AM
Gravatar
Total Posts 9

Re: "unrecognized configuration section pages" ERROR message

Sorry to disturb forum users. It was a small issue that I had put <pages> -------</pages> outside <system.web> . It is fixed.

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