Installing and configuring SQL Server for SQL Server authentication
You typically install Microsoft SQL Server and Content Manager OnDemand on the same system. The database that is used by the Content Manager OnDemand instance is created locally and is on the local file system.
Before you begin
Procedure
Note that these instructions apply to SQL Server 2017, 2019, and 2022. SQL Server Installation wizard panels might change in future versions.
To install Microsoft SQL Server on the library server:What to do next
Before you can create the Content Manager OnDemand instance with Microsoft SQL Server, you must verify that a correct version of the regasm.exe file exists. Content Manager OnDemand is released with an SMO (SQL Server Management Objects) DLL that needs to be registered by regasm at installation time. Content Manager OnDemand V10.5 uses a 64-bit v4.0.30319 RegAsm.exe file.
A v4.0.30319 RegAsm.exe file is available on Windows Server 2012 and later.
On systems without a v4.0.30319 RegAsm.exe file, you can install .NET Framework 4 or 4.5. If .NET Framework 4 is not installed, run the Windows Update to install it. To find out which version of the regasm.exe file is installed, run the following commands from a Windows command prompt:
C:\>CD C:\Windows\Microsoft.NET
C:\Windows\Microsoft.NET>DIR regasm.exe /s/b
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe
- If Content Manager OnDemand V10.5 is installed without a 64-bit v4.0.30319 RegAsm.exe file, install .NET Framework 4.5.1 manually or by using the Windows Update.
- After you verify that you have a 64-bit v4.0.30319 RegAsm.exe file, reinstall Content Manager OnDemand V10.5.
- Alternatively, you can apply the most recent Content Manager OnDemand V10.5 fix pack if one exists, such as 10.5.0.x, to register Content Manager OnDemand SMO during the installation.
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{ECC6E2B2-9901-4A26-
AEF0-085507A375EF}\v.r
where v.r should be a.5 for Content Manager OnDemand
V10.5, for example. In the example, the
lowercase 'a' is the hexadecimal equivalent of the decimal number '10'.- Start the OnDemand Configurator.
- Click the '+' beside the Content Manager OnDemand instance that uses SQL Server.
- Click Services.
- Right-click OnDemand Libsrvr (instance_name).
- Select Stop to stop the Content Manager OnDemand server.
- Start the Microsoft SQL Server Management Studio.
- Connect to the Database Engine.
- Find the SQL Server user, such as
odadmin
. Right-click Properties and set the password. - Disconnect from the Database Engine and reconnect using the SQL Server ID, such as
odadmin
. Change the Authentication to be SQL Server, and specify the new password. Select Connect. - If that connection is successful, then locate and run ODBC Data Sources (64-bit) on the System DSN tab and select your SQL Server DSN. Select Configure.
- On the Microsoft SQL Server DSN Configuration pane, change the
How should SQL Server verify the authenticity of login ID
to beWith SQL Server authentication using a login ID and password entered by the user
. Enter the SQL Server user ID and password and click Next. - Continue to click Next on each pane until the last one. Click Finish. On the ODBC Microsoft SQL Server Setup pane, click Test Data Source to test the Data Source connection.
- If the test of the connection is successful, return to the OnDemand Configurator. Select your Content Manager OnDemand SQL Server instance and right-click Properties. Select the Server tab, click the Communications button, and make sure that a stash file is specified.
- On the Database page for the instance, enter the SQL user ID and password under the Database Login section.
- As an alternative, instead of using the OnDemand Configurator in the two previous
steps, you can bring up the OnDemand Command Prompt and run the
arsstash -a 12 -s <SQL stashfile> -u <SQL Login ID>
command to add the SQL Server Login to the stash file. Use the-c
option if the stash file does not exist. If you perform this step, ensure the stash file that is used by thearsstash
command is the same as the file name specified on the Server tab, Communications pane of the Content Manager OnDemand instance. - Use the OnDemand Configurator to start the Content Manager OnDemand server.