ABP Framework version: v4.4.0
UI type: None
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): Module with no UI
Exception message and stack trace: Cannot find package {{ModuleName}}.Blazorize.Server
Steps to reproduce the issue:"
-
- Ensure CLI and ABP Suite are both version 4.4.0 (not pre-release)
-
- Create a new module Solution with NO UI
-
- Build the new Module App Soltion
-
- Error will appear for missing package {{moduleName}}.Blazorize.Server cannot be found
I am under the impression I created a Module with No UI. Now I see that it is looking for a Blazorize Module? I am confused to why it will not build. I have done 0 modifications and it will not build
12 Answer(s)
-
0
Hi,
We will check it, thanks.
-
0
Hi
https://github.com/abpframework/abp/pull/9760 we will fix it. and your ticket returned.
-
0
Hi
https://github.com/abpframework/abp/pull/9760 we will fix it. and your ticket returned.
Hello! so this is fixed? is there anything i need to do to implement the fix?
-
0
You can try to
remove Blazor.Server.Host
project from your solution. -
0
You can try to
remove Blazor.Server.Host
project from your solution.I have done this and not the application does not run at all. It builds fine, but when i run it i get 500 errrors 'application errors'
Is there anything I need to do to get the modules running?
-
0
hi
Please try to update the database in your projects.
host\Aeonic.Module.Reviews.IdentityServer>dotnet ef database update host\Aeonic.Module.Reviews.HttpApi.Host>dotnet ef database update
An error occurred using the connection to database 'Reviews_Main' on server 'localhost'. 2021-08-05 20:10:12.863 -04:00 [FTL] Application startup exception Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Aeonic.Module.Reviews.ReviewsIdentityServerModule, Aeonic.Module.Reviews.IdentityServer, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null: Cannot open database "Reviews_Main" requested by the login. The login failed. Login failed for user 'DESKTOP-GTS0TLK\Jeff-Office-PC'.. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot open database "Reviews_Main" requested by the login. The login failed. Login failed for user 'DESKTOP-GTS0TLK\Jeff-Office-PC'.
-
0
Thanks, I have done this and now I am able to run the
Aeonic.Module.Reviews.HttpApi.Host
project which successfully shows swagger API Docs.I am not able to run the other 'host' projects:
*
IdentityServer
*Blazor.Server.Host
Four questions:
- Am I only supposed to be able to run the swagger project?
- Is it an error that I cannot run the IdentityServer project, or is that by design?
- Will the migrations be created automatically after each time I create a new Entity using ABP Suite? And I simply need to update the database as you mentioned? Or will I need to add the migration and update it manually each time?
- What is the purpose of the
Blazor.Server.Host
project?
Thanks!
-
0
hi
Please remove Blazor.Server.Host project from your solution.
Here is document of module solution. https://docs.abp.io/en/commercial/latest/startup-templates/module/solution-structure
I am not able to run the IdentityServer
What's the error?
-
0
Blazor.Server.Host
is the UI project just like theWeb
. You can use it to test your module. -
0
Blazor.Server.Host
is the UI project just like theWeb
. You can use it to test your module.I selected "do not include UI", so i am confused why this was included in the template
What's the error?
It is a 500 error, application error, now that i run it again it is not erroring. Please see the video. https://drive.google.com/file/d/1ByfhoiqkpyQMsoFU4e049Zo7rg1CP0s0/view?usp=sharing
In the video the startup is VERY VERY slow, it takes 10 - 12 minutes to load identity server. Do you know why this is? my computer is very fast too: Computer stats here
-
0
I selected "do not include UI", so i am confused why this was included in the template
We will fix this. See https://support.abp.io/QA/Questions/1670/Cannot-Build-100-New-Module-Project---No-UI----Missing-BlazoriseServer-nuget-package#answer-dd7405cb-4d99-3d07-60c9-39fe2b3b6cce
In the video the startup is VERY VERY slow, it takes 10 - 12 minutes to load identity server. Do you know why this is? my computer is very fast too:
Are you setup Redis? Please check your app logs to see why it so slowly.
-
0
This question has been automatically marked as stale because it has not had recent activity.