Build failed, Could not load type 'mojoPortal.Web.ContactUI.MessageListPage'.

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/5/2010 9:33:20 AM
Gravatar
Total Posts 35
---------------- Alexei V.

Build failed, Could not load type 'mojoPortal.Web.ContactUI.MessageListPage'.

I just downloaded the last version, 2-3-3-6, to test it with SQLexpress

anyway i run it from vs2008, but i had to comment the whole file: 

ContactForm/MessageList.aspx. Otherwise i get compilation error:

Could not load type 'mojoPortal.Web.ContactUI.MessageListPage'.  

 

------ Build started: Project: C:\...\wwwroot\, Configuration: Debug .NET ------
Validating Web Site
Building directory '/wwwroot/ClientScript/ckeditor31/adapters/'.
Building directory '/wwwroot/ClientScript/ckeditor31/lang/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/about/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/clipboard/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/colordialog/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/dialog/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/div/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/find/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/flash/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/forms/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/iframedialog/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/image/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/link/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/pastefromword/filter/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/pastetext/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/scayt/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/smiley/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/specialchar/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/stylescombo/styles/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/table/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/tabletools/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/templates/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/templates/templates/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/uicolor/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/uicolor/lang/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/uicolor/yui/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/uicolor/'.
Building directory '/wwwroot/ClientScript/ckeditor31/plugins/wsc/dialogs/'.
Building directory '/wwwroot/ClientScript/ckeditor31/skins/kama/'.
Building directory '/wwwroot/ClientScript/ckeditor31/skins/office2003/'.
Building directory '/wwwroot/ClientScript/ckeditor31/skins/v2/'.
Building directory '/wwwroot/ClientScript/ckeditor31/themes/default/'.
Building directory '/wwwroot/ClientScript/ckeditor31/'.
Building directory '/wwwroot/ClientScript/CSSFriendly/'.
Building directory '/wwwroot/ClientScript/DatePicker/'.
Building directory '/wwwroot/ClientScript/ddwindow/'.
Building directory '/wwwroot/ClientScript/edit_area0811/langs/'.
Building directory '/wwwroot/ClientScript/edit_area0811/plugins/charmap/jscripts/'.
Building directory '/wwwroot/ClientScript/edit_area0811/plugins/charmap/langs/'.
Building directory '/wwwroot/ClientScript/edit_area0811/plugins/charmap/'.
Building directory '/wwwroot/ClientScript/edit_area0811/plugins/test/langs/'.
Building directory '/wwwroot/ClientScript/edit_area0811/plugins/test/'.
Building directory '/wwwroot/ClientScript/edit_area0811/reg_syntax/'.
Building directory '/wwwroot/ClientScript/edit_area0811/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/dialog/common/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/dialog/fck_flash/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/dialog/fck_image/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/dialog/fck_link/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/dialog/fck_select/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/dialog/fck_spellerpages/spellerpages/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/dtd/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/filemanager/browser/default/js/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/js/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/lang/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/plugins/autogrow/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/plugins/bbcode/_sample/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/plugins/bbcode/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/plugins/dragresizetable/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/plugins/placeholder/lang/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/plugins/placeholder/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/plugins/simplecommands/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/plugins/tablecommands/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/skins/default/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/skins/office2003/'.
Building directory '/wwwroot/ClientScript/fckeditor265/editor/skins/silver/'.
Building directory '/wwwroot/ClientScript/fckeditor265/'.
Building directory '/wwwroot/ClientScript/firebug/'.
Building directory '/wwwroot/ClientScript/google/gears/'.
Building directory '/wwwroot/ClientScript/google/'.
Building directory '/wwwroot/ClientScript/greybox/'.
Building directory '/wwwroot/ClientScript/jayrock/'.
Building directory '/wwwroot/ClientScript/jcrop/'.
Building directory '/wwwroot/ClientScript/jqmojo/'.
Building directory '/wwwroot/ClientScript/jqueryFileTree/'.
Building directory '/wwwroot/ClientScript/oomph/'.
Building directory '/wwwroot/ClientScript/sarissa/'.
Building directory '/wwwroot/ClientScript/timeline/api/ext/geochrono/scripts/l10n/en/'.
Building directory '/wwwroot/ClientScript/timeline/api/ext/geochrono/scripts/'.
Building directory '/wwwroot/ClientScript/timeline/api/ext/geochrono/'.
Building directory '/wwwroot/ClientScript/timeline/api/ext/planning/scripts/l10n/en/'.
Building directory '/wwwroot/ClientScript/timeline/api/ext/planning/scripts/'.
Building directory '/wwwroot/ClientScript/timeline/api/ext/planning/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/ext/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/l10n/cs/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/l10n/de/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/l10n/en/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/l10n/es/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/l10n/fr/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/l10n/it/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/l10n/nl/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/l10n/ru/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/l10n/se/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/l10n/tr/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/l10n/vi/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/l10n/zh/'.
Building directory '/wwwroot/ClientScript/timeline/api/scripts/'.
Building directory '/wwwroot/ClientScript/timeline/api/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/advhr/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/advhr/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/advhr/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/advimage/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/advimage/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/advimage/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/advlink/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/advlink/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/advlink/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/autoresize/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/autosave/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/bbcode/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/contextmenu/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/directionality/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/emotions/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/emotions/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/emotions/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/example/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/example/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/example/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/fullpage/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/fullpage/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/fullpage/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/fullscreen/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/iespell/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/inlinepopups/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/insertdatetime/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/layer/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/media/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/media/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/media/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/nonbreaking/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/noneditable/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/pagebreak/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/paste/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/paste/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/paste/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/preview/jscripts/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/preview/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/print/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/safari/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/save/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/searchreplace/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/searchreplace/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/searchreplace/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/spellchecker/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/style/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/style/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/style/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/tabfocus/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/table/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/table/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/table/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/template/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/template/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/template/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/visualchars/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/wordcount/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/xhtmlxtras/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/xhtmlxtras/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/plugins/xhtmlxtras/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/themes/advanced/js/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/themes/advanced/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/themes/advanced/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/themes/simple/langs/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/themes/simple/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/utils/'.
Building directory '/wwwroot/ClientScript/tiny_mce327/'.
Building directory '/wwwroot/ClientScript/yuiaddons/accordionview/'.
Building directory '/wwwroot/ClientScript/'.
Building directory '/wwwroot/ContactForm/'.
C:\alexei\dev\portal.aun.su_jan2010\wwwroot\ContactForm\MessageList.aspx(1): Build (web): Could not load type 'mojoPortal.Web.ContactUI.MessageListPage'. 

2/5/2010 12:01:34 PM
Gravatar
Total Posts 18439

Re: Build failed, Could not load type 'mojoPortal.Web.ContactUI.MessageListPage'.

You can solve this error by remove the file /ContactForm/MessageList.aspx

The file was included by accident. Note however that you are using the pre-compiled deployment files, they are meant for production deployment rather than working in Visual Studio, and the presence of this file causes no error on production environments, it only causes an error because Visual Studio tries to compile it, but nothing needs to be compiled because the deployment files are already compiled, there is no C# source code included.

If you want to work in VS I recommend use the source code package and then learn to produce your own build for deployment.

Hope it helps,

Joe

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