Could Not Access The Item In The Database

Problem

When logging into the PDM Vault View on a client machine, errors can sometimes occur: "Could not access the item in database" or "Could not find server". These error messages may provide the vault name and the PDM Server Name. Attempts to reboot the machine or use a different network connection method sometimes do not resolve the issue. 

Could not find server
Could not access the item in the database

When viewing the PDM client log from the admin tool, there are repeated connection error entries. This generally indicates that the PDM Client machine is unable to communicate with the SQL Server properly. The logs will also provide the hostname of the PDM Server and Database it is connecting to. 

PDM Client Log error showing hostname and database name of vault
PDM Client Logs showing Hostname and Database name

Solution Step 1: Create an ODBC Connection

Creating an ODBC connection on the PDM Client machine will resolve this issue. Creating this connection is a manual handshake between the client machine and the database server. This has also been useful for clients who work remotely and, in some cases, helps with performance.

  1. We will need the "sa" password for the database. We can test if it is the correct password by logging into Microsoft SQL Server Management Studio (SSMS).
sa password
  1. The "Server" or "Instance" Name can be found in Microsoft SQL Server Management Studio (SSMS)
server and instance name
  1. When using SQL Express (PDM Standard), we will need to know which ports SQL Express has dynamically used. We can find these in the SQL Server Configuration Manager. If these ports are not changed to 1433 or 1434, we will need to open these ports in the server’s firewall.
Check Dynamic Ports used from SQL Server Config Manager

Solution Step 2: Setting up the ODBC Connection on the Client

  1. Go to the client machine experiencing the issue and open ODBC Data Sources (64-bit). Navigate to the Windows Control Panel > System and Security > Windows Tools (on Windows 11 machines).

open ODBC Data Sources
  1. After opening ODBC 64-bit, navigate to the System DSN tab and add a source

navigate to the System DSN tab and add a source.
  1. Select "SQL Server" for the data source and click the "Finish" button

Select SQL Server for the data source and hit the 'Finish' button
  1. Enter a name and description for the data source being created. Select or enter the name of the server hosting the database. This is the information found in Step 2 of the Solution Step 1 section above when logging into the Microsoft SSMS tool. 

Fill out the Name, Description, and Server fields
  1. Select the SQL Server authentication radio button. Provide the SQL Server login credentials by typing in "sa" for the Login ID and the corresponding password. Before clicking the "Next" button, do not forget to click the "Client Configuration" button and verify whether a static or dynamic communication port is used for the SQL Server.

Select the SQL server authentication radio button and fill out the Data Source
  1. After selecting Client Configuration and before selecting Next, add the dynamic port from the SQL Server Configuration Manager. This information is found in Step 3 of the Solution Step 1 section above. In order to add a dynamic port, we will first need to uncheck the 'Dynamically determine port'. If we do not need to change this information, do not uncheck that option.

Add the Dynamic Port
  1. Select 'Change the default database to', select the vault name, and then click "Next"

Select 'Change the default database to' and select your vault name. Then, click Next.
  1. On the next page, we do not have to change anything, so select "Finish"

Click Finish
  1. Select the "Test Data Source" button in the new window

Select the Test Data Source button in the new window.
  1. If everything was entered correctly, we should see the following "Tests Completed Successfully" screen. We can simply click on "OK" to finish the process of creating an ODBC Connection to the database. 

Test completed message, click OK
  1. Repeat the same procedure for setting up the 32-bit ODBC Data Connector for office applications

  2.  Log back into the PDM vault and check for errors

For additional support, existing customers can submit a ticket or new customers can contact Hawk Ridge Systems.

Was this article helpful?
1 out of 1 found this helpful

Articles in this section

Comments

0 comments

Article is closed for comments.