Base solution for your next web application

Activities of "csona"

Hi,

Sorry, I did not get that last comment. The Publish from VS to Azure App Service is always in Release mode.

Thanks, Chaitanya

HI @ismcagdas

We tried changing the log4net configuration as suggested above but the error still exists.

Just FYI, this was working since very long time. This issue would occur occaisonally but would go away after publishing again.

Please let us know if you would like us to try something else or get some logs from App Service.

Thanks, Chaitanya

Hi @ismcagdas

I have sent the Web.Host project over email a dew days ago as requested. Do you have any update regarding the issue or possible changes to be done at my side.

Thanks.

Hi @ismcagdas

Sorry for the delay in replying. The app is live at followng URL - https://app.growthplan.net

I have sent the test credentials at [email protected]

Please let me know if you need further information.

Thanks.

Hi @ismcagdas

Yes, the problem occurs out of the box. The APIs are called by the Angular front end on Administration -> Users page and {User Space} -> Download Collected Data option. Both APIs are called from Angular after the Tenant User has logged into the application.

Please find attached the screenshot deomonstrating first case.

For second case, the file does not download but the Notification system is updated with an entry to download the file later. If the User clicks on the link in the Notification, the application gets redirected to the Back end application URL and the file does not download.

HI @ismcagdas

Thanks for the link. Will try that approach and get back to you in case of questions.

Thanks again.

Hi @ismcagdas

I have resolved this issue by removing an unwanted dependency on IWebHostEnvironment in {ProjectName}CoreModule.cs that was added by mistake.

However, I had misinterpreted the use of Migrator project. Actually I would like to migrate the data from one daabase to another. Normal processes like backup & restore or import/export of data would not work due to referntial integrity constraints. Can you please recommend any way to achieve this?

Thanks in advance.

Hi @ismcagdas,

Thanks for the reply.

Regarding database connection string in appsettings.json, it is clear now. Thanks.

Regarding the other error, it is not occuring in the default 10.2 project. The error is thrown before {ProjectName}CoreModule.PreInitialize method is called. So I am trying to check the dependencies in {ProjectName}.Core project and its dependencies. Could there be any other reason it is trying to load 'Microsoft.AspNetCore.Hosting.IWebHostEnvironment'?

The dependencies for {ProjectName}.EntityFrameworkCore is as follows:

Thanks.

Hi @demirmusa ,

We are verifying the solution that you have mentioned above and it seems to be working fine. We'll do some more testing and update accordingly.

Thank you so much for your time and help.

Hi @demirmusa,

Thank you for your reply.

Pleaes find below the database details from the database backup that we had sent attached in the email (GrowthPlanDB.bak).

  • "DefaultStarterTenant" tenant has a role named "Full User" which has the permissions set as can be seen in the image below.

  • "Full User" role for above mentioned tenant has following permissions as per the database entries
    • Pages.Administration.AuditLogs
    • Pages.Administration
    • Pages
    • Pages.Administration.Tenant.Settings
    • Pages.Administration
    • Pages
    • Pages.Administration.UiCustomization
    • Pages.Administration
    • Pages
    • Pages.Tenant.Dashboard
    • Pages
    • Pages.DxDataGrid
    • Pages

Please let me know if we are misinterpreting or misunderstanding something.

Thanks.

Showing 1 to 10 of 17 entries