Connect to a SQL Server Data Repository

To access a project in your SQL Server data repository, you must connect to the data repository from Enterprise Architect.


  • The SQL Server repository and the project already exist
  • You have SELECT, UPDATE, INSERT and DELETE access permissions

Access File | Open Project (Ctrl+O)

Connect to the repository




In the 'Open Project' dialog, select the 'Connect to Server' checkbox.


Click on the button.

The 'Data Link Properties' dialog displays.


Select 'Microsoft OLE DB Provider for SQL Server' from the list.


Click on the Next>> button.

The 'Connection' tab displays.


Type in the server details, including Server Name, User Name and Password.


Click on the 'Select the database on the server' option and on the drop-down arrow.

From the list, select the project to connect to.


Click on the Test Connection button to confirm that the details are correct.


If the test does not succeed, revise your settings.

If the test succeeds, click on the OK button; the 'Connection Name & Type' dialog displays.


Give the connection a suitable name so that you can recognize it in the 'Recent Projects' panel on the 'Open Project' dialog.


If required, select the 'Encrypt Connection String' checkbox.

This encrypts and hides the connection details of the database from the users that the connection string is given to.


If required, select the 'Lazy Load' checkbox to not load the full project view when the model is loaded; instead, only the parts that are necessary to display the visible portion of the tree are loaded.

With this setting, the model loads faster and users can begin work sooner, but at the expense of later small delays as Enterprise Architect loads specific portions of the model.


If required, select the 'Use WAN Optimization' checkbox.

To improve performance over a Wide Area Network, remote database calls can be routed through a WAN Optimizer that compresses the data returned from the repository, reducing transfer time.

If you select this checkbox, complete the next two fields (see your administrator for the correct values); otherwise go to step 15.


In the 'Server' field, type the network name or address of the optimizer server.


In the 'Port' field, type the port on which the server is running on the remote machine.


Click on the OK button to complete the configuration and open the project.

This also adds the project name to the 'Recent' list on the Start Page; from now on, you can open the project again just by clicking on this name.


  • This feature is available in the Corporate, Business and Software Engineering, System Engineering and Ultimate editions

Learn more