1
vipulbuoyancy created
- ABP Framework version: v7.4.0
- UI Type: Angular
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- Steps to reproduce the issue:
HI ,
I get the error when click on tenant switch on login page.
I tried to multiple solution but its not work. please help for resolve this issue.
thanks
3 Answer(s)
-
0
This tried From https://support.abp.io/QA/Questions/3140/Wrong-path-of-TenantSwitchModal - This is causing 500 Error The login page won't load.
Configure<AbpBundlingOptions>(options => { options.ScriptBundles.Configure( LeptonXThemeBundles.Scripts.Global, bundle => { bundle.AddFiles("/Pages/Abp/MultiTenancy/tenant-switch.js"); }); });
AND
Configure<AbpBundlingOptions>(options => { options.ScriptBundles.Configure( StandardBundles.Scripts.Global, bundleConfiguration => { bundleConfiguration.AddContributors(typeof(TenantSwitchBundle)); } ); });
-
0
This is resolved after combining the two
Configure<AbpBundlingOptions>
scripting and style in one.Configure<AbpBundlingOptions>(options => { options.StyleBundles.Configure( LeptonXThemeBundles.Styles.Global, bundle => { bundle.AddFiles("/global-styles.css"); } ); options.ScriptBundles.Configure( LeptonXThemeBundles.Scripts.Global, bundle => { bundle.AddFiles("/Pages/Abp/MultiTenancy/tenant-switch.js"); } ); });
-
0
I've tried both local debug & and Production Release environments and it's working as expected. I need to reproduce to understand the problem.
Can you please share the minimum reproduction steps?