SAP Knowledge Base Article - Preview

1805414 - "Error accessing Afaria Administrator: Access denied. Home.DeviceTile.Page_Load" after installing Afaria 7 Service Pack 1

Symptom

Error accessing Afaria Administrator: Access denied. Home.DeviceTile.Page_Load" after installing Afaria 7 Service Pack 1.

Error accessing Afaria Administrator:


Access denied.

Home.DeviceTile.Page_Load


Application_Error 2
Click here to return to the home page.

Server Error in '/Afaria' Application.

StoredQueryService.RunStoredQuery: run stored query. 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`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: StoredQueryService.RunStoredQuery: run stored query. 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`1: StoredQueryService.RunStoredQuery: run stored query. 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.UserControls.Home.DeviceTile.Page_Load(Object sender, EventArgs e) +990
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

Product

SAP Afaria 7.0

Keywords

Home Device Tile Page Load, Access denied, Application_Error 2, Tenant ID has not been initialized, SetTenantIdContext, unhandled exception, Error accessing Afaria Administrator , KBA , MOB-AFA , Afaria , MOB-SEC , Mobile Secure Portfolio (Cloud) incl Afaria Cloud Edition , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.