Microsoft KB Archive/225256

= BUG: OLAP Manager:Error Processing When Data Source and Server Use Integrated Security =

Article ID: 225256

Article Last Modified on 10/16/2003

-

APPLIES TO


 * Microsoft SQL Server OLAP Services

-



This article was previously published under Q225256



BUG #: 1298 (plato7x)



SYMPTOMS
The Microsoft OLAP Manager is unable to process a dimension when the underlying object(s) are owned by a user other than 'dbo' or the current account in which the MSSQLServerOLAPService service is configured to run. This occurs when the SQL Server data source uses integrated security. Database objects owned by the currently logged on user are available for use in building dimensions and cubes but return an error when processed.

The error messages returned during processing are:

ODBC error: Invalid object name ''.;42S02; Time:

Invalid object name ''.;42S02; Time:



CAUSE
This is caused because the OLAP Services uses the account of the currently logged on user to browse the list of objects available for building dimensions and cubes. However, when processing OLAP Services uses the account under which the MSSQLServerOLAPService service is configured to run. Because the object owner is not stored along with the object name, it cannot find objects owned by users other than the service account or 'dbo'.



WORKAROUND
Here are two workarounds for this issue:


 * The first option is to change the owner of the tables to be dbo by using the stored procedure sp_changeobjectowner (for example, spchangeobjectowner table1, dbo). Once the object ownership has been changed, you must give permissions to the desired users. After permissions have been granted, the tables will show up to these users in OLAP Manager and dimensions built on these tables will process successfully.


 * The second option is to change the security on SQL Server to use both SQL Server and Windows NT authentication and modify the library data source for the OLAP database to use a specific account and password. By doing this only objects owned by the dbo or the specified account used in the data source will be available to users building dimensions.



STATUS
Microsoft has confirmed this to be a problem in SQL Server OLAP Services version 7.0.

Keywords: kbbug kbpending KB225256

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.