Skip to main content

Posts

Showing posts with the label Error

Problems With Conditional Metric and Drill Down

If you are coming across the problem with Conditional metric and Drill Down, you will want to kick somebody's behind after reading the solution(s)! We have a hierarchy defined as Region - Country - State - City - Zipcode - Branch. For each Branch there is a count of Vistors. The report starts with simply Region and Count of Visitors. You should be able to drill down all the way to Branch from Region. Count of Visitors is a conditional metric based on certain filters. So, the requirements sounds pretty simple, right? Yes, and it is simple. But for some reason when I built out the report in less then 5 minutes the drill down would not work. Clicking Americas to drill down and expecting to see Canada, USA and Mexico, I was seeing all European and Asian countries as well. I thought there was something major  was wrong with relationships or data or even the ETL. This is a pretty simple report so obviously the issue has to be a major one for this report to not work, right? Right? Wr...

Error While Setting Up Narrowcast Distribution Manager for the First Time

"This machine is currently being used by delivery engine system as MicroStrategy logging server... can free this machine either by destroying it or removing the distribution manager ,execution engine and logging server references " After a brand new installation of MSTR 9.3.1, I was setting up Distribution Manager via Narrowcast Administrator. System wouldn't let me and I kept on receiving above error message. Fix: This fix involves changing registry. Please do so at your own risk. I always backup my registry prior to making any changes. Go to Start > Run > regedit and hit Enter. In the Registry Editor window, open Find and search for MicroStrategy Broadcast Server. Expand that and go to 7.0. Expand 7.0 and select Setup. Delete the SystemName, SystemGUID and UsedAs entries entirely (Select entry > right click > Delete). Hope this helps. UPDATE: This is logged in MSTR  TN6200-72X-0976 ( https://resource.microstrategy.com/support/Authori...

Retrieving SQL Error Messages - SQL Server 2005

Hi All! Hope you had a great summer! I was looking up the 'internets' for something and came across many people looking for a way to retrieve SQL Error Message based on an Error ID. Here's a quick solution - nothing outstanding; but good-to-know script! DECLARE @Error int DECLARE @ErrorMessage varchar(800) SET @Error = @@Error IF @Error 0 SET @ErrorMessage = isnull((select [text] from sys.messages where message_id = @Error),'Error. Details not found.') SELECT @Error as [Error ID], @ErrorMessage as [Error Message] GO Go Go Go. Execute. Regards! Please consider the environment before printing this blog! Go Green!