I have updated dotnet version from 6 to 9 and abp version from 4.4.2 to 9.1.3 which identity related to the identity server. I have updated everything related to identity server which supports latest abp version. withiout updating to openiddict. everything working fine and ui lepton related issues i am facing.
Issue:
Could not find localization source: AMS abp.js?_v=638863420906681735:44 WARN: abp.js?_v=638863420906681735:44 Could not find localization source: AbpUi Could not find localization source: AbpIdentity

Index.js?_v=638826206980000000:11 Uncaught TypeError: id.replace is not a function at HTMLAnchorElement.<anonymous> (Index.js?_v=638826206980000000:11:24) at HTMLAnchorElement.dispatch (jquery.js?_v=638863404709585950:5183:27) at elemData.handle (jquery.js?_v=638863404709585950:4991:28) at Object.trigger (jquery.js?_v=638863404709585950:8249:12) at HTMLAnchorElement.<anonymous> (jquery.js?_v=638863404709585950:8327:17) at jQuery.each (jquery.js?_v=638863404709585950:354:19) at jQuery.fn.init.each (jquery.js?_v=638863404709585950:189:17) at jQuery.fn.init.trigger (jquery.js?_v=638863404709585950:8326:15) at jQuery.fn.<computed> [as click] (jquery.js?_v=638863404709585950:10212:9) at Index.js?_v=638826206980000000:27:16
In every pages i am getting the same issues
27 Answer(s)
-
0
The "Could not find localization source" errors (AMS, AbpUi, AbpIdentity) indicate that the required localization resources are missing or not properly registered after your upgrade. This is a common issue when upgrading major ABP versions, especially from v4.x to v9.x, due to changes in the localization system and resource file structure.
- Ensure that all required localization resource files (e.g., AMS.xml, AbpUi.xml, AbpIdentity.xml) exist in the correct locations (typically under Localization folders in each module or project).
- Verify that your module classes are properly registering their localization resources in the
ConfigureServicesmethod using the new ABP v9 syntax. - Check the ABP 9.1 migration guide for any breaking changes related to localization and resource registration.
The
Uncaught TypeError: id.replace is not a functionerror is likely caused by a JavaScript code expecting a stringid, but receiving an object or another type. This can happen if the structure of data returned from the backend has changed after the upgrade, or if a localization key is missing and returns an object instead of a string.- Review the code at the specified line in Index.js and ensure that the
idvariable is always a string before calling.replace. - Check if any localization or menu item keys are missing or misconfigured, as this can cause such issues in ABP UI.
- Review the code at the specified line in Index.js and ensure that the
The UI issues (e.g., "PagerShowMenuEntries" and "ProcessingWithThreeDot" showing as raw keys) are also related to missing or unregistered localization resources.
Recommended Steps:
- Review and update your localization resource files and registration according to the ABP 9.1 migration guide.
- Rebuild your solution and clear browser/server caches.
- If you have custom modules (like AMS), ensure their localization is registered as described in the migration guide.
Source:
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
I didn't understand by seeing that guide i need more clarification why it will come and what ar the things that i need to chang in the source code and project code
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
Can you share the HAR of all HTTP requests and responses?
https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems#answer-3a1a1c4b-691e-3403-98b9-5f23fa024759
liming.ma@volosoft.com
Thanks.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi maliming,
In my updated project, i am using volo.LeptonTheme a.d i updated my package.json file. package.json : { "version": "1.0.0", "name": "my-app", "private": true, "dependencies": { "@volo/abp.aspnetcore.mvc.ui.theme.lepton": "~9.1.3", "@volo/saas": "~9.1.3", "@volo/audit-logging": "~9.1.3", "@volo/identity": "~9.1.3", "@volo/account": "~9.1.3" }, "resolutions": { "jquery": "^3.7.1", "bootstrap": "^5.3.7" } } now i am getting the data but getting this pagination(Localization) issues and some page loading issues:

