CAST Management Studio - Launching CAST MS - Fatal Error - Can not set com castsoftware pmc DatabaseServer field to com castsoftware pmc LocalDatabase
Problem Description
Following error encountered while opening the CMS
Internal error occurred.
The application is closing. Call CAST support now providing the log file at C:\Documents and Settings\SGP\Local Settings\Temp\CAST\CAST\7.0\CAST-MS107.log.txt
internalException :
Can not set com.castsoftware.pmc.DatabaseServer field com.castsoftware.pmc.Database.databaseServer to com.castsoftware.pmc.LocalDatabase

Applicable in CAST Version
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
Action Plan
This error may have been encountered when the CMS is corrupted.
You can check this by
Running below two queries on the MNGT
SELECT object_id, count() FROM cms_dynamicfields WHERE field_guid = ’entry’ GROUP BY object_id HAVING count() > 1
```java
SELECT object_id, count(*) from cms_inf_localdb GROUP BY object_id HAVING count(*) > 1
In case the above queries return any rows, it means that the Management base is corrupt. 2. The best suggested solution is restore a backup of MNGT and proceed. Otherwise, without knowing how the MNGT is corrupted, it is difficult to repair
Notes / Comments
Related Pages