Showing posts with label Abudawood. Show all posts
Showing posts with label Abudawood. Show all posts

Saturday, 29 March 2014

[Business Intelligence] XML Parsing Error

This post is a reference for all BI boys [& girls] who use Microsoft SSAS for their data warehouse and stumble upon the fairly confusing error "XML parsing failed at line 1, column 0: A document must contain exactly one root element" during SSAS routine deployment.

Obvious Googling would lead to a number of solutions, all of which would require re-processing from scratch or in some cases, re-building your SSAS configuration. The following links are all but spot-on:

  1. http://social.msdn.microsoft.com/Forums/sqlserver/en-US/583d5fed-0f48-4a51-9618-31b833e82719/ssas-sudden-startup-problem?forum=sqlanalysisservices 
  2. https://scn.sap.com/thread/2095356 
  3. http://www.sqlservercentral.com/Forums/Topic1024873-391-1.aspx

The solutions in the aforementioned links are not time-savvy and when I stumbled upon this error pressed against time, I decided to try out something which I faintly thought would work. As a result, I stumbled upon the quicker solution to this problem as follows:

1. Navigate to the :\\\OLAP_Data\.0.db\ folder.
2. Delete everything inside this folder - .cub, .dim., .role files. [Relax!]
3. Hit the Deployment button in your SSAS project file.

The error will no longer appear and the cube will be deployed in no time [with previously processed partitions retaining their state, hence no need to re-process them from scratch]. I have faced this error ~5 times and the above solution has always worked!

Friday, 8 June 2012

A Heavenly Sojourn

Saif ul Malook: Words cannot describe the beauty...
Pakistan's Northern areas are a beau. Truly. Recently, and quite luckily having the chance to tour the Northern areas of Pakistan, I am compelled to feel that if there are glimpses of heaven on earth, then Pakistan has a lion’s share in those glimpses. Touring Naran and Lake Saif ul Malook I was with a troupe of approximately 120 colleagues which is where I got the chance to breath nature. The picturesque views of Naran, the dangerous trails to Saif ul Malook, the clear clouds and steep ridges at Batakundi and the mesmerizing view at Malook were all indicative of the fact that the Northern Areas of Pakistan are still a heavenly delight. Words would do injustice to describe the fun and level of enjoyment I had, in addition to the treating scenes. From meeting the locals to hearing their myths about various places to eating some fantastically delicious food, it was a fun-packed four days.