Symptom
- After installation of SP3, attempts to access the admin console
remotely are failing. - Error as follows:
Server Error in '/Afaria' Application.
Tenant ID has not been initialized, use SetTenantIdContext.
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.ServiceModel.FaultException: Tenant ID has
not been initialized, use SetTenantIdContext.
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:
[FaultException: Tenant ID has not been initialized, use
SetTenantIdContext.] System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage
(IMessage reqMsg, IMessage retMsg) +4729427 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type) +1725 AfariaServiceRef.StoredQueries.IStoredQueriesService.RunStoredQuery
(Int32 queryId, StoredQueryVariableList variables) +0 Afaria.Admin.Utilities.StoredQueriesGlobalFunc.RunQueryId
(HttpSessionState Session, Int32 nQueryId, StoredQueryVariableList
varlist) +91
Afaria.Admin.Utilities.QueryGlobalFunc.RunQueryId(HttpSessionState
Session, Int32 nQueryId, Object inputs, Boolean bStrictCompliance) +113
Afaria.Admin.UserControls.Home.DeviceTile.Page_Load(Object sender,
EventArgs e) +944
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object
o, Object t, EventArgs e) +25
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+3064
Read more...
Environment
SAP Afaria 7 SP3
Afaria Administrator
Product
SAP Afaria 7.0
Keywords
failure, crash, erroneous, message. console, local, another, browser, Administration , KBA , MOB-AFA , Afaria , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.