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".
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:
نقل عفش من الدمام الى الرياض نقل عفش من الدمام الى الرياض
ارخص نقل عفش بمكة ارخص نقل عفش بمكة
نقل عفش من جدة الى الاردن نقل عفش من جدة الى الاردن
نقل عفش
<< Home
I advise you to pay attention on https://proeditingproofreading.com/blog/part-time-student. Here you can find useful information about part-time students
نقل عفش من الدمام الى الرياض نقل عفش من الدمام الى الرياض
ارخص نقل عفش بمكة ارخص نقل عفش بمكة
نقل عفش من جدة الى الاردن نقل عفش من جدة الى الاردن
نقل عفش
카지노 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.
since this moment i am reading this grеat educational article һere
аt my hοme.
토토사이트 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.
Wish you all the best for upcoming comments. I am also wanted to write a blog kindly guide me if my topic is Nutella Chocolate Supplier then what should I do first and how will I create new and unique content on this topic
Post a Comment
<< Home