I succeeded to destroy my Database - help me!


when trying to make a simple task in the Emploee table, i get the following massage:

The SQL database has issued an error.
Problems during SQL data dictionary synchronization.
The operation failed.
Synchronize failed on 1 table(s)

I tried to do lots of things in order to get back to the normal DB.

I can’t even restore my SQL DB even though i have an updated backup. my SQL give an error massage:

Restore failed for Server XXX. (Microsoft.SqlServer.Smo)

System.Data.SqlClient.SqlError: RESTORE cannot process database ‘XXX’ because it is in use by this session. It is recommended that the master database be used when performing this operation. (Microsoft.SqlServer.Smo)

Does anyone know how to solve my problem??? help…

I don’t want to install again the dynamics AX. what shell i do instead?