iMIS App server IIS app pool auto recycle error

Our iMIS users (staff and members) cannot log in after the IIS app pool automatically recycles on our produciton iMIS installation. Once we manually recycle the application pool, the problem clears up.

The specifc error message on browsing the app server website (i.e. http://server-url/imis15) is: "Document not found or insufficient permissions to read document. $/Business Object Schema/User"

These three Windows application event log errors always occur together in this order: ASI error, followed by the ASP.NET warning, and lastly a Publishing message:

ASI:

Unexpected website error: Unable to load object schema definition for User

Asi.Business.SchemaLoadException: Unable to load object schema definition for User ---> Asi.Business.Common.DocumentNotFoundException: Document not found or insufficient permissions to read document. $/Business Object Schema/User

at Asi.Business.Common.DocumentSystem.DocumentByPath(DataServer server, Guid organizationKey, String documentPath, Boolean publishedOnly, Boolean ignoreLicensing)

at Asi.Business.BusinessData.BufferFromDatabase(DataServer server, Guid organizationKey, String documentPath)

at Asi.Business.BusinessData.BufferFromDatabaseWithBootStrap(Guid organizationKey, String documentPath)

at Asi.Business.BusinessData.GetDocumentBlob(Guid organizationKey, String documentPath, Boolean enableCache)

at Asi.Business.BusinessData.GetDocumentBlob(Guid organizationKey, String documentPath)

at Asi.Business.BusinessController.LoadSchema(String controllerName)

--- End of inner exception stack trace ---

at Asi.Business.BusinessController.LoadSchema(String controllerName)

at Asi.Business.Common.UserController.NewUserController(BusinessContainer container)

at Asi.Business.Common.UserController.User(String userName, BusinessContainer container, Boolean forceReload)

at Asi.Security.SecurityContext.AuthenticateByUserId(String userId, RolePrincipal rolePrincipal)

at Asi.Security.SecurityContext.LogonByUserId(String userId)

at Asi.Security.ImpersonationInformation..ctor(String userId, Boolean onlyIfAnonymous)

at Asi.Security.SecurityContext.Impersonate(String userId)

at Asi.Web.UrlRewriter

Exception type: DocumentNotFoundException

Exception message: Document not found or insufficient permissions to read document. $/Business Object Schema/User

 

Request information:

Request URL: http://localhost/imis15_ICAO/Default.aspx

Request path: /imis15_ICAO/Default.aspx

User host address: ::1

User: GUEST

Is authenticated: False

Authentication Type: Application

Thread account name: NT AUTHORITY\NETWORK SERVICE

 

Thread information:

Thread ID: 13

Thread account name: NT AUTHORITY\NETWORK SERVICE

Is impersonating: False

Stack trace: at Asi.Business.Common.DocumentSystem.DocumentByPath(DataServer server, Guid organizationKey, String documentPath, Boolean publishedOnly, Boolean ignoreLicensing)

at Asi.Business.BusinessData.BufferFromDatabase(DataServer server, Guid organizationKey, String documentPath)

at Asi.Business.BusinessData.BufferFromDatabaseWithBootStrap(Guid organizationKey, String documentPath)

at Asi.Business.BusinessData.GetDocumentBlob(Guid organizationKey, String documentPath, Boolean enableCache)

at Asi.Business.BusinessData.GetDocumentBlob(Guid organizationKey, String documentPath)

at Asi.Business.BusinessController.LoadSchema(String controllerName)

 

 

Publish:

The ASI Site Service encountered an error trying to reach the website at HTTP://ICAO028/IMIS15_ICAO: The remote server returned an error: (500) Internal Server Error.