These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Single Sign On crashes when adding a Add client application

Hello, I'm trying to implement single sign on available in IMIS but I'm facing a problem at my first step which is to register the my client application.

Below is the error I got from IIS event viewer. Could somebody help me ? Thank you !

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 8/10/2020 1:05:33 PM
Event time (UTC): 8/10/2020 5:05:33 PM
Event ID: 0768e998a4064c44b0111230048bb09f
Event sequence: 233
Event occurrence: 8
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/ROOT/iMIS-1-132415128602011782
Trust level: Full
Application Virtual Path: /iMIS
Application Path: C:\ASI\iMIS\net\
Machine name: DC-IMISWEB-APP

Process information:
Process ID: 6268
Process name: w3wp.exe
Account name: IIS APPPOOL\iMISApp1

Exception information:
Exception type: ObjectValidationException
Exception message: Max record count exceeded
at Asi.Business.Contact.Contact.OnPreCommit()
at Asi.Business.Contact.Individual.OnPreCommit()
at Asi.Business.BusinessContainer.CommonPreCommitActions(Int32 accGroupId, BusinessItem item, Int32 modGroupId, DataServer server, DataRowState newState)
at Asi.Business.BusinessContainer.InsertItem(BusinessItem item, DataServer server, Int32 accGroupId, Int32 modGroupId, Boolean controllerCommit)
at Asi.Business.BusinessContainer.CommitItemInternal(DataServer server, BusinessItem item, Int32 accGroupId, Int32 modGroupId, Boolean acceptChanges, Int32 accGroupIndex)
at Asi.Business.BusinessContainer.CommitItem(BusinessItem item, Boolean acceptChanges)
at Asi.Business.BusinessContainer.CommitItem(BusinessItem item)
at Asi.Business.BusinessItem.Commit()
at Asi.Business.BusinessItem.Save()
at Asi.WebRoot.AsiCommon.Controls.Shared.SecurityAdmin.ClientApplicationDisplay.AddAccount(ContactController contactController, String clientName, AsiMembershipProvider provider, String clientSecret)
at Asi.WebRoot.AsiCommon.Controls.Shared.SecurityAdmin.ClientApplicationDisplay.SaveClientApplication(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Request information:
Request URL: https://dc-imisweb-app.cba.org:443/iMIS/AsiCommon/Controls/Shared/SecurityAdmin/ClientApplication.aspx?WebsiteKey=4243d9e2-e91e-468c-97c2-2046d70c1e1a&hkey=166b7451-43a6-42f2-b3ad-8bdb6ce04124
Request path: /iMIS/AsiCommon/Controls/Shared/SecurityAdmin/ClientApplication.aspx
User host address: 10.200.254.134
User: MANAGER
Is authenticated: True
Authentication Type: Application
Thread account name: IIS APPPOOL\iMISApp1

Thread information:
Thread ID: 140
Thread account name: IIS APPPOOL\iMISApp1
Is impersonating: False
Stack trace: at Asi.Business.Contact.Contact.OnPreCommit()
at Asi.Business.Contact.Individual.OnPreCommit()
at Asi.Business.BusinessContainer.CommonPreCommitActions(Int32 accGroupId, BusinessItem item, Int32 modGroupId, DataServer server, DataRowState newState)
at Asi.Business.BusinessContainer.InsertItem(BusinessItem item, DataServer server, Int32 accGroupId, Int32 modGroupId, Boolean controllerCommit)
at Asi.Business.BusinessContainer.CommitItemInternal(DataServer server, BusinessItem item, Int32 accGroupId, Int32 modGroupId, Boolean acceptChanges, Int32 accGroupIndex)
at Asi.Business.BusinessContainer.CommitItem(BusinessItem item, Boolean acceptChanges)
at Asi.Business.BusinessContainer.CommitItem(BusinessItem item)
at Asi.Business.BusinessItem.Commit()
at Asi.Business.BusinessItem.Save()
at Asi.WebRoot.AsiCommon.Controls.Shared.SecurityAdmin.ClientApplicationDisplay.AddAccount(ContactController contactController, String clientName, AsiMembershipProvider provider, String clientSecret)
at Asi.WebRoot.AsiCommon.Controls.Shared.SecurityAdmin.ClientApplicationDisplay.SaveClientApplication(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)