Windows 2003×64, SQL 2005 SSAS with Dimension Security Enabled
In this scenario when we were opening an Excel Report deployed on SharePoint it hangs the report when we try to expand the user hierarchy
To work around this issue, disable the local SID cache on the domain member computer. To do this, follow these steps:
1. Open Registry Editor.
To do this in Windows XP or in Windows Server 2003, click Start, click Run, type regedit, and then click OK.
To do this in Windows Vista, Click Start, type regedit in the Start Search box, and then press ENTER.
2. Locate and then right-click the following registry subkey:
3. Point to New, and then click DWORD Value.
4. Type LsaLookupCacheMaxSize, and then press ENTER.
5. Right-click LsaLookupCacheMaxSize, and then click Modify.
6. In the Value data box, type 0, and then click OK.
7. Exit Registry Editor.
We did above changes on SSAS server which is on Win server 2003 which resolved the issue
Root cause of problem found is User name flipping to "\email@example.com" when launching excel report from SharePoint website as cause to this issue. This was traced out and seen in Analysis services 2005 profiler traces.
Instead user name should appear like: "firstname.lastname@example.org" or my\usera
"\email@example.com" is not acceptable to AS and it will only display no data considering we have dimension security applied in SSAS database.
The local security authority (LSA) caches the mapping between the SID and the user name in a local cache on the domain member computer. The cached user name is not synchronized with domain controllers. The LSA on the domain member computer first queries the local SID cache. If an existing mapping is already in the local SID cache, the LSA returns the cached user name information instead of querying the domain controllers. This behavior is intended to improve performance.
Ashutosh Sharma, Support Engineer-SQL Team