I need help with the error below. After developing all code in a Test branch, we then did a Pull Request to bring our Master branch the same as Test (to make it Live effectively). The Azure App Services have exactly the same settings, and the code (both API and APP) is exactly the same too. However on the Live APP we get the following message:
The Live API seems fine. We can login and everything seems fine there.. We really need to fix this issue and make the App Live. Can someone help us asap please?
Thanks in advance.
Hi,
We'd like to find a way to stop having to choose a Tenant before entering the credentials in the login page.
Any valid user id or email and a password should be only assigned to one Tenant, right? The objective is that ANY user can login using the email/username and password, and the system will figure out which Tenant to choose. How can we achieve that?
Cheers
Hi,
We'd like to go for a "Per Active User Per Month" basis when it comes to subscription payments. How ca we achieve that?
Cheers
Hi,
When i build project in VSC its all good, push it to Azure DevOps and then i get these errors below
I'm using latest version and these are the logs from devops.
2020-04-10T21:18:21.6497406Z ERROR in src/app/shared/layout/link-account-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6497995Z 2020-04-10T21:18:21.6498307Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6498749Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6499182Z src/app/shared/layout/linked-accounts-modal.component.ts:6:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6499487Z 2020-04-10T21:18:21.6499680Z 6 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6499951Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6500394Z src/app/shared/common/lookup/common-lookup-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6500706Z 2020-04-10T21:18:21.6500896Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6501189Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6501621Z src/app/shared/layout/create-new-user-delegation-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6502180Z 2020-04-10T21:18:21.6502574Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6503049Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6504682Z src/app/shared/layout/user-delegations-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6505525Z 2020-04-10T21:18:21.6505910Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6506418Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6507132Z src/app/shared/layout/login-attempts-modal.component.ts:6:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6507782Z 2020-04-10T21:18:21.6508111Z 6 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6508508Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6509156Z src/app/shared/layout/profile/change-password-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6509638Z 2020-04-10T21:18:21.6509968Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6510454Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6511228Z src/app/shared/layout/profile/change-profile-picture-modal.component.ts:7:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6511739Z 2020-04-10T21:18:21.6512081Z 7 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6512492Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6513151Z src/app/shared/layout/profile/sms-verification-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6513673Z 2020-04-10T21:18:21.6513973Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6514387Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6515014Z src/app/shared/layout/profile/my-settings-modal.component.ts:11:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6515514Z 2020-04-10T21:18:21.6515815Z 11 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6516234Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6516940Z src/app/shared/layout/notifications/notification-settings-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6517461Z 2020-04-10T21:18:21.6517753Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6518169Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6519015Z src/app/shared/common/entityHistory/entity-change-detail-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6519540Z 2020-04-10T21:18:21.6519841Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6520256Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6520952Z src/app/shared/common/entityHistory/entity-type-history-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6521459Z 2020-04-10T21:18:21.6521757Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6522197Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6522912Z src/app/shared/common/customizable-dashboard/add-widget-modal/add-widget-modal.component.ts:4:32 - error[0m TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6523484Z 2020-04-10T21:18:21.6523779Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6524540Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6525248Z src/app/shared/common/customizable-dashboard/customizable-dashboard.component.ts:10:54 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6525773Z 2020-04-10T21:18:21.6526161Z 10 import { TabsetComponent, BsDropdownDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6526677Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6527588Z src/app/shared/common/customizable-dashboard/customizable-dashboard.component.ts:14:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6583900Z 2020-04-10T21:18:21.6584309Z 14 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6584731Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6585307Z src/app/shared/common/app-common.module.ts:8:104 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6585765Z 2020-04-10T21:18:21.6586350Z 8 import { ModalModule, TabsModule, BsDropdownModule, BsDatepickerConfig, BsDaterangepickerConfig } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6587390Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6588126Z src/app/main/main.module.ts:7:89 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6588503Z 2020-04-10T21:18:21.6588944Z 7 import { ModalModule, TabsModule, TooltipModule, BsDropdownModule, PopoverModule } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6589632Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6590491Z src/app/admin/organization-units/add-member-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6590952Z 2020-04-10T21:18:21.6591264Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6591745Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6592440Z src/app/admin/organization-units/add-role-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6593273Z 2020-04-10T21:18:21.6593623Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6594162Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6594882Z src/app/admin/audit-logs/audit-log-detail-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6595432Z 2020-04-10T21:18:21.6595761Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6596256Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6596965Z src/app/admin/editions/create-edition-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6597510Z 2020-04-10T21:18:21.6597876Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6598347Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6599248Z src/app/admin/editions/edit-edition-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6599574Z 2020-04-10T21:18:21.6599796Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6600066Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6600508Z src/app/admin/editions/move-tenants-to-another-edition-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6600844Z 2020-04-10T21:18:21.6601059Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6601332Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6601728Z src/app/admin/languages/edit-text-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6602046Z 2020-04-10T21:18:21.6602237Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6602506Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6602936Z src/app/admin/languages/create-or-edit-language-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6603281Z 2020-04-10T21:18:21.6603469Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6603737Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6604191Z src/app/admin/organization-units/create-or-edit-unit-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6604521Z 2020-04-10T21:18:21.6604711Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6605148Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6606003Z src/app/admin/roles/create-or-edit-role-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6606540Z 2020-04-10T21:18:21.6606870Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6607352Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6608003Z src/app/admin/shared/permission-tree-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6608433Z 2020-04-10T21:18:21.6608628Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6608923Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6609325Z src/app/admin/tenants/create-tenant-modal.component.ts:9:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6609623Z 2020-04-10T21:18:21.6609814Z 9 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6610301Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6611101Z src/app/admin/tenants/edit-tenant-modal.component.ts:6:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6611689Z 2020-04-10T21:18:21.6612078Z 6 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6612591Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6613011Z src/app/admin/tenants/tenant-features-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6613320Z 2020-04-10T21:18:21.6613535Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6613806Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6614219Z src/app/admin/users/create-or-edit-user-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6614529Z 2020-04-10T21:18:21.6614745Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6615016Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6615434Z src/app/admin/users/edit-user-permissions-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6615747Z 2020-04-10T21:18:21.6615961Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6616230Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6616795Z src/app/admin/webhook-subscription/create-or-edit-webhook-subscription-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6617202Z 2020-04-10T21:18:21.6617405Z 5 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6617674Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6618135Z src/app/admin/webhook-subscription/webhook-subscription-detail.component.ts:9:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6618473Z 2020-04-10T21:18:21.6618663Z 9 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6618932Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6619382Z src/app/admin/webhook-subscription/webhook-event-detail.component.ts:6:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6619707Z 2020-04-10T21:18:21.6619898Z 6 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6620166Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6620700Z src/app/admin/dynamic-entity-parameters/dynamic-parameter/create-or-edit-dynamic-parameter-modal.component.ts:2:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6621102Z 2020-04-10T21:18:21.6621299Z 2 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6621591Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6622106Z src/app/admin/dynamic-entity-parameters/entity-dynamic-parameter/create-entity-dynamic-parameter-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6622517Z 2020-04-10T21:18:21.6622709Z 4 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6623010Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6623570Z src/app/admin/dynamic-entity-parameters/dynamic-parameter/dynamic-parameter-value/create-or-edit-dynamic-parameter-value-modal.component.ts:2:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6624021Z 2020-04-10T21:18:21.6624238Z 2 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6624567Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6625153Z src/app/admin/dynamic-entity-parameters/entity-dynamic-parameter/entity-dynamic-parameter-value/manage-entity-dynamic-parameter-values-modal.component.ts:6:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6625651Z 2020-04-10T21:18:21.6625844Z 6 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6626112Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6626488Z src/app/admin/admin.module.ts:9:89 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6626741Z 2020-04-10T21:18:21.6627034Z 9 import { ModalModule, PopoverModule, TabsModule, TooltipModule, BsDropdownModule } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6627492Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6628041Z src/app/shared/common/session-timeout/session-timeout-modal-component.ts:3:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6628378Z 2020-04-10T21:18:21.6628568Z 3 import { ModalDirective } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6628858Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6629205Z src/app/app.module.ts:18:89 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6629446Z 2020-04-10T21:18:21.6629741Z 18 import { ModalModule, TabsModule, TooltipModule, BsDropdownModule, PopoverModule } from 'ngx-bootstrap'; 2020-04-10T21:18:21.6630229Z ~~~~~~~~~~~~~~~ 2020-04-10T21:18:21.6630722Z src/account/shared/tenant-change-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'. 2020-04-10T21:18:21.6631330Z 2020-04-10T21:18:21.6631527Z 4 import { ModalDirective } from 'ngx-bootstrap';
Hi
Downloaded latest and i have this issue, do you know a fix for it.
error - cannot find name 'abp'
export function getRecaptchaLanguage(): string { return new LocaleMappingService().map('recaptcha', abp.localization.currentLanguage.name); }
Thanks
HI
Im getting an error after logging into the app "An internal error occurred during your request!" and when I F12 I see the a 500 status error failed to load resource, pointing to the GetProfilePicture.
I cant even get to debug the ProfileAppService.
Any Ideas?
Thanks
Hi,
When i use power tools to generate the layering of my entity (which my build succeeds), but i get a few warnings saying that...
Warning : File not found => ....\angular\src\app\admin\admin.module.ts Warning : File not found => ....\angular\src\app\admin\admin-routing.module.ts Warning : File not found => ....\angular\src\app\shared\layout\nav\app-navigation.service.ts Warning : File not found => ....\angular\src\shared\service-proxies\service-proxy.module.ts
When i go to this directory its created me this path...
E:\Projects\EZNow\angular\src\app\admin\leave\leaveTypes
This is not the path i use for my repo, my actual path is this...
E:\Projects\EZNow\EZNow-Angular\2EZNow-APP\2EZNow\src\app\admin
Why does it do this and how do i get round this?
Thanks.
Hi
Can you help me please I have created a table and in my table i have a (TenantId FK ID), to refernce ZERO table TenantId.
When i run power tools my build fails complaining about abiguity of this tenantId within the OnModelCreating method of the context class.
Error CS0229 Ambiguity between 'LeaveType.TenantId' and 'LeaveType.TenantId' EZNow.EntityFrameworkCore
modelBuilder.Entity<LeaveType>(l => { l.HasIndex(e => new { e.TenantId }); });
Any Ideas?
Thanks.
Hi,
Can you point me in the right direction on how I could connect a new table to an existing zero table in the user profile?
I think i need to modify ProfileAppService.cs and join the zero User table with my UserDetails table using LinQ.
But I need to modify the output DTO of the GetCurrentUserProfileForEdit method and return necessary information to profile edit modal. Then, I need to modify input DTO class of UpdateCurrentUserProfile method and update both User entity and my UserDetails entity in this method.
I’ve tried to figure it out but don’t think I’m on the right track can you point me exactly how I can achieve this within the 2 methods ?
I have also used my classes as a properties in your zero classes, dont know if that was the right thing to do and/or if joining the tables/classes based on ID's.
Could you show how & where I can achieve this?
Thanks