MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

error on Create Account  (Mono Support )

Viewed 540119 time(s), 14 post(s) 03.02.2015 14:37:10by extremeandy
extremeandy

extremeandy

03.02.2015 14:37:10

when recording a new user
</br>after confirmation of the button "create account"

an error has occured in the application.

here is my log file:

2015-02-03 14:56:02,107 [26] ERROR MonoX [::1] - Error
</br>SD.LLBLGen.Pro.ORMSupportClasses.ORMQueryExecutionException: An exception was caught during the execution of an action query: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_AuditInfo_aspnet_Users". The conflict occurred in database "eMonoX", table "dbo.aspnet_Users", column 'UserId'.
</br>The statement has been terminated.. Check InnerException, QueryExecuted and Parameters of this exception to examine the cause of this exception. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_AuditInfo_aspnet_Users". The conflict occurred in database "eMonoX", table "dbo.aspnet_Users", column 'UserId'.
</br>The statement has been terminated.
</br>   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
</br>   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
</br>   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
</br>   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
</br>   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
</br>   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
</br>   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
</br>   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
</br>   at SD.LLBLGen.Pro.ORMSupportClasses.ActionQuery.Execute()
</br>   --- End of inner exception stack trace ---
</br>   at SD.LLBLGen.Pro.ORMSupportClasses.ActionQuery.Execute()
</br>   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.ExecuteActionQuery(IActionQuery queryToExecute)
</br>   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.PersistQueue(List`1 queueToPersist, Boolean insertActions)
</br>   at SD.LLBLGen.Pro.ORMSupportClasses.UnitOfWork2.Commit(IDataAccessAdapter adapterToUse, Boolean autoCommit)
</br>   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.SaveEntityCollection(IEntityCollection2 collectionToSave, Boolean refetchSavedEntitiesAfterSave, Boolean recurse)
</br>   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.GatherAndFlushAuditData()
</br>   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.Commit()
</br>   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.SaveEntity(IEntity2 entityToSave, Boolean refetchAfterSave, IPredicateExpression updateRestriction, Boolean recurse)
</br>   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.SaveEntity(IEntity2 entityToSave)
</br>   at MonoSoftware.LLBLGen.Repository.SaveEntity(IEntity2 entityToSave)
</br>   at MonoSoftware.MonoX.Repositories.UserProfileRepository.GetUserProfile(Guid userId)
</br>   at MonoSoftware.MonoX.BusinessLayer.UserProfileBLL.GetUserProfile(Guid userId)
</br>   at MonoSoftware.MonoX.ModuleGallery.MembershipEditor.#Jp(Object sender, EventArgs e)
</br>   at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
</br>   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Dieser Inhalt wurde noch nicht bewertet. 
40 Reputation 6 Total posts
imarusic

imarusic

03.02.2015 14:50:39
Hi,

can you please let us know what MonoX version are you using? Also, did you make any changes to the existing MonoX funtionality?

Regards.
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts
extremeandy

extremeandy

03.02.2015 14:55:38

Hi Ivan,

thanks for your kind and true rapid response

MonoX_5_1_40_5065

no, any changes

Dieser Inhalt wurde noch nicht bewertet. 
40 Reputation 6 Total posts
imarusic

imarusic

04.02.2015 08:07:33
Hi,

just checked and we already have that issue addressed. Fix will be available to download most probably today or tomorrow.

Regards
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts
imarusic

imarusic

10.02.2015 15:24:47
Hi,

sorry for the delay. You can check the latest version here.

Regards.
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts
extremeandy

extremeandy

10.02.2015 15:51:48

Hi Ivan

thank you

I'll try it in a few days

ciao

andrea

Dieser Inhalt wurde noch nicht bewertet. 
40 Reputation 6 Total posts
urugakina

urugakina

21.02.2015 23:25:47
I have the same problem on version 5_1_40_5107.

I can't register and i can't use usermanager on admin page.





This event has been logged and will be addressed by the maintenance department. We appreciate your patience.

Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)
at SD.LLBLGen.Pro.LinqSupportClasses.MappingTracker..ctor(Boolean selfServicing) at SD.LLBLGen.Pro.LinqSupportClasses.LLBLGenProProviderBase.HandleExpressionTree(Expression expression) at SD.LLBLGen.Pro.LinqSupportClasses.LLBLGenProProviderBase.Execute(Expression expression) at SD.LLBLGen.Pro.LinqSupportClasses.LLBLGenProProviderBase.System.Linq.IQueryProvider.Execute[TResult](Expression expression) at System.Linq.Queryable.SingleOrDefault[TSource](IQueryable`1 source) at MonoSoftware.MonoX.Repositories.MembershipRepository.GetAllUsersRoleId() at MonoSoftware.MonoX.BusinessLayer.MembershipBLL.GetAllUsersRoleId() at MonoSoftware.MonoX.Utilities.SecurityUtility.#Sk() at MonoSoftware.MonoX.Utilities.SecurityUtility.get_AllUsersRoleId() at MonoSoftware.MonoX.Repositories.MembershipRepository.GetRoles(Boolean includeAllUsersRole, Guid applicationId) at MonoSoftware.MonoX.BusinessLayer.MembershipBLL.GetRoles(Boolean includeAllUsersRole, Guid applicationId) at MonoSoftware.MonoX.Admin.UserManager.#0v() at MonoSoftware.MonoX.Admin.UserManager.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
To continue working with the application please click here
Dieser Inhalt wurde noch nicht bewertet. 
11 Reputation 2 Total posts
urugakina

urugakina

18.04.2015 10:00:55
nothing for that ?
Dieser Inhalt wurde noch nicht bewertet. 
11 Reputation 2 Total posts
khorvat

khorvat

20.04.2015 07:33:03
We are looking into an issue and we will get back to you with a workaround or new nightly build.

Regards
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
extremeandy

extremeandy

05.08.2015 13:23:53

Hi @Kristijan,

no solution?

Dieser Inhalt wurde noch nicht bewertet. 
40 Reputation 6 Total posts
1 2