Skip to main content
Archived

FME Server 2016.1: MSSQL Server Repository with Windows authentication

Related products:FME Flow
siennaatsafe
j.botterill
tino
steveatsafe
  • siennaatsafe
    siennaatsafe
  • j.botterill
    j.botterill
  • tino
    tino
  • steveatsafe
    steveatsafe

tino
Contributor
  • Contributor

If you want to access your FME Server repository on a MSSQL database via windows (integrated authentication) follow these steps:

  1. Follow the normal installation process for FME Server in combination with a MSSQL database
  2. Check if everything is working fine
  3. Give the designated Windows domain user db_owner privileges to the database "fmeserver"
  4. Stop FME Server
  5. Change FME Server Core service properties to run under the windows user
  6. Change the config in Server fmeServerConfig.txt" (the user and pw entry are meaningless)
  7. DB_TYPE=sqlserver DB_DRIVER=com.microsoft.sqlserver.jdbc.SQLServerDriver DB_JDBC_URL=jdbc:sqlserver://localhost:1433;databaseName=fmeserver;integratedSecurity=true DB_USERNAME=fmeserver DB_PASSWORD=$FME$1ser$ver DB_CONNECT_EXPIRY=60 DB_SQLSTMTS_PATH=C:/bin/FMEServer/Server/database
  8. Copy "<FMEServerHome>Serverfmesqljdbc_auth.dll" to "<FMEServerHome>Serverlibfmeutilsqljdbc_auth.dll"

  9. Restart FME Server Services

  10. (Optional) Delete the default "fmeserver" database user

This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

steveatsafe
Safer
Forum|alt.badge.img+12

Thanks for sharing this Tino! I'm wondering if a code adjustment could avoid step 8...


Forum|alt.badge.img+2

Update

In FME 2020+ there is a second configuration file that stores the database credentials, \\Server\\ fmeServerWebApplicationConfig.txt.

You will also need to update the DB_JDBC_URL in this file to include 'integratedSecurity=true' and change the FME Server Application Service to run under the Windows user, or else you will encounter the issues recorded in this article.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings