Tuesday, January 12, 2010

How to Turn User Friendly Error Message off in Sharepoint 2007 / MOSS





By Default SharePoint will not show the detail error message and rather just give a user friendly error message. (see picture )

As a developer though, you need to know the detail error log to be able to track it down. To turn off "User friendly Error Message" in SharePoint 2007 (MOSS) follow these steps:


  1. Open the web.config file for your site ( you can find it under inetpub folder e.g. C:\Inetpub\wwwroot\wss\VirtualDirectories )

  2. In the web.config file, search for the tag "CallStack=", locate the tag and change it from CallStack="false" to CallStack="true".

  3. In the web.config file, search for the tag and change "On" to "Off".

  4. Save the changes and close web.config.

  5. next time you test your page, you will see the actual error (see below)






Happy coding :)

How to Create a SharePoint Server 2007 Custom Master Page and Page Layouts for a Web Content Management Site

If you are doing SharePoint development, you are familiar with Site Branding and look and feel. I found the following article from Microsoft MSDN website which is a walk through branding and creating custom master page and custom layout (which are fundamental component of site branding in SharePoint/Moss environment). here is the link


I also find the following link useful. Thanks to Paul Culmsee

Start ...

Hello World !!!

I create this blog to share my knowledge of software development with other people out there. There are a lot of times I stock on something and after a lot of search in web and try and error I find a solution, but because I don't log it anywhere it will be forgotten after a few months. So I decided to create this blog to log my findings and solutions to problems I encountered and share it with others and hope it can be helpful for someone in future.

Paaya