Showing posts with label key. Show all posts
Showing posts with label key. Show all posts

Thursday, March 29, 2012

Error Reporting in SSAS...

Is there a way to achieve the following on a UDM:

1) When an error occurs while processing a record
in a dimension, write the primary key of the record
along with the error to a record in a database.

2) Continue on all errors after logging them.

3) Launch a script when cube processing is complete
to notify affected parties of the errors.

Any suggestions to achieve something similar would
be greatly appreciated.

Filip

You can use SSIS package to put all that in one package.

You create a package using Analysis Services Processing Task. Then go to Menu -> SSIS -> Logging... In the Provider Type select SQL Server then check the "Details" tab. You have to try different Events and check it's logging all you want not more or less.

Continue logging on error is the properties setting on cube/dimension side also if you double click Analysis Services Processing Task you can set that in "Change Settings..."

Last one you have to query the log database table and use send email task in SSIS package.

Hope this will help - Ashok

|||

Thanks Ashok, I'll give that a try and report back ;-)

Filip

Wednesday, March 21, 2012

Error on installing SP3a - Analysis Services components

I did some more looking around and found the Knowledge
Base had an article - 814462 - that addresses this issue.
It recommends fixing a registry key value under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OL
AP
Server\Uninstall Info.
I do not have this entry in my registry.
What's up?
quote:

>--Original Message--
>While trying to complete the installation of
>sql2kasp3.exe, my system gives me the follwoing error -
>An error occurred during the move data process - 145
>Window header is Severe.
>Any ideas?
>TIA
>.
>
Well, like it says to create the registry key value if it doesn't exist, you
can also create the Uninstall Info key itself...
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Rich Bergstedt" <split_hare@.sbcglobal.net> wrote in message
news:3d4d01c3e300$9ec8f0e0$a501280a@.phx.gbl...[QUOTE]
> I did some more looking around and found the Knowledge
> Base had an article - 814462 - that addresses this issue.
> It recommends fixing a registry key value under
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OL
AP
> Server\Uninstall Info.
> I do not have this entry in my registry.
> What's up?
>|||Stupid me.
I never installed Analysis Services when I installed the
eval package.
Now, I am working fine thanks.
quote:

>--Original Message--
>Well, like it says to create the registry key value if

it doesn't exist, you
quote:

>can also create the Uninstall Info key itself...
>--
>Aaron Bertrand
>SQL Server MVP
>http://www.aspfaq.com/
>
>
>"Rich Bergstedt" <split_hare@.sbcglobal.net> wrote in

message
quote:

>news:3d4d01c3e300$9ec8f0e0$a501280a@.phx.gbl...
issue.[QUOTE]
error -[QUOTE]
>
>.
>

Sunday, March 11, 2012

Error number for duplicate column value during an insert for a unique column ?

I have a table in which a non-primary key column has a unique index on it.

If I am inserting a record into this table with a duplicate column value for the indexed column, then what will be the error number of the error in above scenario? OR How could I find this out?

Open a query analyzer and try to manually insert a value into the table and see what SQL complains..

|||

The error number for inserting duplicate value in a column of unique index is : 2601.

Sunday, February 19, 2012

Error message as a result of a DELETE

I'm executing a delete in a table and the result is the error 431:
Could not bind foreign key constraint. Too many tables involved in the query
.
There are no triggers associate with the table. What's this could be?
Thanks.
RenataHi
I assume this is a table! Are there any foreign keys referencing it?
John
"renata" wrote:

> I'm executing a delete in a table and the result is the error 431:
> Could not bind foreign key constraint. Too many tables involved in the que
ry.
> There are no triggers associate with the table. What's this could be?
> Thanks.
> Renata