when trying to connect Sql server with entity through Replication module. The importing the data throwing below error.

0
-------- replication.ReplicationSettings$MendixReplicationRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.core.UserException: Creating object of type MyFirstModule.Global_Calendar_Info failed for security reasons     at replication.MetaInfoProcessor.storeChangedObjects(MetaInfoProcessor.java:206) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.core.UserException: Creating object of type MyFirstModule.Global_Calendar_Info failed for security reasons     at com.mendix.basis.actionmanagement.ActionManagerBase.executeInTransactionSync(ActionManagerBase.java:125) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.core.UserException: Creating object of type MyFirstModule.Global_Calendar_Info failed for security reasons     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:159) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.core.UserException: Creating object of type MyFirstModule.Global_Calendar_Info failed for security reasons     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: com.mendix.systemwideinterfaces.core.UserException: Creating object of type MyFirstModule.Global_Calendar_Info failed for security reasons  
asked
2 answers
1

As per your console logs, i can see there’s an access permission problem.

Just double check the access rights for the following ‘MyFirstModule.Global_Calendar_Info ’  involved  entity/page/microflow’s, whether the respected user roles got assigned or not.

 

answered
0

The user who exececutes the DB query doesn't have sufficient access rights to the queried Entity.

”MyFirstModule.Global_Calendar_Info failed for security reason”

Check your access rule for the involved user role and if a microflow involved if security is enable or not

answered