Thursday, January 24, 2008

How to turn off custom error message

Take a backup of web config now follow these steps to do that:


Open the web.config
Find "customErrors" and turn those "off".
Next do a search for "callStack" and set the value to "true"

Save the web.config and you are ready to go.

Thursday, December 20, 2007

Microsoft Released MOSS End User Training Materials

Microsoft have released end user training materials for MOSS 2007. A good starter material for organizations looking to publish end user help guide. Download it from 

http://blogs.msdn.com/sharepoint/archive/2007/09/07/customizable-everyday-productivity-education-epe-content-developed-by-microsoft-it-for-end-user-training.aspx

Saturday, December 8, 2007

Backup Script fo MOSS 2007

MOSS have some out of box backup/restore functionality, but doesnt have scheduer. So I have created batch file with using of STSADM feature. You can schedule this file in Windows Scheduler, it will generate filename with datestamp. Here is the script

@echo off
echo ====================================================
echo Ful Backup Script For Office SharePoint Server 2007
echo ====================================================
cd \Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN
@echo off
@For /F "tokens=2 delims=/ " %%A in ('Date /t') do set DAY=%%A
@For /F "tokens=3 delims=/ " %%B in ('Date /t') do set MONTH=%%B
@For /F "tokens=4 delims=/ " %%C in ('Date /t') do set YEAR=%%C
Set CUSTOMDATE=%YEAR%-%MONTH%-%DAY%
stsadm.exe -o backup -url http://portal -filename E:\Backupsharpoint\portal_%CUSTOMDATE%.bak -backupmethod full -overwrite

@echo off
cd\
echo completed