# Bestellungen konnten nicht geladen werden – SQL context hasn’t been set.

Wenn sich die Bestellungen nicht abrufen lassen und Sie bekommen folgende Fehlermeldung (SQL context hasn’t been set.) oder (SQL User hasn’t been set.), dann ist die Datenbankverbindung in sync4 nur als Windows-Authentifizierung konfiguriert und nicht als Benutzer-Authentifizierung.

![](/files/qA3ETBwkE8v0WrGJ8DA7)

Überprüfen Sie dann bitte in der Datenbankkonfiguration ob dort alle Felder ausgefüllt sind.\
Menü: sync4 -> Einstellungen -> NEIN

Benutzer und Passwort darf nicht leer sein. Dort müssen die SQL Server Daten eingetragen sein.

![](/files/ek52wTek7d2EgwyGGXs0)

Wenn Sie nun alles richtig gepflegt haben, können die Bestellungen auch wieder gespeichert werden.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sync4.de/faq/problembehandlung/bestellungen-konnten-nicht-geladen-werden-sql-context-hasnt-been-set..md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
