Provider Hosted Add-In – Could not get algorithm from X509AsymmetricSecurityKey

Problem System.InvalidOperationException: Could not get algorithm from X509AsymmetricSecurityKey at Microsoft.IdentityModel.S2S.Tokens.X509AsymmetricSignatureProvider..ctor(X509AsymmetricSecurityKey x509Key) at Microsoft.IdentityModel.S2S.Tokens.SignatureProvider.Create(SigningCredentials signingCredentials) at Microsoft.IdentityModel.S2S.Tokens.JsonWebSecurityTokenHandler.Sign(String signingInput, SigningCredentials signingCredentials) at Microsoft.IdentityModel.S2S.Tokens.JsonWebSecurityTokenHandler.WriteTokenAsString(SecurityToken token) at PointShare.SharePoint.PrividerHosted.AddIn.TEST.TokenHelper.IssueToken(String sourceApplication, String issuerApplication, String sourceRealm, String […]

Czytaj...

The [SharePoint] web application is configured with claims authentication mode however the content database you are trying to attach is intended to be used against a windows classic authentication mode.

Problem Category : Configuration Error : False UpgradeBlocking : False Message : The [SharePoint] web application is configured with claims authentication mode however the content database you are trying to […]

Czytaj...

SharePoint Product Configuration Wizard – The web configuration file, WEBCONFIG.ACCSRV.XML, does not have element

Exception: System.IO.InvalidDataException: The web configuration file, C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\config\WEBCONFIG.ACCSRV.XML, does not have element „configuration/configSections/sectionGroup[@name=’SharePoint’]” or it is invalid. at Microsoft.SharePoint.Administration.SPAspConfigurationFile.CheckMergedActionsConfiguration(XmlDocument xd, String sourceFileName, Boolean createMergedActionsConfiguration) at Microsoft.SharePoint.Administration.SPAspConfigurationFile.ApplyActionToXmlDocument(XmlDocument […]

Czytaj...

Wyciąganie hasła konta puli aplikacji z IIS

Wszystkie hasła: C:\windows\system32\inetsrv\appcmd.exe list apppool /text:ProcessModel.Password Hasło wybranej puli: C:\windows\system32\inetsrv\appcmd.exe list apppool „NAZWA_PULI_APLIKACJI” /text:ProcessModel.Password Wszystkie dane wybranej puli (włącznie z hasłem): C:\windows\system32\inetsrv\appcmd.exe list apppool „NAZWA_PULI_APLIKACJI” /text:*

Czytaj...