Article - CS296478

Error "The database name component of the object qualifier must be the name of the current database." appears during startup of method server in Windchill PDMLink

Modified: 03-Sep-2024   


Applies To

  • Windchill PDMLink 9.0 to 11.1
  • Windchill Bulk Migrator 11.0 to 13.0

Description

  • Error during startup of MethodServer : 
date/time ERROR [wt.log4j.jmx.AsyncJDBCAppender.worker] wt.log4j.jmx.AsyncJDBCAppender  - MiscLogEvents: failed to insert log data
com.microsoft.sqlserver.jdbc.SQLServerException: The database name component of the object qualifier must be the name of the current database.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:217)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1655)
    at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:440)
    at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:385)
    at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7505)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2445)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:191)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:166)
    at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQueryInternal(SQLServerPreparedStatement.java:310)
    at com.microsoft.sqlserver.jdbc.SQLServerDatabaseMetaData.getResultSetFromStoredProc(SQLServerDatabaseMetaData.java:295)
    at com.microsoft.sqlserver.jdbc.SQLServerDatabaseMetaData.getResultSetWithProvidedColumnNames(SQLServerDatabaseMetaData.java:311)
    at com.microsoft.sqlserver.jdbc.SQLServerDatabaseMetaData.getColumns(SQLServerDatabaseMetaData.java:655)
    at wt.log4j.jmx.AsyncJDBCAppender.addColumnMeta(AsyncJDBCAppender.java:1731)
    at wt.log4j.jmx.AsyncJDBCAppender.createTableMeta(AsyncJDBCAppender.java:1709)
    at wt.log4j.jmx.AsyncJDBCAppender.getTableMeta(AsyncJDBCAppender.java:1658)
    at wt.log4j.jmx.AsyncJDBCAppender$LogTask.run(AsyncJDBCAppender.java:984)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
This is a printer-friendly version of Article 296478 and may be out of date. For the latest version click CS296478