SYMPTOMS
When you install Microsoft Office SharePoint Portal Server
2003 or Microsoft Windows SharePoint Services with Microsoft SQL Server, and
you try to create the configuration database, you receive the following error
message:
Error accessing database. Verify that the
database server name and the instance name (if present) are correct. Also,
ensure the configuration database administration account has sufficient
permissions on the server or instance and the service corresponding to your SQL
Server instance is running.
When this issue occurs, the database is
created but does not function. If you continue after you receive this error
message, and you try to create a Portal, you receive the following error
message:
Portal creation failed. Please see the portal
creation log for more details.
The following error may also be
recorded in the Portal log file:
10:29:54 Portal creation
job exception. (status=PortalAdminJobStatusFailed)
Microsoft.SharePoint.SPException: Must declare the variable '@SiteId'. (Error
code: 137). ---> System.Runtime.InteropServices.COMException (0x81071717):
Must declare the variable '@SiteId'. (Error code: 137).
If you are
installing Microsoft Windows SharePoint Services, and you try to extend a
virtual server, you receive the following error message:
Must declare the variable '@SiteId'. (Error code: 137).