Error in Master Page

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.
7/24/2012 7:01:04 AM
Gravatar
Total Posts 2

Error in Master Page

hi

i have make a website in mojoportal and he is working fine but now i want to modify some pages and when open pages open in visual studio 2010 web developer express then it gives error please help me..

Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: 'mojoPortal.Features.UI.layout' is not allowed here because it does not extend class 'System.Web.UI.MasterPage'.

Source Error:Line 1:  <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="~/App_MasterPages/layout.Master.cs"
 

Line 2:      Inherits="mojoPortal.Features.UI.layout" %>
Line 3:
Source File: /App_MasterPages/layout.Master    Line: 1

 

 

 

Thanks

7/24/2012 9:36:13 AM
Gravatar
Total Posts 18439

Re: Error in Master Page

You cannot run the features project as a standalone web app. It can only run in the context of mojoPortal.Web project. Set mojoPortal.Web as the startup project if you are using the source code. A post build event copies the needed files from mojoPortal.Features to the Web folder.

I'm also not sure you will have much luck using the source code with VS Express, you may qualify to get a free copy of VS 2010 Pro from the Web Site Spark program.

You should also avoid forking the code.

7/25/2012 7:17:54 AM
Gravatar
Total Posts 2

Re: Error in Master Page

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