Website Error

Database Connection Error

Login failed for user “ex_access#.........

The problem caused by invalid username or password of SQL Security Login User, you have to enter the username and password correctly.

The server principal “ex_access#.........” is not able to access the database “EX_DB” under the current security context.

The problem caused by SQL User Security login, you have to allow databases under user mapping page.
Open SQL Management Studio > Security > Logins. Edit current users by right click > Properties, go to User Mapping Page, check all databases under Map column (EX_DB, EX_Items, BILLING, RF_User, RF_World). Grant db_backupoperator, db_datareader, db_datawriter, and db_owner for each Map, then save!.

If you got error when save the setting like User, group, or role 'ex_access#.......' already exists in the current database. (Microsoft SQL Server, Error: 15023), its caused by you did a restore or replace existing databases and the users already linked to your database with this account , you have to run this query to fix it:

EXEC sp_change_users_login 'Auto_Fix', 'username'
USE EX_Items
EXEC sp_change_users_login 'Auto_Fix', 'username'
EXEC sp_change_users_login 'Auto_Fix', 'username'
EXEC sp_change_users_login 'Auto_Fix', 'username'
USE RF_World
EXEC sp_change_users_login 'Auto_Fix', 'username'

Change username to ex_access username for your server.

Why My Website Cannot Accessed?

Most of issue come from DDos Attack, DDoS Attack can make your website get overloaded/flooded with high traffic and took lot of resources.

Mostly you get one of this errors:

  • 503 Service Unavailable Error
  • 502 Bad Gateway Error
  • 500 Internal Server Error

To protect your website you can use CloudFlare as DDoS Protection.

My product don’t contain any DDoS Protection, if your website got attacked its your problem, ask your web hosting provider or migrate to web hosting that offer DDoS Protection.