Base solution for your next web application

Activities of "361apps"

solution DB string was configured to connect without user id and password, for some unknown reason in production this was not supported. changed the connection string to include user id and password and the server launched corretly.

one more point regarding the log files if anyone checks this post if the server is not logging error on production environment follow the below steps:

  1. change the web.config aspcore paramter stdoutLogEnabled="true"
  2. create manually a folder under the published directory named "logs"

there is no such dll in the publish folder, please find below screenshot when searching for abpzerotemplate

Dear @Maliming, both setting file are identical there are no differences between them

we found that the logs are showing a DB connectivity issue A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (0x80004005): The network path was not found

even though we are using the same connectivity settings in development enviroment and it's connecting successfully

Hello @maliming, production is running IIS 10.0.17134.1 windows 10 we are checking locally actually not pulically.

can you please guide us more about the below mentioned as this dll is not available in the release folder dotnet yourwel.dll

Dears, we are facing a couple of issues deplying to production:

  1. Access to XMLHttpRequest at 'http://localhost:22742/AbpUserConfiguration/GetAll' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

configurations appsettings.production.json: "App": { "ServerRootAddress": "http://localhost:22742/", "ClientRootAddress": "http://localhost:4200/", "CorsOrigins": "http://localhost:4200"}

  1. the application is not wrinting the log files even through the folder on IIS is granted full access

Hi ismcagdas, it's been a while now, i've followed every thread you provided to the letter, yet couldn't get this to work!.

also, noted some other client like us asking but with no luck to get an answer too https://support.aspnetzero.com/QA/Questions/4547#answer-f803f685-bba6-43b5-a264-ce354573863a

I think i understand all points mentioned exept the part of the needed change to re-activate the client ability to swtich the language, at this point of dicussion https://support.aspnetzero.com/QA/Questions/4547#answer-d2e2889e-634e-4ba7-83dc-0dad96b3bff3

I fixed everything, but as you exactly stated before i lost the ability to swithc the langauge, any ideas please?

Answer

maybe the statment "Entity History is enabled by default. You can disable it as shown below:" tricked us into thinking its already enabled.

Thanks for the the answer. it's solved.

i've followed the whole thread, and now i got a new error not reported in that thread! below is the error when i try to use the arabic (like in pipe formating of date and currency).

DashboardComponent.html:309 ERROR Error: Missing locale data for the locale "ar". at findLocaleData (common.js:1148) at getLocaleCurrencies (common.js:1037) at getCurrencySymbol (common.js:1159) at CurrencyPipe.push../node_modules/@angular/common/fesm5/common.js.CurrencyPipe.transform (common.js:5351) at checkAndUpdatePureExpressionInline (core.js:9939) at checkAndUpdateNodeInline (core.js:10511) at checkAndUpdateNode (core.js:10469) at debugCheckAndUpdateNode (core.js:11102) at debugCheckRenderNodeFn (core.js:11088) at Object.eval [as updateRenderer] (DashboardComponent.html:310)

Like for example running the following line (inside template Dashboard component) would result the error: <td>{{stat.averagePrice | currency}}</td>

Also note that, i've removed and re-installed my node_modules with no luck to get it working.

any update about this please? it's an urgent issue

Showing 1 to 10 of 24 entries