Error in public website on local machine

Developer Network

Forums, blogs, and downloads for SaaSGrid developers.

Error in public website on local machine

Answered (Verified) This question is answered

Hi guys, I recently updated my SaaSGrid SDK to the latest one, but I've started getting this excpetion when I try to run the public website:

Unable to retrieve application information for the current request, if this problem persists please contact a SaaSGrid representative as there probably was an unexpected deployment issue with your archive.

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: Apprenda.SaaSGrid.TenantAccessException: Unable to retrieve application information for the current request, if this problem persists please contact a SaaSGrid representative as there probably was an unexpected deployment issue with your archive.

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:

[TenantAccessException: Unable to retrieve application information for the current request, if this problem persists please contact a SaaSGrid representative as there probably was an unexpected deployment issue with your archive.]
Apprenda.SaaSGrid.API.Local.PublicContextVerificationModule.BeginRequestHandler(Object sender, EventArgs args) +603
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


(Private website is working alright).

I noticed that if I comment out these lines

<add name="ContextInitModule" type="Apprenda.SaaSGrid.API.Local.PublicContextInitModule, SaaSGrid.API.Local"/>
<add name="ContextVerificationModule" type="Apprenda.SaaSGrid.API.Local.PublicContextVerificationModule, SaaSGrid.API.Local"/>

in web.config it runs alright.

The same error is occuring the public website of the 'FAQ Manager' project as well.

  • Post Points: 20
Verified Answer
  • The value that is missing should be defined in your SaaSGrid.cfg.xml file. Can you verify that there is a versionId attribute on the saasGridLocal element in your file?  

    If that attribute is not defined, set it to a new Guid and try again with ContextInitModule and ContextVerificationModule in place.

All Replies
Page 1 of 1 (8 items)