DotNetNuke Upgrade Error

The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )

ERROR: Could not connect to database.

Cannot open database "hr_dnn_hsbcril_live" requested by the login. The login failed. Login failed for user 'DNN_HSBCRIL'.