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();
In regards to this virtual directory issue where I cannot add roles or users, but I can login, can you investigate the project if I send it over?
Everything works except user management. Also, the RabbitMQ errors
Of note: I have a working version in 7.4.2 which I had to heavily modify. It works perfectly with CHAT and FileManagement sources installed.
I am trying to upgrade and the upgrade breaks everything.
Now, I am rebuilding from scratch in v.8.2.1 MVC/EF/SQLServer Tiered. My main issues seem to center around the application not working as soon as it's served from https://servername.org/myapp .
hi
You can use Gmail or onedrive or https://wetransfer.com/
I sent it via wetransfer to your email address as listed in this support chat. Says it's available for 3 days. Thanks. It si coming from my gmail account which is almost similar to my username here. - almost.
hi
Can you share a project that I can test?
liming.ma@volosoft.com
yes. Where should I upload it?
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(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.<>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.<>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)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>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.<>c__DisplayClass2_0.<<CreateMiddleware>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"]
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.
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.
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.