Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "maharatha"

I am trying to integrate Elsa Dshboard to my project.

I was able to intergate the Migration but somehow getting the issue while integrating the Dashboard :

https://elsa-workflows.github.io/elsa-core/docs/guides-dashboard

ComponentNotFoundException: No component for supporting the service Elsa.Dashboard.Areas.Elsa.Controllers.HomeController was found Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, bool ignoreParentContext) Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)

Any help would be highly appreciated.

Also in the start up I added :

 // Add services used for the workflows runtime.
            services.AddElsa(elsa => elsa.AddEntityFrameworkStores<PostgreSqlContext>(options =>
                options.UseNpgsql(_appConfiguration.GetConnectionString("Default"))));
            services.AddHttpActivities(options => options.Bind(_appConfiguration.GetSection("Elsa:Http")));
            services.AddEmailActivities(options => options.Bind(_appConfiguration.GetSection("Elsa:Smtp")));
            services.AddTimerActivities(options => options.Bind(_appConfiguration.GetSection("Elsa:Timers")));

Error I get

AutoMapperMappingException: Missing type map configuration or unsupported mapping. Mapping types: User -> UserLoginInfoDto DOCUHOLD.EDRMS.Authorization.Users.User -> DOCUHOLD.EDRMS.Sessions.Dto.UserLoginInfoDto

What changes needs to be done so that the Social Login, OpenID and Federation can be set by the Tenants as well which will ovverride App specific values.

I would like the Tenants to set values at Settings.

I am using .NetCore 3.1 and Angular AspnetZero project/

I was able to integrate hangfire partially, however when i click any link in Hangfire dashboard I get the below error "

An unhandled exception occurred while processing the request. MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rank from Set, (select @rownum := 0) r where `Key' at line 3 MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in ResultSet.cs, line 49

MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rank from Set, (select @rownum := 0) r where `Key' at line 3 MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet() in MySqlDataReader.cs, line 116

Am i doing something wrong ?

I have a table which has two foreign keys. So when I add Foreign Keys it adds two indexes in the table.

Now when I try to create an Unique Index using the two foreignkeys, it is trying to drop the indexes created by adding a column as foreign key.

On doing so the Migration doesn't run as it is unable to drop an index created by adding teh foreign key.

Cannot drop index 'IX_xyz_approval_rule_xyz_id': needed in a foreign key constraint

When I am tryinhg to add an user in a tenant then I am trying to search this user in host using the email address or user name and if I get a hit I would like to link these two users automatically while creating the user in Tenant

Can you please guide where should I make this change in CreateUserAsync ?

Question

I deployed the latest angular UI to one of my website and got this issue :

Resource interpreted as Stylesheet but transferred with MIME type text/html: "<URL>".

I have hosted it in IIS.

I deployed an older version of abp for some other porject and to the same IIS and Website and it works fine.

Then I started digging further and found some of the min.css are not getting generated when I build the angular code.

I would like to use an External authetication Provider for Host.. The idea is to allow other users to register to my Host in a similar way they can do for the Tenant. My choice of SSO would be Okta.

Later on I will be adding them to different tenants and provide permissions accordingly.

Is this possible?

Question

I am using the below atricle to implement Organization filter :

https://aspnetboilerplate.com/Pages/Documents/Articles\How-To\add-custom-data-filter-ef-core

Everything works fine, but I would like to know how to update the user's claim.

i would like to extend Tenant to have an IMayHaveOrganization and display they organization name in the Tenant List.

Also filter the list based on organizational access of the logged in user.

what's the best way to achieve?

Hi -

I use Okta as my SSO provider and I am able to successfully implement that in my project succesfully. Now other applications wants to call my API and we share the same okta users across.

My question is when the other application is going to call ExternalAuthenticate API of my application how it's going to pass the Tenant ID ? Currently the TenantID is being retrieved from AbpSession.

Do I need to write a separete External Authenticate API and have Tenant ID included as a parameter.

Am I missing something ?

Showing 21 to 30 of 120 entries