please find the HAR file which is attached. https://ensuritytech-my.sharepoint.com/:u:/g/personal/vishnuvardhan_u_ensurity_com/Ec5ML4PoiFZOjtXcfld1uqEBX0Zo7N3IYdNYGuNUD7iQng?e=ymAbYY
Thanks.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
There is no
https://localhost:44326/Abp/ApplicationLocalizationScript?cultureName=enrequest in your website.Do you have a custom layout file?
https://github.com/abpframework/abp/blob/dev/modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Layouts/Application.cshtml#L87-L89
Thanks.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
that localization issues resolved. But, for the application libs bootstrap4 updated to bootstrap5. I have added the settings components "AAD Configuration" and "Company Logo" so i am getting these issues and ui view for the user info image from top right to left it is coming and have this type of similar issue in the ui. can you please help me out based on the reference screen i attached.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
-
0
hi
Add
justify-content: space-between;tonavbarToolbar<div class="collapse navbar-collapse d-lg-block toolbar-nav-wrapper" id="navbarToolbar" style="justify-content: space-between;">Remove
mt-5from<div aria-labelledby="dropdownMenuUser" class="dropdown-menu dropdown-menu-end show" data-bs-popper="static">Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Please set an
idfor your setting eg:Volo.Abp.Accountis theidcontext.Groups.Add( new SettingComponentGroup( "Volo.Abp.Account", l["Menu:Account"], typeof(AccountAdminSettingManagementComponent) ) );Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi
that code already there
public async Task ConfigureAsync(SettingComponentCreationContext context) { if (!await CheckPermissionsInternalAsync(context)) { return; }
var l = context.ServiceProvider.GetRequiredService<IStringLocalizer<AccountResource>>(); context.Groups.Add( new SettingComponentGroup( "Volo.Abp.Account", l["Menu:Account"], typeof(AccountAdminSettingManagementComponent) ) );}
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi
i have modified the id's properly now it is working for the aad configuration and companylogo tab but in the login page Fab logo went up and it need to be above the login card and i am not a robot action popup is not closing after selection value
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
hi
this image logo went up automatically
Add below styles to your
<a class="navbar-brand" href="/" alt="AMS" style="You can change the size.
position: static; display: block; width: 400px; height: 275px; margin: 0px; margin-left: -38px; }Change your JS code to close the model after the callback event. I have no idea about this.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi,
I am getting the issue because of the bootstrap an jquery version issues i have updated from bootstrap:4.6.0 to 5.3.7 jquery : 3.6.0 to 3.7.1
but i didn't understand how to resolve that
Package.json: { "version": "1.0.0", "name": "my-app", "private": true, "dependencies": { "@volo/abp.aspnetcore.mvc.ui.theme.lepton": "~9.1.3", "@volo/saas": "~9.1.3", "@volo/audit-logging": "~9.1.3", "@volo/identity": "~9.1.3", "@volo/account": "~9.1.3", "bootstrap": "^5.3.7", "jquery": "^3.7.1" }, "resolutions": { "jquery": "^3.7.1", "bootstrap": "^5.3.7" } } i have done the abp install-libs
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
Can you try to remove
yarn.lockandpackage-lock.jsonfiles, then re-run theabp install-libscommand?Then you can check the JS and CSS files under the
wwwroot/libsfolder.Thanks.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
- In the my account i am not able to submit the forms (Profile picture, Personal info) submit s not working , here i am submitting , page is automatically reloading and api is not hitting and getting the issue in manage.cshtml page.

this is the error i am getting when i try to submit

