Activities of "rwright-ruhealth"

hi

[ERR] An unhandled exception has occurred while executing the request. Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate Operation for action - Volo.Chat.Conversations.ConversationController.SendMessageAsync (Volo.Chat.HttpApi). See inner exception ---> Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate schema for type - Volo.Chat.Messages.SendMessageInput. See inner exception ---> System.NullReferenceException: Object reference not set to an instance of an object.

We will fix this in 8.2.2, sorry for that.

If you are using the source code of Chat. You can fix this by change chat/src/Volo.Chat.Application.Contracts/Volo/Chat/Messages/SendMessageInput.cs

My code already has this exact line. In fact, I have all of this code in the SendMessageInput.cs file. Is there anything else I can try? I did clean all projects deleting the bin and obj folders. A rebuild did not solve the solution.

I added as much of the relevant host log as possible. This is where the exceptions happen after the CHAT packages are replaced with the source code in a brand new solution created with ABP Studio/ABP Suite on 8.2.1 I can login, administer the server openiddict, etc.I can't use CHAT at all after swapping to Source Code.

From ABP STUDIO exceptions for the HttpApi.Host I get. Error : Failed to generate Operation for action - Volo.Chat.Conversations.ConversationController.SendMessageAsync (Volo.Chat.HttpApi). See inner exception Exception Type: Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException Souorce Swashbuckle.AspNetCore.SwaggerGetn.SwaggerGeneratorException. Stack Trace: at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository) at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable1 apiDescriptions, SchemaRepository schemaRepository) at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable1 apiDescriptions, SchemaRepository schemaRepository) at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerDocumentWithoutFilters(String documentName, String host, String basePath) at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerAsync(String documentName, String host, String basePath) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Volo.Abp.AspNetCore.Security.Claims.AbpDynamicClaimsMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext() --- End of stack trace from previous location --- at Volo.Abp.AspNetCore.Uow.AbpUnitOfWorkMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext() --- End of stack trace from previous location --- at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext() --- End of stack trace from previous location --- at Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)

hi

First. Please test your app withour virtual directory .

Then set log level to Debug and share your application logs.

Thanks.

