The server principal is not able to access the database under the current security context

If this error message appears when trying to expand the databases node in SQL Server Management Studio and the x64 version of SQL Server 2008 is installed, follow the steps below:

1) Bring Object Explorer Details window by selecting View –> Object Explorer Details in menu (or hitting F7)
2) In Object Explorer window click at Databases folder
3) In Object Explorer Details window right-click at the column header and deselect Collation
4) Refresh Databases folder.

For more details click here.

Fii primul care comenteaza mai mult
22 Jul/2010

Filter tables and matrix in reporting services

When filtering a table or a matrix in reporting services you might encounter the following error:

Cannot compare data types of System.Int32 and System.String. Please check the data type returned by the filter expression.

This happens when the column to be filtered is of type numeric (integer in our case) and you try to compare it with a number. The correct way to do it is like in the picture below:

rezolvare

In the value field put another “=” sign otherwise the number will be interpreted as a string and not as a number.

Fii primul care comenteaza mai mult
22 Dec/2009


rss