Error when adding blog posts

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.
1/8/2007 8:00:07 AM
Gravatar
Total Posts 40

Error when adding blog posts

Just noticed something Joe - have created a new page and added a Blog module to it. When I go to add a new post I get the following error:

Attempted to access a field that is not accessible by the caller

Stack Trace:

FieldAccessException: Attempted to access a field that is not accessible by the caller.]
   System.Reflection.RtFieldInfo.PerformVisibilityCheckOnField(IntPtr field, Object target, IntPtr declaringType, FieldAttributes attr, UInt32 invocationFlags) +0
   System.Reflection.RtFieldInfo.InternalGetValue(Object obj, Boolean doVisibilityCheck, Boolean doCheckConsistency) +178
   System.Reflection.RtFieldInfo.GetValue(Object obj) +8
   MagicAjax.AjaxCallHelper.GetPageHiddenDictionary(Page page, String fieldName) +48
   MagicAjax.AjaxCallHelper.Page_PreRender(Object sender, EventArgs e) +306
   System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2012740
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1566

Is this something you're aware of?

Thanks,
Matt

1/8/2007 8:09:17 AM
Gravatar
Total Posts 18439

Re: Error when adding blog posts

Yes I'm familiar with it but I thought I fixed that in the last release. You are running in a Medium trust environment correct? When you updated to 2.1.8 did you replace the MagicAjax.dll with the new one?

Joe
1/8/2007 8:14:09 AM
Gravatar
Total Posts 40

Re: Error when adding blog posts

Thanks for the quick reply Joe. I am running in a shared medium trust environment; I did a clean install of 2.1.8 though rather than an upgrade of an existing install. I'm goign to have a play with this locally now and will let you know the result.

Thanks,
Matt

1/8/2007 8:22:17 AM
Gravatar
Total Posts 18439

Re: Error when adding blog posts

I could be mistaken, maybe I fixed that after the 2.1.8 release. I'm going to email you a new MagicAjax.dll, please let me know if it fixes it for you.

Thanks,

Joe
1/8/2007 10:43:49 AM
Gravatar
Total Posts 40

Re: Error when adding blog posts

Hi Joe,

Just tried this and it doesn't work, still causes the same error...

I haven't got time just now but when I do I'll try a clean install locally of 2.1.8 and see if I still get the problem.

Thanks,
Matt

1/8/2007 11:05:39 AM
Gravatar
Total Posts 18439

Re: Error when adding blog posts

I was able to replicate it here. I'm sending you a new MagicAjax.dll, let me know if this one is better.

Thanks,

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