Database Connection Fixed

To initate database Run test to OfficeContext in SharedDatabase project.

Still problems in Javascript in _layout and index page