🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
Unknown valuetype
This page was created by Hans.karlsen on 2018-09-15. Last edited by Wikiadmin on 2026-07-29.

You can restore missing admin-model database-script information on an affected MDrivenServer when portal push reports an unknown value type; this procedure is for administrators who have access to another server with the same current admin model.

Recognize the problem

This issue can appear as the following error:

Problem in portalpush Unknown valuetype in admin_ECO_ORMAPPING table ()

The known condition is that model information has been cleared from the admin_ECO_ORMAPPING table. The missing information is the database script needed for Evolve in the MDrivenServer Admin database.

Restore the database script from a matching server

Use a second MDrivenServer only when it has the same current admin model as the affected server. Do not use an arbitrary server as the source.

  1. On the matching source MDrivenServer, open <mdrivenServer>/admin/EvolveDebugPage.aspx.
  2. Select Get from Current.
  3. In the Admin DB Script box, copy all resulting XML text.
  4. On the affected MDrivenServer, open <mdrivenServer>/admin/EvolveDebugPage.aspx.
  5. Paste the copied XML into the Admin DB Script box.
  6. Select Submit.
  7. Select Update Current With Given.

Result: the operation inserts the missing database script into the affected Admin database.

Verify the recovery

After the update, repeat the operation that produced the portal-push error. Confirm that the Unknown valuetype message no longer appears.

If the error remains, confirm that the source server used in the procedure has the same current admin model as the affected server before attempting another update.

Alternative recovery route

The missing script can also be inserted by working directly with the Admin database:

  1. Download the database.
  2. Open it with a SQL Compact-capable tool, such as LinqPad.
  3. Insert the missing database script.
  4. Upload the model.

Use this route only when you can accurately identify and insert the missing script. The debug-page procedure is the documented recovery path when a matching MDrivenServer is available.

See also