Metaweblog

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.
4/11/2012 12:34:00 PM
Gravatar
Total Posts 3

Metaweblog

Hi, I am having the following error (from currentlog) when trying to access my site :

2012-04-11 13:16:48,462 ERROR 142.83.197.71 - fr-CA - /Default.aspx - mojoPortal.Web.Global -  Referrer(none) useragent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
System.TypeLoadException: Impossible de charger le type 'mojoPortal.Web.Services.Metaweblog.MetaWeblogger' à partir de l'assembly 'mojoPortal.Features.UI'.
à System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
à System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
à System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
à System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
à System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
à System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)

MojoPortal version 2-3-7-6-mssql-net35.

I even tried to remove the corresponding line in web.config (<add name="MetaWeblogAPIHandler" verb="*" path="*metaweblogapi.ashx" type="mojoPortal.Web.Services.Metaweblog.MetaWeblogger, mojoPortal.Features.UI" preCondition="integratedMode" />) and I still get the same error/log.

Thanks,

4/11/2012 12:44:32 PM
Gravatar
Total Posts 18439

Re: Metaweblog

You should remove that handler mapping declaration, if you used the Web.config file that shipped with version 2.3.7.6 you would not get this error because it does not have that handler mapping. It does not need a handler mapping because the file exists on disk. In older versions it was needed but we completely replaced the metaweblog support with a new implementation in version 2.3.7.5

You should always use the web.config file that ships with mojoPortal (instead of keeping your old one) and re-apply any modifications such as machine key.

Hope that helps,

Joe

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