Appendix A – Log File Error Messages - Akumina Community

Appendix A – Log File Error Messages

You are here:
Estimated reading time: 1 min

If you encounter errors with AppManager, the first place to check is in the log file which captures all error messages.

The log file can be found on your SITE ROOT > logs.  An example of a log file would be .

If you see the following errors, then your web.config must be updated correctly.

 

WHEN PASSWORD IS WRONG

2016-02-11T02:15:11.4687394Z  0dc74b6c-eebf-53c0-1b33-63957412c647       101         1   [ERROR]      Info     Error         0 [errorMessage : System.TypeInitializationException: The type initializer for ‘Akumina.Infrastructure.SharePoint.TokenHelper’ threw an exception. —> System.Security.Cryptography.CryptographicException: The specified network password is not correct.

at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)

at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromFile(String fileName, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx)

at System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromFile(String fileName, Object password, X509KeyStorageFlags keyStorageFlags)

at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(String fileName, String password)

at Akumina.Infrastructure.SharePoint.TokenHelper..cctor()

— End of inner exception stack trace —

at Akumina.Infrastructure.SharePoint.TokenHelper.GetS2SClientContextWithWindowsIdentity(Uri targetApplicationUri, WindowsIdentity identity)

at Akumina.Interchange.Services.BaseService.a()

at Akumina.Interchange.Services.BaseService.CreateClientContext()

at Akumina.Interchange.Services.BaseService.GetContext()

at Akumina.Interchange.Services.ContentTypeService.GetAllWebs()]

 

WHEN .CER USED INSTEAD OF .PFX

2016-02-11T02:16:25.0927184Z  0dc74b6c-eebf-53c0-1b33-63957412c647       101         1   [ERROR]      Info     Error         0 [errorMessage : System.TypeInitializationException: The type initializer for ‘Akumina.Infrastructure.SharePoint.TokenHelper’ threw an exception. —> System.ArgumentException: ID2057: Cannot construct a X509SigningCredentials instance for a certificate without the private key.

Parameter name: token

at Microsoft.IdentityModel.SecurityTokenService.X509SigningCredentials..ctor(X509SecurityToken token, SecurityKeyIdentifier ski, String signatureAlgorithm, String digestAlgorithm)

at Microsoft.IdentityModel.SecurityTokenService.X509SigningCredentials..ctor(X509Certificate2 certificate, String signatureAlgorithm, String digestAlgorithm)

at Akumina.Infrastructure.SharePoint.TokenHelper..cctor()

— End of inner exception stack trace —

at Akumina.Infrastructure.SharePoint.TokenHelper.GetS2SClientContextWithWindowsIdentity(Uri targetApplicationUri, WindowsIdentity identity)

at Akumina.Interchange.Services.BaseService.a()

at Akumina.Interchange.Services.BaseService.CreateClientContext()

at Akumina.Interchange.Services.BaseService.GetContext()

at Akumina.Interchange.Services.ContentTypeService.a()]

 

WHEN ISSUERID IS WRONG

2016-02-11T02:17:37.5809047Z  0dc74b6c-eebf-53c0-1b33-63957412c647       101         1   [ERROR]      Info     Error         0 [errorMessage : System.Net.WebException: The remote server returned an error: (401) Unauthorized.

at System.Net.HttpWebRequest.GetResponse()

at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()

at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)

at Akumina.Interchange.Services.BaseService.CreateClientContext()

at Akumina.Interchange.Services.BaseService.GetContext()

at Akumina.Interchange.Services.UserService.GetCurrent()

at Akumina.Interchange.Web.Controllers.BaseController.PoplateUser()]

Was this article helpful?
Dislike 0
Views: 59
//]]>