Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenUtilities
  • Product Communities
OpenUtilities
OpenUtilities Wiki Error - The database is for product... you cannot use it
    • Sign In
    • +OpenUtilities
    • Access Service Request Manager
    • +Bentley sisHYD Multi Utility
    • Design Features - promis.e Functionality - Promis.e Standard
    • +OpenUtilities sisNET - English
    • +OpenUtilities Substation
    • Promis.e Paths
    • -Promis.e Wiki
      • +CONNECT Edition - Promis.e
      • About Promis.e
      • +Administration Features - Promis.e
      • +APIs_VBA - Promis.e
      • +Automation Features - Promis.e
      • +Component Features - Promis.e
      • +Component Management - Promis.e
      • +CONNECT Services - Promis.e
      • +Data Manager - Promis.e
      • -Database Platform Support - Promis.e
        • Backing Up Promis.e Data Automatically
        • Converting to an SQL Parts Database
        • +Creating and Updating the Project Database
        • Desired SQL server Not Listed in the available Servers List
        • Disable Auto Shrink to avoid performance degradation
        • Error - Could not find SQL Server instance named BENTLEYECAD
        • Error - Could not find stored procedure
        • Error - Database version does not match the application
        • Error - Index was outside the bounds of the array (Microsoft.SqlServer.smo)
        • Error - Invalid database name - on Project Database Utility
        • Error - Invalid object name
        • Error - Login failed for Ecaduser: Reason: The Password of the account Expired
        • Error - No version resource could be located in database
        • Error - OraOLEDB.Oracle provider is not registered
        • Error - T-SQL execution command line utility stopped working
        • Error - The database is for product... you cannot use it
        • Error at Startup - Error 0 No connection could be made because the target machine actively refused it.
        • Error at Startup - Error 40 Could Not Open a Connection
        • Error at startup - The Type initializer for ECT.ECAD.API.SystemSetup threw an exception
        • Error at Startup - Unrecognized database format, catalog.mdb
        • Error deleting project - transaction log full
        • Error messages encountered due to case sensitive collation of SQL Server
        • Error on backup - Invalid database object reference
        • Error on Project Database Utility - Cannot find the file specified
        • Error running SQL scripts - Incorrect syntax
        • Exception thrown when creating a project due to SQL permissions
        • Exception thrown when opening a page, transaction log is full
        • Finding the SQL Data folder
        • Installing SQL Server
        • Minimum SQL user permissions
        • Project Database Version - Promis.e
        • Rebuild indexes in the SQL project database
        • Rules for Regular Identifiers
        • SQL Server FAQ
        • Troubleshooting Project Database Connection Problems
      • +Display - Promis.e
      • +Drawing Management - Promis.e
      • +Engineering Design Considerations - Promis.e
      • Error - Object reference...General
      • +Find_Replace - Promis.e
      • Finding the Tutorial
      • +Installation_Configuration - Promis.e
      • +Interoperability - Promis.e
      • +Licensing - Promis.e
      • +Maintenance Features - Promis.e
      • +Migration - Promis.e
      • +OS Support - Promis.e
      • +Panel Layout - Promis.e
      • +Performance - Promis.e
      • +PowerPlatform Support - Promis.e
      • +Print_Publish Features - Promis.e
      • +ProjectWise Integration - Promis.e
      • Promis.e Help file
      • +Reports_Output Features - Promis.e
      • +Template Management - Promis.e
      • +Text Tools - Promis.e
      • Training FAQs
      • +Wire Numbering - Promis.e
      • +Wiring Features - Promis.e
      • +Project Management - Promis.e
      • Promis.e Title
      • Working from home with Promise.e
    • Replace Family - Find_Replace - Promis.e
    • SQL Server Login

     
     Questions about this article, topic, or product? Click here. 

    Error - The database is for product... you cannot use it

      Product(s): Promis.e, Bentley Substation
      Version(s): through 08.11.13.73
      Environment: N/A
      Area: Database Platform Support
      Subarea: N/A.

    Error or Warning Message

    "The database is for product ________, you cannot use it"

    Explanation

    This message indicates that the ShortProductName extended property of the Project table in the SQL Server project database is not correct or cannot be read.

    If using Oracle for the project database, the message indicates that the comment on the "id" column of the "Project" table is incorrect or cannot be read.

    For promis.e, the value of this property/comment must be promise regardless of the name of the database.

    For Bentley Substation, the value of this property/comment must be Substation regardless of the name of the database.

    Common message variations:

    • "The database is for product $ShortProductName$, you cannot use it" (variable was not replaced before executing script)

    • "The database is for product substation, you cannot use it"  (incorrect case)

    • "The database is for product promis-e, you cannot use it" (incorrect, hyphen included)

    This problem typically occurs when the database was created by executing a script that was not properly modified.

    The message may indicate that the ShortProductName property may actually be correct on the server but cannot be read by the login being used.  In this case, the product specified in the error message will be blank: "The database is for product, you cannot use it"

    How to Avoid

    Option 1 - Create the database again

    If the database is new (empty), one way to resolve the problem is to drop the database and create it again with a script that has been modified to specify the correct ShortProductName value.  See Creating and Updating the Project Database.

    Option 2a - Correcting ShortProductName with SQL Server

    1. Connect to the server using SQL Server Management Studio (SSMS).

    2. In SSMS, drill down in the Object Explorer tree view into Databases > (your database name) > Tables

    3. Right-click the dbo.Project table and select "Properties".

    4. On the Extended Properties page there should be properties called "ShortProductName" and "Version". For the software to accept the database, the value of "ShortProductName" must be "promise" if using the promis.e software and "Substation" if using Bentley Substation, regardless of the actual name of the database. The value should contain no quotes, no punctuation, and is case sensitive.

    If the value for ShortProductName is valid, ensure the correct database is being examined and that promis.e/Bentley Substation is pointing to that database on Setup.  If so, check the permissions of the login being used.

    Alternatively, the ShortProductName property value can be corrected by executing the following script. Substitute the correct name of the database for "MYDATABASE". Substitute 'Substation' for 'promise' if using Bentley Substation.

    use MYDATABASE
    GO
    if not exists(SELECT * FROM ::fn_listextendedproperty ('ShortProductName', 'user', 'dbo', 'table', 'project', default, default))
    begin
    EXEC sp_addextendedproperty 'ShortProductName', 'promise', 'user', dbo, 'table', project;
    end
    GO
    EXEC sp_updateextendedproperty 'ShortProductName', 'promise', 'user', dbo, 'table', project;
    GO

    Option 2b - Correcting ShortProductName with Oracle

    Set the comment on the "id" column of the "Project" table to be "promise" if using the database with the promis.e software, or set it to "Substation" if using the database with the Bentley Substation software, regardless of the actual name of the database. The value should contain no quotes, no punctuation, and is case sensitive. 

    If the value for ShortProductName is valid, ensure the correct database is being examined and that promis.e/Bentley Substation is pointing to that database on Setup.  If so, check the permissions of the login being used.

    See Also

    Creating and Updating the Project Database

    Creating an SQL Server Login

      Original Author: Matt_P
    • Oracle
    • Database Platform Support
    • promis.e
    • SQL Server
    • error message
    • Bentley Substation
    • en
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Matt_P Created by Communities MVP Matt_P
    • When: Mon, Nov 4 2013 3:04 PM
    • Michael Kelley Last revision by Bentley Colleague Michael Kelley
    • When: Thu, May 28 2020 2:55 PM
    • Revisions: 7
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies