Using the Model Installer from the Command Line

Meta Data Services Programming

Meta Data Services Programming

Using the Model Installer from the Command Line

The model installer can be executed through the command-line utility Insrepim.exe. By default, this utility is located in the folder C:\Program Files\Common Files\Microsoft Shared\Repository. It reads an .rdm file produced by or distributed with the Microsoft® SQL Server™ 2000 Meta Data Services Software Development Kit (SDK). From the .rdm file, the utility extracts meta data from the information model and stores it in a repository database. You use command-line arguments to specify the repository database.

Syntax
InsRepIM.exe /f[Model File] /r[Repository Connection String] /u[User] /p[Password]
Parameters
Value Description
[Model File] The compiled information model (.rdm) file
[Repository Connection String] The repository database file, either a Data Source Name (DSN) or database and authentication information
[User] The user name
[Password] The user password

See Also

Connecting to and Configuring a Repository

Meta Data Services SDK