Discussing the nuts and bolts of software development

Thursday, September 04, 2008

 

SharePoint says "Unknown Error"

ERROR: Only Content controls are allowed directly in a content page that contains Content controls.

By default, SharePoint doesn't seem willing to share some of its internal errors with developers opting instead to use a generic "Unknown Error" page. The informative (and I use the term loosely) error string above wasn't displayed in the browser until the file C:\Inetpub\wwwroot\wss\VirtualDirectories\80\web.config was modified to disable custom error messages.

By changing <SafeMode CallStack="false" ...> to <SafeMode CallStack="true" ...> and changing <customErrors mode="On" /> to <customErrors mode="Off" />, the generic error page is replaced with a more detailed error message and maybe even a callstack.

As for the error above? It was caused by a comment that had been added to an .aspx file. For some reasons, comments were not allowed because they didn't qualify as "content controls".

Comments:
I advise you to pay attention on https://proeditingproofreading.com/blog/part-time-student. Here you can find useful information about part-time students
 

نقل عفش من الدمام الى الرياض نقل عفش من الدمام الى الرياض
ارخص نقل عفش بمكة ارخص نقل عفش بمكة
نقل عفش من جدة الى الاردن نقل عفش من جدة الى الاردن
نقل عفش

 
This blog has got lots of really helpful information on it! Cheers for sharing it with me! 카지노사이트


 
카지노 Hi there, this weekend is pleasant in favor οf me,
since this moment i am reading this grеat educational article һere
аt my hοme.


 
that I bookmark your blog and will often come back at some point.
Also visit my website : 스포츠토토

 
토토사이트 I think the information you share is very reasonable. At the very least, it was able to help me solve my problem. Thanks for sharing them, it helps me a lot.

 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?