Been a while since i last posted - I guess its because of my recent engagement with sharepoint focusing on various Moss 2007 focusing on Enterprise Search and BDC and some WSS.
I must say Moss 2007 has come a long way from its predecessor, however, What is the most frustrating issue is the "unexpected error" that you get when you deploy anything. Offcourse, I immediately look for the logs and event viewer the configuration analyzer etc.,
I can now reproduce this error on demand on any webpart - that's may way of getting even with this error in sharepoint.
- Forgetting public keyword
- typo in webpart file and safe control registration
When i continue to get the problem, Adding this to GAC helps in solving this. offcourse, there are instances where i have to deploy this on both GAC and on the bin folder.
Following changes to the web.config file helped a lot...
<SharePoint>
<SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10"
TotalFileDependencies="50" AllowPageLevelTrace="true">
Change the CallStack from "false" to "true" and AllowPageLevelTracing. Also, remember change the CustomErrors Off and enable debug mode.
This definetly accelerated my debugging time with sharepoint.
Readers, please continue to share your experience and additional recomendation to troubleshoot this issue with moss & wss.