Could not load type 'mojoportal.Web.UI.Yuigridview'

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.
8/17/2011 2:28:07 AM
Gravatar
Total Posts 70

Could not load type 'mojoportal.Web.UI.Yuigridview'

Joe,

Open the solution mojoportal.net35 made changes on the Web\Controls\Sitelogin.cs.

Build the solution successfully. 

I updated the mojoPortal.Web.dll on my deployed files. 

Got the error Could not load type 'mojoportal.Web.UI.Yuigridview'.

Did I miss a file that needs to be updated?

 

 

Thanks.

 

 

8/17/2011 5:50:57 AM
Gravatar
Total Posts 18439

Re: Could not load type 'mojoportal.Web.UI.Yuigridview'

We have not used YUI controls in mojoPortal for a long time so we removed some of those files. In the repository the Web\Controls\YUI folder has been excluded from the mojoPortal.Web project and the files have been removed. So it sounds like you either don't have the latest version from the repository or somehow your copy of the project file did not exclude those files. You just need to right click the /Controls/YUI folder in Solution Explorer and choose exclude files. If you get any other similar errors just find the reference to the missing file and remove it.

Hope that helps,

Joe

8/17/2011 9:57:27 PM
Gravatar
Total Posts 70

Re: Could not load type 'mojoportal.Web.UI.Yuigridview'

Joe,

After excluding the files. I still encounter the same error.

I comment out the lines on App_Browsers\CSSFriendlyAdapters.browser     like

<adapter controlType="mojoPortal.Web.UI.YuiGridView" adapterType="mojoPortal.Web.GridViewAdapter"/> 

my error changes to 

Method not found:'Boolean mojoPortal.Web.Framework.StringHelper.ContainsCaseSensitive(System.String, Sytem.String)'.

I updated the mojoPortal.Web.Framework.dll and mojoportal.Business.dll... then mojoportal setup runs...

Probing system...
File system permissions ok.
MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema needs upgrade.
3 site(s) found.

 

What files do I need to update to resolve these?

 

Thanks.

 

 

 

8/18/2011 6:33:21 AM
Gravatar
Total Posts 18439

Re: Could not load type 'mojoportal.Web.UI.Yuigridview'

you clearly do not have all the latest files up to date.

you should revert any changes you made, pull the latest changes, then do HG Update to apply those changes to your working copy, then rebuild the solution

8/22/2011 4:24:29 AM
Gravatar
Total Posts 70

Re: Could not load type 'mojoportal.Web.UI.Yuigridview'

Hello Joe,

I've downloaded the latest copy of raw files of mojoPortal. Setup the newest version release 2.3.6.7 deployment files, but still encounters the same error.

Probing system...
File system permissions ok.
MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema needs upgrade.
3 site(s) found.

what can be the caused of this error?

 

Thanks

 

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