We are using ABP framework with EF and Blazor Web Assembly for implementation. I am not able to create Roles and Users to implement permissions on URL, Page ,Menu items and API. I verified in the logs and it is saying like "Savepoints are disabled because Multiple Active Result Sets (MARS) is enabled". We tried to modify connection string with MultipleActiveResultSets=false , even not able to create Roles and Users. Can you pls. help me in resolving the issue.
Ours is a tiered application with Blazor Web Assembly as a UI framework with Entity Framework and SQL Server. • ABP Framework version: v5.3 • UI type: / Blazor Web Assembly • DB provider: EF Core • Tiered (MVC) : Yes • Identity Server Separated : yes • Exception in log file: Savepoints are disabled because Multiple Active Result Sets (MARS) is enabled. If 'SaveChanges' fails, then the transaction cannot be automatically rolled back to a known clean state. Instead, the transaction should be rolled back by the application before retrying 'SaveChanges'. See https://go.microsoft.com/fwlink/?linkid=2149338 for more information. To identify the code which triggers this warning, call 'ConfigureWarnings(w => w.Throw(SqlServerEventId.SavepointsDisabledBecauseOfMARS))'
5 Answer(s)
-
0
hi
Please share full logs of the backend app. liming.ma@volosoft.com
-
0
hi
Please share the log via email attachment. Thanks
liming.ma@volosoft.com
-
0
hi
There is an error with your
Kafka
service.2023-05-05 10:44:17.620 +05:30 [ERR] Failed while waiting for controller: Local: Timed out Confluent.Kafka.KafkaException: Failed while waiting for controller: Local: Timed out at Volo.Abp.Kafka.KafkaMessageConsumer.CreateTopicAsync() at Volo.Abp.Kafka.KafkaMessageConsumer.Timer_Elapsed(AbpAsyncTimer timer) at Volo.Abp.Threading.AbpAsyncTimer.Timer_Elapsed()
-
0
hi
There is an error with your
Kafka
service.2023-05-05 10:44:17.620 +05:30 [ERR] Failed while waiting for controller: Local: Timed out Confluent.Kafka.KafkaException: Failed while waiting for controller: Local: Timed out at Volo.Abp.Kafka.KafkaMessageConsumer.CreateTopicAsync() at Volo.Abp.Kafka.KafkaMessageConsumer.Timer_Elapsed(AbpAsyncTimer timer) at Volo.Abp.Threading.AbpAsyncTimer.Timer_Elapsed()
Thanks for the response, I will look into the 'kafka' service issue and will check again whether can create Users and Roles
-
0
ok