If you receive this error message when installing SQL Server 2005 Reporting Services x64 in Windows Vista x64:

ASP.Net Version Registration Requirement
64-bit ASP.Net is Registered. Required 32-bit ASP.Net to install Microsoft Reporting Services 2005(32-bit).

Follow this steps:

  1. Enable 32-bit worker processes in IIS running  this command:cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1 
  2. Install SQL Server 2005 Reporting Services following this KB: http://support.microsoft.com/kb/934164
  3. Disable 32-bit worker processes in IIS running this command:cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 0

After restoring a backup made in SQL Server 2000 when opening a diagram the following error ocurr:

“Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects.”

The problem is the compatibility level of the database. The following instruction changes the level of compatibility of the database to 90 in order for diagrams to work:

EXEC sp_dbcmptlevel ‘yourDB’, ’90’

Some days ago, I found the store procedure sp_MSforeachtable. It is very useful, allows to execute the same action on all tables of a database (no more cursors on sysboject for me!).
More usefuls undocument stored procedures here.