Open Closed

Roles ,Users not able to create #5006


User avatar
0
mithun created

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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please share full logs of the backend app. liming.ma@volosoft.com

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please share the log via email attachment. Thanks

    liming.ma@volosoft.com

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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()
    
    
  • User Avatar
    0
    mithun created

    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

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11