Some Index Builder Error

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/19/2009 2:59:59 AM
Gravatar
Total Posts 55

Some Index Builder Error

Hi!

I'm playing around with SQLite version of MP, just for the sake of research. When editing HTML content, I get the following yellow page of death:

- - -

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load type 'mojoPortal.Features.ForumThreadIndexBuilderProvider' from assembly 'mojoPortal.Features.UI'.

Source Error:
[No relevant source lines]

Source File: Line: 0
- - -

When debugging, error occures in HtmlEdit.aspx.cs, line 246:

IndexBuilderProvider indexBuilder = IndexBuilderManager.Providers["HtmlContentIndexBuilderProvider"];
 

Changes in HTML content do get saved. MP version is the newest, 2.3.0.8, run from source code, and does not contain any custom code. Error occures in both IIS 5.1 (Win XP SP3, fully patched) and ASP.NET development server.

Ummm...well, what's wrong?

6/19/2009 7:15:40 AM
Gravatar
Total Posts 18439

Re: Some Index Builder Error

Are you using the mojoportal.sln file? Did you rebuild the whole solution so it will compile and post build the mojoPortal.Features projects? 

Thanks for the beer!

Cheers,

Joe

6/19/2009 7:37:30 AM
Gravatar
Total Posts 55

Re: Some Index Builder Error

Are you using the mojoportal.sln file? Did you rebuild the whole solution so it will compile and post build the mojoPortal.Features projects?

Yes and yes - twice, but now on third attempt you made me think.

In first two attempts, I experimented with customized MP package so I removed some features (SiteOffice, WebStore and Forum) from source code and config files before rebuilding entire solution and then I got that error.

Now, I did it third time without removing any feature, just re-referencing data layer and - MP with SQLite works just fine.

So, do I have to always rebuild entire solution before removing unneeded features?

6/19/2009 7:51:39 AM
Gravatar
Total Posts 18439

Re: Some Index Builder Error

No, its more an issue of removing them completely before building. The first time you build everything the post build copies the files up to web including config files for indexbuilders. So if you then change the build to leave out the mojoPortal.Featurres but the config file is still there it will cause an error because the dll is missing or expected methods are missing in the dll as in this case. Post Build events basically install features but there is no un-install other than manually deleting files. Its a little more difficult to remove a feature that is part of a set of features, like to remove forums you also need to remove the forum related files from mojoPortal.Features.UI/Setup/ProviderConfig/indexbuilders and /sitepredeletehandlers before you build so those files won't get copied up to the corresponding Web/Setup locations

You would probably want to edit the post build event to leave out the /Forums folder and would want to remove the mojoPortal.Features.UI/Setup/applications/fourms folder as well.

Hope it helps,

Joe

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