Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  1. Fotoware Alto
    • 11.14 Schreckhorn
    • Terminology
    • Solutions
    • User Guide - Deutsch
    • User Guide - English
    • API Changelog
  2. Fotoware Veloz
    • Managing users and groups
    • Configuring archives
    • Configuring workflows
    • Configuring site behavior
    • Navigating and searching to find your assets
    • Working with your assets
    • Editing asset metadata
    • Uploading files
    • Version Control in Fotoware
    • Albums - Creating and sharing collections
    • Placing assets in a CMS
    • Working with the Fotoware Pro interface
    • Using the Fotoware plugins
    • Consent management
    • User guide to FotoWeb for iPad (Legacy)
    • Picture conferencing with FotoWeb Screens (Legacy)
    • What's what in Fotoware
    • GDPR
    • Fotoware Veloz releases
    • Activity Exports
    • Fotoware Example Workflows
  3. Fotostation
    • Getting started with Fotostation
    • Viewing, selecting and sorting files
    • Managing your assets with archives
    • Adding metadata to assets
    • Searching for assets
    • Working with your assets
    • Version Control in Fotostation
    • Automating tasks with Actions
    • Configuring metadata fields and editors
    • Configuring Fotostation
    • Configuring Fotostation for multi-user environments
    • Troubleshooting Fotostation
  4. Fotoware Flow
    • What is Flow?
    • Getting started
    • Flow dictionary
  5. Fotoware On-Premises
    • Getting started
    • Index Manager
    • FotoWeb
    • Color Factory
    • Connect
    • Operations Center Guide
  6. Integrations and APIs
    • The Fotoware API
    • Creating integrations using embeddable widgets
    • Authorizing applications using OAuth
    • Auto-tagging
    • FotoWeb Drag and Drop export
    • Integration using webhooks
    • Optimizely and Episerver plugin documentation
    • User Interface Integrations
  7. Fotoware Mobile
    • User guide for Fotoware Mobile for iPhone and Android
    • User guide to FotoWeb for iPad (Legacy)
    • User guide to FotoWeb for iPhone and Android (Legacy)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Support

Table of Contents

General information FotoWeb and MSSQL Server on different machines What access must FotoWeb’s database user account have? What access must FotoWeb’s database administrator account have? Database settings during installation with a standalone SQL Server Changing from trusted connection to specifying a database user and vice versa
  • Home
  • Fotoware On-Premises
  • FotoWeb
  • Configuring site behavior (On-Premises)

Database settings in detail

In-depth article that covers the authentication modes in SQL server and how to configure FotoWeb to work with SQL servers on another host.

30. April 2025

Elaine Foley

Table of Contents

General information FotoWeb and MSSQL Server on different machines What access must FotoWeb’s database user account have? What access must FotoWeb’s database administrator account have? Database settings during installation with a standalone SQL Server Changing from trusted connection to specifying a database user and vice versa

General information

There are two authentication methods available when connecting to a SQL Server:

  • SQL Server Authentication: A user that only resides inside SQL Server, you have to provide a username and password.
  • Windows Authentication: Authenticate by OS, the user is a Windows or a Domain user.

For more detailed information, see http://msdn.microsoft.com/en-us/library/ms144284.aspx

When using a “Trusted Connection” in the Database Settings in FotoWeb or during FotoWeb installation, the connection to MSSQL Server doesn't involve sending the username and password - it means we are using Windows authentication with FotoWeb’s process account (effectively the process account that is specified in the Operations Center).

When not using a trusted connection, a username and password must be specified. The user you enter here must be a MSSQL Server login and not a Windows account. FotoWeb then uses a SQL Server authentication method. If you supply a Windows or domain user in the username and password fields in this case, you will get the following error message on the client; "Login failed for user 'domain\username'".

To investigate further what causes the error message, the SQL Server log files will give you more details; "Login failed for user 'domain\username'. Reason: Attempting to use an NT account name with SQL Server Authentication".

To sum up, when not using a trusted connection, a MSSQL Server login must be specified and not a Windows/Domain user.

FotoWeb and MSSQL Server on different machines

If the FotoWeb server and the MSSQL Server are in the same domain but not on the same machine and you want to use a trusted connection, you have to use a domain account. A Windows account won't work across machines in this way easily. The process account for FotoWeb should then be a domain account. The same domain user must be added as a Windows login in MSSQL Server Management Console.

Now, when a trusted connection is being made to the SQL Server the domain account has access and exists on both sides of the authentication process.

What access must FotoWeb’s database user account have?

FotoWeb needs a database user to read and write data to the database on a daily basis. The MSSQL Server Role this user needs is a Public Server Role, as well as the three following roles;

  • db_datareader
  • db_datawriter
  • db_ddladmin

What access must FotoWeb’s database administrator account have?

When creating a MSSQL Server login to use for administrative tasks in FotoWeb, when asked during the installation or upgrade process, or when you select Create and verify Database in FotoWeb Configuration, the account must be part of the sysadmin Server Role. This user is used to create the database if it is not already created.

Sysadmin rights are required during FotoWeb setup and when updating FotoWeb to a more recent version. If this is not acceptable, it is possible to manually run the SQL scripts to create the database structure under dbo permissions. These scripts are available in the Server settings folder in the Fotoware folder in Windows ProgramData. Some of these scripts will have to be run each time FotoWeb is updated to a new version.

Database settings during installation with a standalone SQL Server

When performing a fresh installation of FotoWeb, you have the possibility to specify a database user, database administrator, or use a trusted connection. The user you specify for the database user will be created if it doesn’t exist. If you select trusted connection for the database user, then FotoWeb’s process account will be created as a Windows-authenticated user on the SQL Server. The user you specify for the database administrator must already exist as a SQL Server Login before proceeding beyond this point in the installation. Credentials for the database administrator are not permanently stored - they are used to create the database tables. The credentials will be stored if you also enable automatic database backup.

NOTE: If you select to use trusted connection for the database administrator, make sure that FotoWeb’s process account has sysadmin access on the SQL Server before you proceed. From SQL Server 2008 and later the Windows Group BUILTIN\Administrator is no longer included in the SQL Server sysadmin fixed Server Role on new SQL Server 2008 installations.

Changing from trusted connection to specifying a database user and vice versa

If you have installed FotoWeb and later find out that you need to change the database settings you can do so in the FotoWeb Configuration under Settings – Site – Database. If you change the database user, select Create and verify database to create the user. If the user doesn’t have access to the database, selecting Test connection will return an error message

database configuration configuration details

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Using database lookup to populate metadata fields with photographer information
  • Enabling Cross-Origin Resource Sharing (CORS) in Fotoware
  • Turning filenames into usable, searchable metadata
eco-lighthouse-miljøfyrtårn

Company

  • About us
  • Resellers
  • Careers
  • Contact us

Help & support

  • Support center
  • Consultancy
  • Tech partners
  • Fotostation
  • System status

Trust Center

  • Legal
  • Security
  • Sustainability & ESG

Locations

Fotoware AS (HQ)
Tollbugata 35
0157 OSLO
Norway
FotoWare Switzerland AG
Industriestrasse 25
5033 Buchs (AG)
Switzerland

Copyright 2025 Fotoware All rights reserved.

  • Terms of service
  • Privacy policy
  • Cookie policy

Knowledge Base Software powered by Helpjuice

Expand