Trouble with inherited version of RadHtmlField

2 posts, 0 answers
  1. tcrawford24
    tcrawford24 avatar
    9 posts
    Member since:
    Mar 2007

    Posted 20 Mar 2007 Link to this post

    I am having a strange occurance where I can get my customized RadHtmlField (MyRadHtmlField) to work in my single server test environment, but when I deploy it to our production MOSS farm environment I get the generic error message "An unexpected error has occurred".  When I use the RadHtmlField directly and not my inherited version, it works fine in the production environment.  What I have figure out is that the error is occuring before the constructor is called.  Stripping out all customization and just using an inherited version that does nothing gives the same error.  But again, this code works fine in my test environment.   I am not sure what questions to ask other than asking for some troubleshooting assistance.  Is there any security issues regarding a call to my custom class even though the custom code is installed in the GAC?  Is anyone aware of other log files that might give more detail?

    Thanks for any suggestions...

    Tom C.
  2. tcrawford24
    tcrawford24 avatar
    9 posts
    Member since:
    Mar 2007

    Posted 20 Mar 2007 Link to this post

    I figure this one out.  What helped was getting more information than the generic error message.  This link give me the information that allows MOSS to show more of an ASP.NET error.

    http://blog.thekid.me.uk/2007/02/15/a-solution-to-an-unexpected-error-has-occurred-in-wss-v3/

    The problem turned out to be that my class was not marked as public.

    Maybe others will learn from my mistake.

Back to Top