public class Program 
{ 
    public async static Task<int> Main(string[] args) 
    { 
        Log.Logger = new LoggerConfiguration() 
            .MinimumLevel.Debug() 
            .MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning) 
            .Enrich.FromLogContext() 
            .WriteTo.Async(c => c.File("Logs/logs.txt")) 
            .WriteTo.Async(c => c.Console()) 
            .CreateLogger(); 

I created a brand new project from scratch. I did not create any virtual directories. Create an tiered EF books app. build it and login to make sure it works. Add the code version of the CHAT module and try to send a CHAT after giving a user CHAT permissions. you will get an internal server error. Swagger will fail to load with: error 500 /swagger/v1/swagger.json if I navigate to swagger.json directly: An unhandled exception occurred while processing the request.Volo.Chat.Messages.SendMessageInput Inserting the MyWebApp.HttpApi.Host log.txt file

2024-08-07 21:18:04.889 -07:00 [DBG] Request matched endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc)'
2024-08-07 21:18:04.889 -07:00 [DBG] Request matched endpoint 'MyWebAppt2v821.Controllers.HomeController.Index (MyWebAppt2v821.HttpApi.Host)'
2024-08-07 21:18:05.017 -07:00 [DBG] AuthenticationScheme: Bearer was not authenticated.
2024-08-07 21:18:05.017 -07:00 [DBG] AuthenticationScheme: Bearer was not authenticated.
2024-08-07 21:18:05.091 -07:00 [DBG] Static files was skipped as the request already matched an endpoint.
2024-08-07 21:18:05.091 -07:00 [DBG] Static files was skipped as the request already matched an endpoint.
2024-08-07 21:18:05.141 -07:00 [INF] Executing endpoint 'MyWebAppt2v821.Controllers.HomeController.Index (MyWebAppt2v821.HttpApi.Host)'
2024-08-07 21:18:05.141 -07:00 [INF] Executing endpoint 'Health checks'
2024-08-07 21:18:05.146 -07:00 [DBG] Running health checks
2024-08-07 21:18:05.201 -07:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller MyWebAppt2v821.Controllers.HomeController (MyWebAppt2v821.HttpApi.Host).
2024-08-07 21:18:05.206 -07:00 [DBG] Execution plan of authorization filters (in the following order): ["Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpAutoValidateAntiforgeryTokenAuthorizationFilter"]
2024-08-07 21:18:05.206 -07:00 [DBG] Execution plan of resource filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"]
2024-08-07 21:18:05.210 -07:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter (Order: -2147483648)","Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Volo.Abp.AspNetCore.Mvc.GlobalFeatures.GlobalFeatureActionFilter","Volo.Abp.AspNetCore.Mvc.Auditing.AbpAuditActionFilter","Volo.Abp.AspNetCore.Mvc.Response.AbpNoContentActionFilter","Volo.Abp.AspNetCore.Mvc.Features.AbpFeatureActionFilter","Volo.Abp.AspNetCore.Mvc.Validation.AbpValidationActionFilter","Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter"]
2024-08-07 21:18:05.212 -07:00 [DBG] Execution plan of exception filters (in the following order): ["Volo.Abp.AspNetCore.Mvc.ExceptionHandling.AbpExceptionFilter"]
2024-08-07 21:18:05.212 -07:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"]
2024-08-07 21:18:05.227 -07:00 [DBG] Executing controller factory for controller MyWebAppt2v821.Controllers.HomeController (MyWebAppt2v821.HttpApi.Host)
2024-08-07 21:18:05.285 -07:00 [DBG] Executed controller factory for controller MyWebAppt2v821.Controllers.HomeController (MyWebAppt2v821.HttpApi.Host)
2024-08-07 21:18:05.416 -07:00 [INF] Executing RedirectResult, redirecting to /swagger.
2024-08-07 21:18:05.432 -07:00 [INF] Executed action MyWebAppt2v821.Controllers.HomeController.Index (MyWebAppt2v821.HttpApi.Host) in 212.9086ms
2024-08-07 21:18:05.432 -07:00 [INF] Executed endpoint 'MyWebAppt2v821.Controllers.HomeController.Index (MyWebAppt2v821.HttpApi.Host)'
2024-08-07 21:18:05.497 -07:00 [DBG] Running health check MyWebAppt2v821 DbContext Check
2024-08-07 21:18:05.546 -07:00 [DBG] Connection ID "17509995412151337144" disconnecting.
2024-08-07 21:18:05.553 -07:00 [INF] Request starting HTTP/2 GET https://localhost:44326/swagger/index.html - null null
2024-08-07 21:18:05.560 -07:00 [DBG] The request path /swagger/index.html does not match an existing file
2024-08-07 21:18:05.563 -07:00 [DBG] No candidates found for the request path '/swagger/index.html'
2024-08-07 21:18:05.564 -07:00 [DBG] Request did not match any endpoints
2024-08-07 21:18:05.564 -07:00 [INF] Request finished HTTP/2 GET https://localhost:44326/ - 302 null null 1362.3689ms
2024-08-07 21:18:05.565 -07:00 [DBG] AuthenticationScheme: Bearer was not authenticated.
2024-08-07 21:18:05.574 -07:00 [DBG] Successfully validated the token.
2024-08-07 21:18:05.583 -07:00 [DBG] AuthenticationScheme: Bearer was successfully authenticated.
2024-08-07 21:18:05.735 -07:00 [DBG] Response markup is scheduled to include Browser Link script injection.
2024-08-07 21:18:05.752 -07:00 [DBG] Response markup is scheduled to include browser refresh script injection.
2024-08-07 21:18:05.771 -07:00 [DBG] Response markup was updated to include Browser Link script injection.
2024-08-07 21:18:05.773 -07:00 [DBG] Response markup was updated to include browser refresh script injection.
2024-08-07 21:18:05.776 -07:00 [DBG] Connection ID "17509995412151337146" disconnecting.
2024-08-07 21:18:05.776 -07:00 [INF] Request finished HTTP/2 GET https://localhost:44326/swagger/index.html - 200 null text/html;charset=utf-8 223.7829ms
2024-08-07 21:18:05.816 -07:00 [INF] Request starting HTTP/2 GET https://localhost:44326/_framework/aspnetcore-browser-refresh.js - null null
2024-08-07 21:18:05.831 -07:00 [DBG] Connection ID "17870283339391303723" disconnecting.
2024-08-07 21:18:05.834 -07:00 [INF] Request finished HTTP/2 GET https://localhost:44326/_framework/aspnetcore-browser-refresh.js - 200 13790 application/javascript; charset=utf-8 14.7634ms
2024-08-07 21:18:05.882 -07:00 [INF] Request starting HTTP/2 GET https://localhost:44326/_vs/browserLink - null null
2024-08-07 21:18:06.095 -07:00 [DBG] Connection ID "18374686484771897496" disconnecting.
2024-08-07 21:18:06.109 -07:00 [INF] Request finished HTTP/2 GET https://localhost:44326/_vs/browserLink - 200 null text/javascript; charset=UTF-8 226.3453ms
2024-08-07 21:18:06.182 -07:00 [INF] Request starting HTTP/2 GET https://localhost:44326/swagger/v1/swagger.json - null null
2024-08-07 21:18:06.183 -07:00 [DBG] The request path /swagger/v1/swagger.json does not match an existing file
2024-08-07 21:18:06.184 -07:00 [DBG] No candidates found for the request path '/swagger/v1/swagger.json'
2024-08-07 21:18:06.184 -07:00 [DBG] Request did not match any endpoints
2024-08-07 21:18:06.184 -07:00 [DBG] AuthenticationScheme: Bearer was not authenticated.
2024-08-07 21:18:06.916 -07:00 [DBG] Get dynamic claims cache for user: f013c66b-5934-3194-4231-3a1441a8b387
2024-08-07 21:18:07.282 -07:00 [ERR] An unhandled exception has occurred while executing the request.
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate Operation for action - Volo.Chat.Conversations.ConversationController.SendMessageAsync (Volo.Chat.HttpApi). See inner exception
 ---> Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate schema for type - Volo.Chat.Messages.SendMessageInput. See inner exception
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Volo.Abp.Validation.DynamicStringLengthAttribute..ctor(Type sourceType, String maximumLengthPropertyName, String minimumLengthPropertyName)
   at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
   at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1 derivedAttributes)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType)
   at Swashbuckle.AspNetCore.SwaggerGen.MemberInfoExtensions.GetInlineAndMetadataAttributes(MemberInfo memberInfo)
   at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.CreateObjectSchema(DataContract dataContract, SchemaRepository schemaRepository)
   at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.<>c__DisplayClass10_0.<GenerateConcreteSchema>b__3()
   at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateReferencedSchema(DataContract dataContract, SchemaRepository schemaRepository, Func`1 definitionFactory)
   at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateConcreteSchema(DataContract dataContract, SchemaRepository schemaRepository)
   at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateSchemaForParameter(Type modelType, SchemaRepository schemaRepository, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)
   at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateSchema(Type modelType, SchemaRepository schemaRepository, MemberInfo memberInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateSchema(Type type, SchemaRepository schemaRepository, PropertyInfo propertyInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)
   --- End of inner exception stack trace ---
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateSchema(Type type, SchemaRepository schemaRepository, PropertyInfo propertyInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateRequestBodyFromBodyParameter(ApiDescription apiDescription, SchemaRepository schemaRepository, ApiParameterDescription bodyParameter)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateRequestBody(ApiDescription apiDescription, SchemaRepository schemaRepository)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository)
   --- End of inner exception stack trace ---
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerDocumentWithoutFilters(String documentName, String host, String basePath)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerAsync(String documentName, String host, String basePath)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Volo.Abp.AspNetCore.Security.Claims.AbpDynamicClaimsMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.&lt;&gt;c__DisplayClass2_0.&lt;&lt;CreateMiddleware&gt;b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.AspNetCore.Uow.AbpUnitOfWorkMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.&lt;&gt;c__DisplayClass2_0.&lt;&lt;CreateMiddleware&gt;b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.&lt;&gt;c__DisplayClass2_0.&lt;&lt;CreateMiddleware&gt;b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.&lt;&gt;c__DisplayClass2_0.&lt;&lt;CreateMiddleware&gt;b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.&lt;&gt;c__DisplayClass2_0.&lt;&lt;CreateMiddleware&gt;b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.&lt;&gt;c__DisplayClass2_0.&lt;&lt;CreateMiddleware&gt;b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
2024-08-07 21:18:07.336 -07:00 [INF] Request finished HTTP/2 GET https://localhost:44326/swagger/v1/swagger.json - 500 null text/plain; charset=utf-8 1154.9528ms
2024-08-07 21:18:07.345 -07:00 [DBG] Connection ID "18230571343940681939" disconnecting.
2024-08-07 21:18:07.427 -07:00 [DBG] Static files was skipped as the request already matched an endpoint.
2024-08-07 21:18:07.431 -07:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc)'
2024-08-07 21:18:07.496 -07:00 [INF] Route matched with {area = "abp", action = "Get", controller = "AbpApplicationConfiguration", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto] GetAsync(Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationRequestOptions) on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController (Volo.Abp.AspNetCore.Mvc).
2024-08-07 21:18:07.496 -07:00 [DBG] Execution plan of authorization filters (in the following order): ["Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpAutoValidateAntiforgeryTokenAuthorizationFilter"]
2024-08-07 21:18:07.496 -07:00 [DBG] Execution plan of resource filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"]
2024-08-07 21:18:07.496 -07:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Volo.Abp.AspNetCore.Mvc.GlobalFeatures.GlobalFeatureActionFilter","Volo.Abp.AspNetCore.Mvc.Auditing.AbpAuditActionFilter","Volo.Abp.AspNetCore.Mvc.Response.AbpNoContentActionFilter","Volo.Abp.AspNetCore.Mvc.Features.AbpFeatureActionFilter","Volo.Abp.AspNetCore.Mvc.Validation.AbpValidationActionFilter","Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter"]

  • ABP Framework version: v8.2.1
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Tiered MVC
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Create an ABP Application using either ABP Suite or ABP Studio.0.7.5. Specify Tiered, etc. Launch all required instances Host/Swagger, AuthServer and Web app. Using these settings, should run fine. Configure a virtual directory either in VS 2022 or in IIS and configure for debugging. Set your app-settings, etc to point to the /myapp virtual directory. I had to modify abp.js to add the /myapp/ as part of the appPath variable. After some trial and error, I was able to get everything, including swagger to load. I am able to login now. Console errors in the browser: 404 errors for bootstrap-dark.css -- Looking for it in https://Localhost:44352/Themes/LeptonX/Global/side-menu/css/bootstrap-dark.css---- shouldn't this be looking in the virtual directory location? something like https://Localhost:44352/myapp/Themes/LeptonX/Global/side-menu/css/bootstrap-dark.css Attaching an image of the way this folder structure looks in VS 2022. Additionally, , dark.css, logo-light.svg are not found. many errors pointing to layout-bundle.css

For the CHAT application installed via the ABP Studio (package only version) signal-r hubs is not found. It is looking in the root instead of the /myapp location. When I use the Settings feature to disable CHAT, the signalR Fetch errors disappear. Attempting to save settings after modifying my surname in profile results in a Sweet Alert popup "An Internal error occurred during your request."

LOGS show hundreds of RabbitMQ errors as well. RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> System.AggregateException: One or more errors occurred. (Connection failed)

When I try to modify / add a new role Sweet Alert popup "An Internal error occurred during your request."

I am able to use the application CRUD pages generated via ABP suite for CRUD without problems.

So, I am partially there.

Now, can you get me the final goal of managing the application users and fixing the RabbitMQ errors?

Thanks in advance.

you can remove these files.

I had already done this step to get it working. However, I was concerned about side effects of removing the files. Thank you. That was my main concern.

  • ABP Framework version: v5.3.4
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): TIERED (MVC)
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I am trying to create a version 5.3.4 project with IdentityServer4. When I downgrade abp CLI and SUITE to v5.3.4 and create a project via ABP CLI using --version 5.3.4 the CLI creates a standard tiered MVC APP project, not an MVC APP-PRO project. When I try to open the project with ABP SUITE v 5.3.4 I get a message "Suite works only with app-pro and module-pro templates!" . Question: How do I use CLI v 5.3.4 to create a v 5.3.4 APP-PRO templated project . I have a specific need for .net core 6 and IdentityServer4.

Next, How do I add Volo.Account.Pro to an v 5.3.4 project created from the command line so it replaces the nuget packages with the source code project?

Thanks for looking into this.

Hi,

you need to remove the project reference form .csproj too (identityserver, publicweb)

I created a fresh project using abp suite and added the Account and Identity sources. I removed the projects that were not needed. I still get a project publish error. IMPORTANT NOTE* I can successfully build and PUBLISH if I don't add the Account and Identity packages in a non-tiered project. In a tiered project or non-tiered project as soon as I add the Account and Identity sources I get a PUBLISH build failed due to the Account resources having the same relative path. This was not an issue in .NET core 5 or 6. Seems to be related to .NET CORE 7 and later. If I exclude from the project, the _viewstart, etc from one of the dup project issues, I can safely publish. Currently, I just make sure the necessary files (at least one with all taghelpers is included in the build). I exclude from the project the others in the path that are causing errors.

Here are the publish errors and the file contents of _ViewImport and _ViewStart which I included for reference.

Severity	Code	Description	Project	File	Line	Suppression State	Tool	Details
Error		Found multiple publish output files with the same relative path: 
D:\abp\myweb2\MyWeb2\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web.Shared\Pages\Account\_ViewImports.cshtml, 
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling



D:\abp\myweb2\MyWeb2\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web\Pages\Account\_ViewImports.cshtml, 
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling
@addTagHelper *, Owl.reCAPTCHA




D:\abp\myweb2\MyWeb2\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Admin.Web\Pages\Account\_ViewImports.cshtml, 
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling

D:\abp\myweb2\MyWeb2\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web\Pages\Account\_ViewStart.cshtml, 
@using Volo.Abp.AspNetCore.Mvc.UI.Theming
@inject IThemeManager ThemeManager
@{
    Layout = ThemeManager.CurrentTheme.GetAccountLayout();
}

D:\abp\myweb2\MyWeb2\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Admin.Web\Pages\Account\_ViewStart.cshtml.	MyWeb2.Web		0	
@using Volo.Abp.AspNetCore.Mvc.UI.Theming
@inject IThemeManager ThemeManager
@{
    Layout = ThemeManager.CurrentTheme.GetAccountLayout();
}

Created a Master/Child project using ABP studio following your orders example from the screen shot produced in the Master entity link. The ABP studio latest version failed to create the detail record form or any part of it. Reverting back to abp suite 8.2.1 and completely uninstalling the latest version of studio ending in .4 and I am able to produce parent child data again. Also, ran into the infinite upgrade loop even after upgrading to latest version as mentioned by @MRBRL

ABP Studio is too painful to use because it breaks everything it touches.

Provide us with the following info: ABP Framework version: v8.2.0 UI Type: MVC Database System: EF Core (SQL Server) Tiered (for MVC) or Auth Server Separated (for Angular): NOT tiered Exception message and full stack trace: No Stack trace. Error after running Publish from Visual Studio 2022 C:\Program Files\dotnet\sdk\8.0.303\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ConflictResolution.targets(112,5): Error NETSDK1152: Found multiple publish output files with the same relative path: C:\abp\MYNewApp\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web.Shared\Pages\Account_ViewImports.cshtml, C:\abp\MYNewApp\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web\Pages\Account_ViewImports.cshtml, C:\abp\MYNewApp\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Admin.Web\Pages\Account_ViewImports.cshtml, C:\abp\MYNewApp\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web\Pages\Account_ViewStart.cshtml, C:\abp\MYNewApp\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Admin.Web\Pages\Account_ViewStart.cshtml.

Steps to reproduce the issue:

NOTE: this application is using ACCOUNT PRO source, IDENTITY PRO source code installed via abp suite.

Create an ABP SUITE application; add the Account pro source and Identity pro sources.Remove the IdentityServer 4 project from the MyNewApp.Web project. in the MyNewApp.Web module file: remove these entries:

[DependsOn(typeof(AbpAccountPublicWebModule))]
[DependsOn(typeof(AbpAccountPublicWebIdentityServerModule))]

Remove Blazor and Maui reference projects added by ABP Suite (not used) Remove the IdentityServer4 Project. Build and correct any remnant references to identityserver4 by removing or commenting out. Build and run the app. Should run fine. PUBLISH the app to a Folder for deployment. Publish for deployment fails with the above errors.

Hi,

you can try to enable SSL to check if it's work

Hi Support; As I mentioned earlier, it works with SSL. It does not work when you attempt to browse the /SettingManagement page via NON-SSL connection. For example: If I browse the new server using the HTTPS url and accept the untrusted self-signed SSL certificate in IIS browser warning, I can connect to /SettingManagement page no problem, even though the browser Chrome/Edge warn that the connection is not private. If I click the advanced button then click the link to the unsecured url, I can navigate successfully.

From there, I can use the /SettingManagement link.

I am perplexed because this link is the only one that fails out of all of the Administration links when it is navigated via non-SSL.

Was hoping you could shed light on why this is an issue for only this one resource link.

Meanwhile, I will use our internal CA server to generate a trusted certificate for this server so that it may continue being used uninterrupted.

Thank you for looking into this matter.

Showing 41 to 50 of 82 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 12, 2026, 06:07
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.