Quote:
Originally Posted by xXRuokXx
how did you fix c7 . i cant find my problem with c7 login error
|
I used different appsettings.json config in Billing folder
Example i used is below:
(change ip to your server ip below and password of the sa user)
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Microsoft.EntityFrameworkCore": "Warning"
},
"File": {
"Path": "BillingLog.txt",
"Append": true,
"MinLevel": "Trace",
"FileSizeLimitBytes": 10240,
"MaxRollingFiles": 5
}
},
"Kestrel": {
"EndPoints": {
"Http": {
"Url": "http://0.0.0.0:18080"
}
}
},
"AuthService": "Simple",
"DbConfig": {
"AccountDB": "Data Source=.\\;TrustServerCertificate=True;Initial Catalog=SILKROAD_R_ACCOUNT;User ID=sa;Password=1;",
"JoymaxPortalDB": "Data Source=.\\;TrustServerCertificate=True;Initial Catalog=GB_JoymaxPortal;User ID=sa;Password=1;"
},
"NotificationService": {
"Type": "Email"
},
"NationPingService": {
"ListenAddress": "0.0.0.0",
"ListenPort": 12989
},
"EmailService": {
"From": "yourEmail",
"FromFriendlyName": "YourServerName??",
"SmtpServer": "smtp.gmail.com",
"UseSSL": true,
"Port": 465,
"Username": "FOLLOW https://code-maze.com/aspnetcore-send-email/",
"Password": "FOLLOW https://code-maze.com/aspnetcore-send-email/",
"SkipTokenValidation": false
},
"ServiceCompany": 11,
"RequestTimeoutSeconds": 60,
"PortalCGIAgentHeader": "Portal_CGI_Agent",
"SaltKey": "eset5ag.nsy-g6ky5.mp",
"AllowedHosts": "*"
}