![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Reply-To: "Jim Snape" <jim_snape.at.hotmail (AT) online (DOT) nospam From: "Jim Snape" <jim_snape.at.hotmail (AT) online (DOT) nospam Subject: Locked Dimension caused Analysis Server to crash Date: Fri, 18 Jun 2004 15:08:31 +0100 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-ID: <eIvoZ3TVEHA.3596 (AT) tk2msftngp13 (DOT) phx.gbl Newsgroups: microsoft.public.sqlserver.olap NNTP-Posting-Host: exony-ltd-14.altohiway.com 213.83.66.238 Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!tk2msftngp13 |
|
Xref: cpmsftngxa10.phx.gbl microsoft.public.sqlserver.olap:51185 X-Tomcat-NG: microsoft.public.sqlserver.olap We are having problems with Analysis Server crashes (unrelated to my earlier message) whereby the server will crash if a dimension (or cube) is locked for editing and the cube processing kicks off: Exception Type: System.Runtime.InteropServices.COMException ErrorCode: -2147221468 Message: User EXDBGCC\Administrator on computer exdbgcc has locked 'Wrap Up'. Description: Dimension 'Wrap Up' has been locked for writing by Dimension Editor. TargetSite: Void Process(Microsoft.SQLServer.DSO80.ProcessTypes) HelpLink: NULL Source: DSO Is followed by: Unexpected fatal error occurred. Attempting to restart server. Is there a fix for this issue. If not, can I work around it? Regards, James Snape |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Jim, Thanks for your questions. I can reproduce the ErrorCode: -2147221468 by the following steps: 1. Open Analysis Manager, Open the dimension editor windows against the dimension "Product" 2. Open VB studio (6.0), make sure refrence the DSO object, and run the following programming copied from http://msdn.microsoft.com/library/de...us/olapdmpr/pr dimensioni_7f03.asp: Dim dsoServer As New DSO.Server Dim dsoDB As DSO.MDStore Dim dsoDim As DSO.Dimension ' Connect to local Analysis server. dsoServer.Connect "LocalHost" ' Open FoodMart 2000 database. Set dsoDB = dsoServer.MDStores("FoodMart 2000") ' Open the Product dimension. Set dsoDim = dsoDB.Dimensions("Product") ' Lock the dimension for processing. dsoDim.LockObject olapLockProcess, "Locked for processing." ' Completely reprocess the dimension. dsoDim.Process processFull ' Once complete, unlock the dimension. dsoDim.UnlockObject ' Clean up. Set dsoDim = Nothing Set dsoDB = Nothing dsoServer.CloseServer Set dsoServer = Nothing I get the following error: Run-time error '-2147221468 (80040024)': User <user name> on computer <computer name> has locked '<Dimension name>' Description: Dimension editor has locked dimension 'Product' for writing This is expected behavior. Before processing dimension "Product", Analysis Service needs read dimension definition from the repository database. Since dimension editor window for the "Product" dimension is still open, which prevents anybody accessing the dimension definition to cause the above error. But my server does not crash. Can you give me steps to crash the crash the server? Thanks! Jean Zhang |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |