SAP Knowledge Base Article - Preview

2518949 - Error 840 with database migration


After migrating a database from one server to another, getting a 840 error message with the databases

Error: 840, Severity: 17, State: 2
Device '<database>' (with physical name '<database path>', and virtual device number 2) has not been correctly activated at startup time.  Please contact a user with System Administrator (SA) role.



  • Adaptive Server Enterprise 15.7
  • Adaptive Server Enterprise 16.0


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0


error 840, error: 840, 840, migrate , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.