Hi,
I have completed MIM Synchronization, Service and Portal installation but when I try to access the Portal I get below error. I have managed to get the detailed error by modifying web.config file. Before modification to Web.config file I used to get "Unable
to process your request, please contact Administrator".
I am accessing the Portal with same account with which I performed the installation. The MIM Sync, MIM Service services are up and running.
I have installed as below,
MS-SQL Server, MIM Synchronization Service, MIM Service on one server.
Sharepoint Server 2019, MIM Portal on another server.
I have created alternate access for the warnings that were coming in Event logs and below screenshot of same.
Appreciate if anyone can help me fix the issue.
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.IdentityManagement.WebUI.Controls.UICacheUtils.GetCacheKey(CacheKey key) +262
Microsoft.IdentityManagement.WebUI.Controls.UICacheUtils.RetrieveFromCache(UserNonSharedKey key) +25
Microsoft.IdentityManagement.WebUI.Controls.NavigationBarConfigurationModel.RetrieveSiteNodeFromCache() +96
Microsoft.IdentityManagement.WebUI.Controls.NavigationBarProvider.BuildSiteMap() +86
Microsoft.SharePoint.WebControls.AspMenu.GetEditableSiteMapProvider(SiteMapDataSource dataSource) +43
Microsoft.SharePoint.WebControls.AspMenu.AdjustForProviderMaximumDepth() +54
Microsoft.SharePoint.WebControls.AspMenu.OnPreRender(EventArgs e) +46
System.Web.UI.Control.PreRenderRecursiveInternal() +178
System.Web.UI.Control.PreRenderRecursiveInternal() +275
System.Web.UI.Control.PreRenderRecursiveInternal() +275
System.Web.UI.Control.PreRenderRecursiveInternal() +275
System.Web.UI.Control.PreRenderRecursiveInternal() +275
System.Web.UI.Control.PreRenderRecursiveInternal() +275
System.Web.UI.Control.PreRenderRecursiveInternal() +275
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6880
|
WARNING from Event Viewer, as below
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 8/26/2020 5:38:39 AM
Event time (UTC): 8/26/2020 10:38:39 AM
Event ID: 490ecfe86fc049429f7923e7178176c8
Event sequence: 5
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1695729506/ROOT-1-132429118956661994
Trust level: Full
Application Virtual Path: /
Application Path: C:\inetpub\wwwroot\wss\VirtualDirectories\80\
Machine name: AZ-WS-DE-MIM001
Process information:
Process ID: 7436
Process name: w3wp.exe
Account name: DEVBGSW\SVC_MIMDEVSP
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at Microsoft.IdentityManagement.WebUI.Controls.UICacheUtils.GetCacheKey(CacheKey key)
at Microsoft.IdentityManagement.WebUI.Controls.UICacheUtils.RetrieveFromCache(UserNonSharedKey key)
at Microsoft.IdentityManagement.WebUI.Controls.NavigationBarConfigurationModel.RetrieveSiteNodeFromCache()
at Microsoft.IdentityManagement.WebUI.Controls.NavigationBarProvider.BuildSiteMap()
at Microsoft.SharePoint.WebControls.AspMenu.GetEditableSiteMapProvider(SiteMapDataSource dataSource)
at Microsoft.SharePoint.WebControls.AspMenu.AdjustForProviderMaximumDepth()
at Microsoft.SharePoint.WebControls.AspMenu.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: http://localhost/IdentityManagement/default.aspx
Request path: /IdentityManagement/default.aspx
User host address: ::1
User: DEVBGSW\SVC_MIMDEVADM
Is authenticated: True
Authentication Type: Negotiate
Thread account name: DEVBGSW\SVC_MIMDEVSP
Thread information:
Thread ID: 16
Thread account name: DEVBGSW\SVC_MIMDEVSP
Is impersonating: False
Stack trace: at Microsoft.IdentityManagement.WebUI.Controls.UICacheUtils.GetCacheKey(CacheKey key)
at Microsoft.IdentityManagement.WebUI.Controls.UICacheUtils.RetrieveFromCache(UserNonSharedKey key)
at Microsoft.IdentityManagement.WebUI.Controls.NavigationBarConfigurationModel.RetrieveSiteNodeFromCache()
at Microsoft.IdentityManagement.WebUI.Controls.NavigationBarProvider.BuildSiteMap()
at Microsoft.SharePoint.WebControls.AspMenu.GetEditableSiteMapProvider(SiteMapDataSource dataSource)
at Microsoft.SharePoint.WebControls.AspMenu.AdjustForProviderMaximumDepth()
at Microsoft.SharePoint.WebControls.AspMenu.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
Regards, Chandan