Errors in the OLAP Storage Engine: The attribute key cannot be found

转自:http://www.sql-server-performance.com/faq/Errors_in_the_OLAP_Storage_Engine_p1.aspx

When you try to process a cube using SQL Server Business Intelligence Development studio or SQL Server Management Studio, you may receive the following error:

Errors in the OLAP storage engine: The attribute key cannot be found: Table: TableName, Column: ColumnName1, Value: Value1.

Resolution
This issue occurs because a fact table for a cube has one or more records that contain an attribute key and this attribute key does not exist in the corresponding dimension table.

 

  1. Try to process the relevant dimension and then try to process the cube again.
  2. Try to correct the data of the fact table by using a UPDATE command for the table, column and value given in the error message.
  3. Try to add a record to the dimension table for the given table and value.
  4. Ignore the error.  If you want to process the cube without correcting the data, you can set the error configuration for the process operation to ignore the error using the steps below. You should only do this as a temporary workaround while you fix the underlying data.
    1. In the Process Database – DatabaseName dialog box or the Process Cube – CubeName dialog box, click Change Settings. 
    2.  In the Change Settings dialog box, click the Dimension key errors tab.
    3. Click Use custom error configuration.
    4. In the Key not found list, change the default value from Report and continue to Ignore error.
    5. Click Ignore errors count.
    6. Click OK to close the Change Settings dialog box.
    7. Click OK to process the database or the cube.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值