mojoRadGlue reference 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.
9/23/2011 12:37:30 PM
Gravatar
Total Posts 17

mojoRadGlue reference error

OS: Win 7 (64)

DB: MS SQL Server 2008

Ver: 2.3.6.7

I am getting a runtime error when I try to edit any content.  I had previous integrated the Telerik Editor and using what appears to the only release of mojoRadGlue from last year.  The telerik editor is what is selected for this particular site.  I just upgraded to 2.3.6.7 from a previous mojo release from 2010.  

It is catching this error on line 135 in EditorControl.cs

Here is the error:

System.TypeLoadException was unhandled by user code
  Message=Could not load type 'mojoPortal.Business.WebHelpers.CacheHelper' from assembly 'mojoPortal.Business.WebHelpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
  Source=sts.RadGlue.Web.UI
  TypeName=mojoPortal.Business.WebHelpers.CacheHelper
  StackTrace:
       at sts.RadGlue.Web.UI.RadEditorAdapter.InitializeEditor()
       at sts.RadGlue.Web.UI.RadEditorAdapter..ctor()
       at sts.RadGlue.Web.UI.RadEditorProvider.GetEditor()
       at mojoPortal.Web.Editor.EditorControl.SetupProvider() in D:\inetpub\mojoSrc_2.3.6.7\mojoPortal.Web.Editor\EditorControl.cs:line 135
       at mojoPortal.Web.Editor.EditorControl.set_ProviderName(String value) in D:\inetpub\mojoSrc_2.3.6.7\mojoPortal.Web.Editor\EditorControl.cs:line 71
       at mojoPortal.Web.SiteUtils.SetupEditor(EditorControl editor, Boolean useSkinCss, String preferredProvider, Boolean allowPageOverride, Boolean fullUrl, Page page) in D:\inetpub\mojoSrc_2.3.6.7\Web\Components\SiteUtils.cs:line 1735
       at mojoPortal.Web.SiteUtils.SetupEditor(EditorControl editor, Boolean allowPageOverride, Page page) in D:\inetpub\mojoSrc_2.3.6.7\Web\Components\SiteUtils.cs:line 1636
       at mojoPortal.Web.ContentUI.EditHtml.DoPreInit() in D:\inetpub\mojoSrc_2.3.6.7\Web\HtmlEdit.aspx.cs:line 71
       at mojoPortal.Web.ContentUI.EditHtml.OnPreInit(EventArgs e) in D:\inetpub\mojoSrc_2.3.6.7\Web\HtmlEdit.aspx.cs:line 62
       at System.Web.UI.Page.PerformPreInit()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  InnerException:

 

The error is in sts.RadGlue.Web.UI and appears to be trying to reference the CacheHelper object in this namespace: mojoPortal.Business.WebHelpers.CacheHelper. That namespace still exist but it doesn't appear that it resides in the mojoPortal.Business.WebHelpers.dll anymore.

 

Is this a bug in the mojoRadGlue project that needs to be fixed or is there something that I am not doing here.

Thanks!!!!

Steve

 

9/23/2011 12:43:40 PM
Gravatar
Total Posts 18439

Re: mojoRadGlue reference error

Hi Steve,

I just sent you a new sts.RadGlue.Web.UI.dll, can you give it a try and let me know if it solves the problem.

Thanks,

Joe

 

9/23/2011 1:08:02 PM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: mojoRadGlue reference error

Hi Guys

FYI.  I am using Joe's Telerik RadEGlue Editor feature on about 5 X V2.3.6.7 sites with no problems.

Rick

9/23/2011 1:12:53 PM
Gravatar
Total Posts 18439

Re: mojoRadGlue reference error

Hi Rick,

Are you compiling it from source code? If so that might be why its still working for you.

I think the problem might be caused because CacheHelper got moved from the mojoPortal.Busines.WebHelpers project into mojoPortal.Web project so it may be that I need to update the compiled dll in the mojoRadGlue download. That's why I sent him a new dll to try, if it solves the problem I'll update the package.

Best,

Joe

9/23/2011 1:38:40 PM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: mojoRadGlue reference error

Hi Joe

I have it on 3 x V 2.3.6.5 compiled from Source Code
I have it on 5 x V 2.3.6.7 using the default installation package

with a relatively new Telerik DLL - newVersion="2011.2.906.40" at the bottom of the web.config

All working fine.

Rick

 

9/23/2011 2:40:48 PM
Gravatar
Total Posts 17

Re: mojoRadGlue reference error

Awesome Joe!  That worked.

Thanks for the lightning response.  You made my friday.

9/30/2011 7:53:21 AM
Gravatar
Total Posts 68

Re: mojoRadGlue reference error

Also having this issue after upgrade to 2.3.7.0 using the RadEditor and Glue.

MSSQL/.NET4/Full Trust

9/30/2011 7:58:10 AM
Gravatar
Total Posts 18439

Re: mojoRadGlue reference error

I just updated the mojoRadGlue Editor Provider to version 0.5.1 to make it compatible with mojoPortal 2.3.7.0. If you download it again and replace the dll it should solve it.

Thanks,

Joe

9/30/2011 8:08:31 AM
Gravatar
Total Posts 68

Re: mojoRadGlue reference error

Thanks Joe. Solved.

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