Knowledge base
Troubleshooting in WebSafetica
Posted by , Last modified by Štěpán Horký on 11 June 2019 02:46 PM

Security exception

When opening WebSafetica in a domain that is not certified, or using an address without a domain, a security exception must be approved in the relevant Web browser window. As the addition of an exception differs in each browser, the following procedure is only general:

  • Open Advanced settings option in the window with the warning
  • Then click on continue / add exception
  • Confirm the addition of exception

Connection string wrong or missing


  • The Index is outside the field limits.
  • Login failed for user 'user'.
  • Cannot open database "My_database_main" requested by the login. The login failed. Login failed for user 'user'.

Reason: Default Connection string in Internet Information Services Manager, hereinafter IIS Manager, is wrong or empty. The reason may be an update or missed change in the password.


  • Open Internet Information Services Manager. 
  • In the left panel Connections open My_PC > Sites > Default Web Site> WebConsole. 
  • In the panel open Application settings and select DefaulConnection. Its value must match this format: server address;database_prefix;login_to_SQLServer;password_for_SQLServer (e.g.;My_database;user;trustno1)

Unable to load WebSafetica or localhost


  • The provided anti-forgery token was meant for a different claims-based user than the current user.
  • WebSafetica or address https://localhost cannot be loaded.

Reason: WebSafetica is already open in a web browser, try to close previous tab with WebSafetica or use F5 to reload page. If the problem persists, follow a guide and check the IIS Manager whether its working. The reason may be a failure in starting it, or an application occupying port 80 or 443. (Port 80 only for WebSafetica versions older than 7.10.10.)


  1. Start IIS Manager and make sure it is running (the Run button in the right bar Event is grey)
  2. Restart IIS Manager by pressing Restart button in the right bar.
  3. If IIS is still not started, an application is probably blocking port 80 or 443. Most often it is Skype or VMware.
  4. Open the command line and enter netstat -aon | findstr : 80 or netstat -aon | findstr : 443 to see, which application is using these ports
  5. If it's already used and you would like to keep it that way, you can simply change the port, which is going to be used for WebSafetica. 
    1. Go to Internet Information Service
    2. Select Default Web Site (for WebSafetica version older than 7.10.10)
    3. Select Web Safetica site (for WebSafetica 7.10.10 up to latest)
    4. Then click "Bindings" and modify the displayed port
(0 vote(s))
Not helpful