The issues was that the Cloud Servers were setup with medium trust
level.
To fix this, change the trusltrust level for IIS to full tusttrust. Example of how to do it is on technt below. https://technet.microsoft.com/en-us/library/hh831632(v=ws.11).aspx