I have checked by creating the mew project in 9.1.3 version with the source code and the js files added as abundlescripts in both so no change is there in the code
2)for the login screen , i am still facing the issue with captcha i am not getting to manage from the event in js
<div class="modal fade bd-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true" id="qrImageModal" data-backdrop="static" data-keyboard="false"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalCenterTitle">Click on YES to proceed...</h5> </div> <div class="modal-body text-center"> <div class="articleBody clear" id="page" style="width:220px; height:220px"> <div id="clickable"> <input type="hidden" id="inptId" class="form-control" /> <div id="qrimageData" aria-label="Close"> </div> </div> </div> </div> <div class="modal-footer"> <p class="text-center font_14">Ensurity's innovated eCAPTCHA based on patented NLSS technology</p> </div> </div> </div> </div>
this is the code i am using in login page script: <script> var captchaSuccess = false; var myVar; var _origin = window.location.origin; function myStopFunction() { clearTimeout(myVar); }
$("#check").click(function () { $("#qrImageModal").modal('show'); myVar = setInterval(function () { generateQR(); }, 3000); }); $(document).ready(function () { chechboxlength(); $('input[type="checkbox"]').click(function () { if (captchaSuccess) { chechboxlength(); } }); $('#btnSubmit').prop('disabled', true); $("#check").click(function () { $("#qrImageModal").modal('show'); myVar = setInterval(function () { generateQR(); }, 3000); }); }); function chechboxlength() { $('#btnSubmit').prop('disabled', false); } function generateQR() { var url3 = _origin + '/api/tpcg/code?applicationId=' + "Ensurity"; $.ajax({ type: 'GET', url: url3, success: function (data) { $("#inptId").val(data.id); $('#qrimageData').html(data.qrData); }, }); }
function _ThreeDIDimageOnClick(elementRef) {
var posObject = getEventLocation(event);
var url = _origin + '/api/tpcg/validate?applicationId=' + "Ensurity&&id=" + $("#inptId").val() + "&&x=" + posObject.x + "&&y=" + posObject.y;
$.ajax({
type: 'GET',
url: url,
success: function (data) {var modalEl = document.getElementById('qrImageModal'); var modalInstance = bootstrap.Modal.getInstance(modalEl) || new bootstrap.Modal(modalEl); modalInstance.hide(); switch (data) { case 1: captchaSuccess = true; $('#btnSubmit').prop('disabled', false); $('#check').addClass('shown'); $('#check').removeAttr('check'); $('#check').removeClass('hiden'); $('#eCaptchadiv').addClass('showncheck'); chechboxlength(); myStopFunction(); break; default: captchaSuccess = false; $('#btnSubmit').prop('disabled', true); $('#check').addClass('hiden'); $('#check').removeClass('shown'); $('#eCaptchadiv').removeClass('shown'); myStopFunction(); break; } }, }); } function getEventLocation(event) { var pos_x = event.offsetX ? (event.offsetX) : event.pageX - document.getElementById("tpcg").offsetLeft; var pos_y = event.offsetY ? (event.offsetY) : event.pageY - document.getElementById("tpcg").offsetTop; return { x: pos_x, y: pos_y }; }</script>this is the script that i have written for the captcha can you help on thesee two issues
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) - In the my account i am not able to submit the forms (Profile picture, Personal info) submit s not working , here i am submitting , page is automatically reloading and api is not hitting and getting the issue in manage.cshtml page.
-
0
hi
1.
Add
$("#qrImageModal").modal('hide');when success.$("#captchImage").val(encoded); $.ajax({ type: 'GET', url: url, success: function (data) { switch (data) { case 1: captchaSuccess = true; $("#qrImageModal").modal('hide'); $('#btnSubmit').prop('disabled', false); $('#check').addClass('shown'); $('#check').removeAttr('check'); $('#check').removeClass('hiden'); $('#eCaptchadiv').addClass('showncheck'); chechboxlength(); myStopFunction(); break; default: captchaSuccess = false; $('#btnSubmit').prop('disabled', true); $('#check').addClass('hiden'); $('#check').removeClass('shown'); $('#eCaptchadiv').removeClass('shown'); myStopFunction(); break; } }, });It seems you have added
ProfileManagementGroup/PersonalInfo/Default.jsin your view.The account module will add it automatically.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
i have added the code what you have mentioned. it is working now.
i am generating the log file daily date basis. log files are generating in debug mode. i have hosted my application in iis and when i start my application, log files are not creating. i have added this code in my program.cs file could you help me out.
public static int Main(string[] args) { Log.Logger = new LoggerConfiguration() #if DEBUG .MinimumLevel.Debug() #else .MinimumLevel.Information() #endif .MinimumLevel.Override("Microsoft", LogEventLevel.Information) .MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning) .Enrich.FromLogContext() .WriteTo.File("Logs/logs.txt", rollingInterval: RollingInterval.Day) .CreateLogger(); try { Log.Information("Starting web host."); CreateHostBuilder(args).Build().Run(); return 0; } catch (Exception ex) { Log.Fatal(ex, "Host terminated unexpectedly!"); return 1; } finally { Log.CloseAndFlush(); } } internal static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureAppConfiguration(build => { build.AddJsonFile("appsettings.secrets.json", optional: true); }) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); //.UseContentRoot(Directory.GetCurrentDirectory()) }) .UseAutofac() .UseSerilog(); }Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
Does your website work in IIS?
Can you check the application logs in Windows Event Viewer(https://learn.microsoft.com/en-us/shows/inside/event-viewer)?
Thanks.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
getting this error for submitting the form in the settings components
Error: Lepton.Global.9ED3DF…8868847459041541:14 PUT https://fabdemo.xsensemfa.live/api/app/aad-configuration 500 (Internal Server Error) send @ Lepton.Global.9ED3DF…8868847459041541:14 ajax @ Lepton.Global.9ED3DF…8868847459041541:14 (anonymous) @ Lepton.Global.9ED3DF…8868847459041541:15 Deferred @ Lepton.Global.9ED3DF…8868847459041541:14 abp.ajax @ Lepton.Global.9ED3DF…8868847459041541:15 ensurity.aMS.aadConfiguration.aadConfiguration.update @ ServiceProxyScript:1 (anonymous) @ VM373:1 dispatch @ Lepton.Global.9ED3DF…8868847459041541:14 y.handle
here when i try to save the form i am getting the error which i hilighted in the inspect
But in my local debug i am not getting any issues. After hosting the application in iis i am facing this issues . For the SMTP settings also i am getting the same issue.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)






