This is a migrated thread and some comments may be shown as answers.

Trouble with inherited version of RadHtmlField

1 Answer 103 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
tcrawford24
Top achievements
Rank 1
tcrawford24 asked on 20 Mar 2007, 07:23 PM
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.

1 Answer, 1 is accepted

Sort by
0
tcrawford24
Top achievements
Rank 1
answered on 20 Mar 2007, 08:58 PM
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.
Tags
WebParts for SharePoint
Asked by
tcrawford24
Top achievements
Rank 1
Answers by
tcrawford24
Top achievements
Rank 1
Share this question
or