<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d11356004\x26blogName\x3dxception\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://openrent.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://openrent.blogspot.com/\x26vt\x3d-4655156434419967503', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

A solution to the generic "An unexpected error has occurred" in WSS v3

Get contentdbid value

Here's a shortcut to getting the db_id of the SharePoint content database:

"Go to Central Administration > Application Management > Content Databases. Select the Web Application that is of your interest, and then click on the database name. Once you are on "Manage Content Database Settings" page, you can see the ContentDBID in the URL."

Or open SQL Management Studio and select a database in Object Explorer. Then click "New Query" and execute the following script: "select DB_ID() as [Database ID];"

This will return the Database ID.

Get a list of database_id values

select * from sys.databases;

Sharepoint Timer job definitions as XML files

C:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\

"Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException" error

From the 12 Hive's BIN directory, run this command:

psconfig -cmd upgrade -inplace b2b -wait -force

Open Terminal Service Configuration

Start/Run/tscc.msc

More Logparser goodies

logparser -i:evt "select * from \\usatl01mw280\Application order by TimeWritten desc"

logparser -i:evt "select TimeGenerated,EventID,EventTypeName,EventCategoryName,SourceName,Strings,Message from \\usatl01mw280\Application" -o:datagrid

logparser -i:evt "select EventID,EventTypeName,EventCategoryName,SourceName,Strings,Message from \\usatl01mw280\System" -o:datagrid

logparser -i:evt "select * from \\usatl01mw280\System order by TimeWritten desc"

logparser "select distinct EventID,EventTypeName,Message from System" -o: datagrid

logparser "select distinct EventID, EventTypeName, Message, Count(*) as Entries from System group by EventID, Message, EventTypeName order by EventTypeName,

Entries DESC" -i:EVT -o:DATAGRID

Where to search for SharePoint GUID's

Seeing errors in your SharePoint trace log? Search the registry fruitlesslessly? Do a search of the XML files in this directory next:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES