Archív kategorií: Sharepoint 2007
Turn on detailed error messages in SharePoint
Step 1: Go to the SharePoint host server and navigate to the Virtual Directories folder. Normally this is available in this path “C:\Inetpub\wwwroot\wss\VirtualDirectories”
Step 2: Find the web.config and get the backup for the safety purpose
Step 3: Open the web.config file using Visual Studio OR Notepad
Step 4: Find the “CallStack” and change the value to “true” instead of “false”
Step 5: Find the “CustomErrors” and change the value to “Off” instead of “On”
Step 6: Save and close the web.config, refresh the page then you will get the detailed (wired) error message.
Backup & restore site
1. backup
stsadm -o backup -url
2. restore
stsadm -o restore -url
f.e.
stsadm – o backup -url http://mysite -filename c:\backup\mysite.bak
Manually install wsp packages
1. Add the solution
stsadm -o addsolution -filename {WSPFILENAME}
2. Deploy the solution
stsadm -o deploysolution -name {WSPFILENAME} -url {SITEURL}
3. Install the feature
stsadm -o installfeature -filename {FeatureFolder}\feature.xml
4. Activate the feature
stsadm -o activatefeature -id {FEATUREID} -url {SITEURL} -force
5. Deactive the feature
Stsadm.exe -o deactivatefeature -filename “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\ViewFormPagesLockDown\feature.xml” -ur http://servername/
6.Uninstall the feature
stsadm -o uninstallfeature -filename
7.Retract Solution
stsadm -o retractsolution