To make it work, at Visual Studio you must do the following:
Go to the menu Project -> Add Connected Service
You must add 4 MSSQL Server Services as the following:

Website connection and DefaultConnection are connected to the 'website' database
AionWorldConnection is connected to the 'AionWorld_110' database
AionAccountsConnection is connected to the 'AionAccounts' database
If you don't want to use the Connected Services, you can also use the appsettings.json as this:
Code:
{
"ConnectionStrings": {
"AccountConnection": "Data Source=AVELL;Initial Catalog=AionAccounts;Integrated Security=True",
"AccountsConnection": "Data Source=AVELL;Initial Catalog=AionAccounts;Integrated Security=True",
"AionAccounts": "Data Source=AVELL;Initial Catalog=AionAccounts;Integrated Security=True",
"AionAccountsConnection": "Data Source=AVELL;Initial Catalog=AionAccounts;Integrated Security=True",
"AionWorldConnection": "Data Source=AVELL;Initial Catalog=AionWorld_110;Integrated Security=True",
"DefaultConnection": "Data Source=AVELL;Initial Catalog=website;Integrated Security=True",
"WebsiteConnection": "Data Source=AVELL;Initial Catalog=website;Integrated Security=True"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"EmailSettings": {
"PrimaryDomain": "smtp.gmail.com",
"PrimaryPort": "587",
"UsernameEmail": "your_mail",
"UsernamePassword": "your_pass"
},
"AllowedHosts": "*"
}
Make sure to fix the datasources to your MSSQL server. I highly recommend to use Integrated Security if you are running the website at the same machine as the IIS Server.
At last, you must change the 'Siel' server name on the following piece of code to match your server name (as it is in the worldstatus table at AionAccounts table:
