*.AuthServer or *.HttpApi.Host process exit with a special code.dotnet run --project .\src\TVRS.AuthServer\TVRS.AuthServer.csproj
-42 without a .NET stack trace, it’s being terminated by something external (AV/EDR/policy).Whitelist ABP/Studio network endpoints in your security software
abp.io and subdomains are allowed (this is a known class of issues with ABP Studio/network communication, and it can indirectly break the “run” experience):
*.abp.io (covers account.abp.io, nuget.abp.io, etc.)Verify ABP account endpoint is reachable from the .NET runtime (not just browser)
[System.Net.Http.HttpClient]::new().GetStringAsync('https://account.abp.io/.well-known/openid-configuration').Result
(Background case that matches your symptoms: corporate security blocking ABP Studio’s network communication / endpoints: https://abp.io/support/questions/10523 )
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.
IdentityUser and issuing the normal ABP auth cookie/token.Do AD authentication in the Auth Server (or IdentityServer/OpenIddict host)
After AD says “OK”, create or find the ABP user and sign in
IdentityUser and sign in via ASP.NET Core Identity (so ABP can do permissions/auditing/tenancy/etc.)."LDAP" and provider key like AD’s GUID/UPN) if you want it tracked like an external provider.Do NOT expect “Register” to create AD accounts
If you want automatic user creation on first login
IdentityUser record the first time that AD user signs in.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.
ABP 10.1.1 (including ABP Commercial/Pro Blazor modules) is not compatible with Blazorise 2.x.
Your exception is the expected runtime failure mode when you force Blazorise 2.x into an ABP version whose UI modules were built against Blazorise 1.8.x APIs (e.g., Blazorise.TextEdit was changed/removed in v2, so ABP Pro components compiled against v1 types will fail at runtime with Could not load type ...).
Fast resolution (recommended for ABP 10.1.1):
2.0.2 references so ABP’s transitive dependencies are not overridden by your project.abp clean) to ensure old assemblies aren’t lingering.When is Blazorise 2.x supported?
Timeline
Links (verified):
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.
Your screenshot shows the standard ABP “Blazor WebAssembly” layered solution (non-tiered) with these key projects:
wwwroot).Client project)Deployment blueprint that matches this structure on Azure App Service
Deploy Properly.HttpApi.Host to an Azure Web App (API)
ConnectionStrings__Default (Azure SQL)App__SelfUrl = https://<api-app>.azurewebsites.netAuthServer__Authority = https://<api-app>.azurewebsites.netApp__CorsOrigins must include your Blazor site URL (see step 3)Properly.DbMigrator against Azure SQL once (so OpenIddict clients/redirect URIs are seeded correctly).Deploy Properly.Blazor (NOT Properly.Blazor.Client) to an Azure Web App (UI)
.Client project alone is just static WASM output; the ABP template expects the Properly.Blazor host project for serving it in the default setup.Make sure URLs are consistent (most common cause of “loads forever”) In Properly.Blazor/wwwroot/appsettings.json (or its environment-specific variant you deploy), set:
App:SelfUrl = https://<blazor-app>.azurewebsites.netAuthServer:Authority = https://<api-app>.azurewebsites.netRemoteServices:Default:BaseUrl = https://<api-app>.azurewebsites.netIn Properly.HttpApi.Host configuration, ensure:
App:CorsOrigins includes https://<blazor-app>.azurewebsites.netApp:RedirectAllowedUrls includes https://<blazor-app>.azurewebsites.netAlternative (simplest operationally): host WASM inside HttpApi.Host and deploy only one App Service
If you want one Azure Web App only, follow the “Blazor WebAssembly ASP.NET Core Hosted” approach (ABP community guide). This makes HttpApi.Host serve the WASM files too:
app.UseBlazorFrameworkFiles() before static filesMapFallbackToFile("index.html")SelfUrl, Authority, BaseUrl) to the same host URL(This approach is explicitly documented in the ABP community article below.)
Links (verified reachable)
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.
Create Azure resources
Run database migrations (once per environment)
YourApp.DbMigrator against the Azure SQL connection string before starting the production app.Set Production configuration (critical for ABP startup) In Azure App Service Configuration → Application settings, set (at minimum):
ConnectionStrings__Default = <your Azure SQL connection string>App__SelfUrl = https://<your-api-app>.azurewebsites.net (or your custom domain)AuthServer__Authority = https://<your-api-app>.azurewebsites.netABP’s “Step 2” doc lists the exact places these values must be consistent across projects (HttpApi.Host, Blazor, DbMigrator).
Deploy HttpApi.Host to Azure Web App
YourApp.HttpApi.Host (Release) and deploy to the Web App.Deploy Blazor WASM
YourApp.Blazor to Azure Static Web Apps.wwwroot/appsettings.json in the Blazor project), set:
App:SelfUrl to the Blazor site URLAuthServer:Authority to the API URLRemoteServices:Default:BaseUrl to the API URLApp__SelfUrl, AuthServer__Authority, Blazor RemoteServices:Default:BaseUrl must match your real Azure endpoints.UseBlazorFrameworkFiles() before UseStaticFiles()MapFallbackToFile("index.html")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.
The official entry point is the Account module’s impersonation feature. The documentation explains the concept (tenant impersonation + user impersonation) and the built-in endpoints/flow you can replicate from your own UI:
In practice, your “custom Login with this tenant” flow is:
admin and current host user is not allowed).Links:
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.
admin (the conventional tenant admin username created by the templates/seed).admin unless the current host user meets your criteria).Sources:
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.
This error is not caused by your ABP solution/services directly. ABP Studio can’t complete login because it can’t reach the OpenId Connect discovery endpoint (https://account.abp.io/.well-known/openid-configuration).
The message “No such service is known … (account.abp.io:443)” indicates a DNS/network resolution problem on the machine (or corporate network/proxy), not an ABP Studio credential issue.
Fix steps (apply in order):
Verify DNS resolution
nslookup account.abp.ioping account.abp.io (ICMP may be blocked; DNS result is what matters)nslookup fails or returns an internal/blocked address, fix your DNS (corporate DNS, VPN DNS, etc.).Check proxy / firewall / SSL inspection
account.abp.io:443 is allowed and that the proxy is correctly configured for Windows (WinHTTP) and the current user.account.abp.io.Allowlist required domains
account.abp.io (authentication discovery endpoint)abp.io (Studio services/updates may use it)Retry login
If this is license/account related or you need your network requirements officially confirmed for your organization, please contact us: https://abp.io/contact
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.
Practical options you can use immediately:
Links:
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.
In ABP, the Database BLOB Provider tables (AbpBlobContainers, AbpBlobs) are added to the EF Core model only if the DbContext includes the BLOB-Storing model configuration (i.e., the builder.ConfigureBlobStoring() mappings are part of that DbContext’s OnModelCreating).
When you run dotnet ef migrations add ... --context ConnectDbContext, EF compares:
ConnectDbContext andConnectDbContextIf your ConnectDbContext currently includes ConfigureBlobStoring() but the snapshot (or previous module migrations history) didn’t, EF thinks these tables are new for that context and generates CreateTable for them—even if they already exist in the physical database due to the main app’s migration history.
Pick a single “owner” migration DbContext for shared ABP infrastructure tables, and generate/apply those tables only from that owner.
builder.ConfigureBlobStoring().Do NOT include Blob-Storing model mappings in module-specific DbContexts that maintain their own migrations, unless that module is intended to “own” those tables in its own migrations history.
builder.ConfigureBlobStoring() in ConnectDbContext (or in that module’s migrations DbContext).container.UseDatabase() is fine), but schema creation for AbpBlobs/AbpBlobContainers should come from the single owner migrations set.If you already generated a module migration that contains these CreateTable calls:
CreateTable for AbpBlobContainers / AbpBlobs (and corresponding indexes/FKs) so the module migration only contains module-owned schema changes.This keeps each module’s migrations independent while preventing “shared infrastructure” tables from being created multiple times by different migration histories.
Sources:
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.