Go through the link I provided it does explain some of the best practices.
It would difficult to say the exact reason for the issues you faced but I think it could be one of the following:
- Some of the dlls were corrupt.
- Patch levels of runtime & BI Enterprise Servers are different.
Hope it helps.
~ Saurabh