error

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.
9/11/2008 7:53:24 AM
Gravatar
Total Posts 26

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: The type 'mojoPortal.Web.layout' is ambiguous: it could come from assembly 'C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Web\bin\mojoPortal.Web.DLL' or from assembly 'C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Web\bin\Myproj.UI.DLL'. Please specify the assembly explicitly in the type name.

Source Error:


Line 1: <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="~/App_MasterPages/layout.Master.cs" Inherits="mojoPortal.Web.layout" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 

Source File: /App_MasterPages/layout.Master Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

9/11/2008 7:57:48 AM
Gravatar
Total Posts 18439

Re: error

In the layout.master.cs fle in your custom project you need to change the namespace so its not mojoPortal.Web.

In the layout.master file you need to change Inherits="... to your custom namespace as well.

Hope it helps,

Joe

9/11/2008 8:31:35 AM
Gravatar
Total Posts 26

Re: error

Is it necessary to copy all the controls from mojoportal.web..to my custom projet

& all files from bin to my custom project bin directory

plz help with this..

currently i m getting error..

Error 14 The type or namespace name 'DotNetOpenId' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\OpenIDLoginControl.ascx.cs 10 7 Myproj.UI
 

Error 4 The type or namespace name 'GCheckout' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\mojoGCheckoutButton.cs 6 7 Myproj.UI
Error 5 The type or namespace name 'GCheckout' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\mojoGCheckoutButton.cs 7 7 Myproj.UI
Error 6 The type or namespace name 'GCheckout' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\mojoGCheckoutButton.cs 8 7 Myproj.UI
Error 7 The type or namespace name 'DotNetOpenId' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\mojoOpenIdLogin.cs 24 7 Myproj.UI
Error 8 The type or namespace name 'OpenIdTextBox' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\mojoOpenIdLogin.cs 32 36 Myproj.UI
Error 9 The type or namespace name 'DotNetOpenId' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\mojoOpenIdRegister.cs 24 7 Myproj.UI
Error 10 The type or namespace name 'OpenIdTextBox' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\mojoOpenIdRegister.cs 33 39 Myproj.UI
Error 11 The type or namespace name 'Preview' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\mojoWebPartManager.cs 8 21 Myproj.UI
Error 12 The type or namespace name 'Preview' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\mojoWebPartManager.cs 12 53 Myproj.UI
Error 13 The type or namespace name 'DotNetOpenId' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\OpenIDLoginControl.ascx.cs 9 7 Myproj.UI
Error 14 The type or namespace name 'DotNetOpenId' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\OpenIDLoginControl.ascx.cs 10 7 Myproj.UI
Error 15 The type or namespace name 'DotNetOpenId' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\OpenIDLoginControl.ascx.cs 11 7 Myproj.UI
Error 60 The type or namespace name 'EnvironmentType' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\mojoGCheckoutButton.cs 136 19 Myproj.UI
Error 62 The type or namespace name 'CheckoutShoppingCartRequest' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\mojoGCheckoutButton.cs 331 16 Myproj.UI
Error 63 The type or namespace name 'Preview' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\mojoWebPartManager.cs 16 27 Myproj.UI
Error 64 The type or namespace name 'OpenIdEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\OpenIDLoginControl.ascx.cs 91 61 Myproj.UI
Error 65 The type or namespace name 'OpenIdEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\OpenIDLoginControl.ascx.cs 171 37 Myproj.UI
Error 66 The type or namespace name 'OpenIdEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\OpenIDLoginControl.ascx.cs 288 45 Myproj.UI
Error 67 The type or namespace name 'OpenIdEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\OpenIDLoginControl.ascx.cs 305 51 Myproj.UI
Error 68 The type or namespace name 'OpenIdEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\OpenIDLoginControl.ascx.cs 310 49 Myproj.UI
Error 69 The type or namespace name 'OpenIdEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\amol.meghe\Desktop\mojoportal\mojoportal\Myproj.UI\Controls\OpenIDLoginControl.ascx.cs 380 37 Myproj.UI
 

 

9/11/2008 10:30:37 AM
Gravatar
Total Posts 18439

Re: error

No, you just need to add a reference to projects like mojoPortal.Web, mojoPortal.Web.Controls, mojoPortal.Web.Framework, mojoPortal.Business, mojoPortal.Business.WebHelpers etc depending on what you are using in your own project.

Hope it helps,

Joe

9/12/2008 1:04:46 AM
Gravatar
Total Posts 26

Re: exception

hi

joe

currently I m customizing this mojo for my persoanl portal..my project name is myproj.ui....when i compile this project & run it..it is giving an error as

cachehelper.cs ...file not found or directory not found..so ijust want to know tht is it necessary to copy the data folder also in myproj.ui..

The exception i m geting is...

Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Inetpub\wwwroot\MojoPortal\Data\Sites\1\systemfiles\sitesettingscachedependecy.config'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

plz help for this...

virendra

 

 

 

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