SharePoint Access Services App Not working (greyed out)
-
02-01-2021 - |
Question
I am trying to setup Access Services on SharePoint 2016. Server is hosted on Azure Platform.
When I look at the ULS logs. What am I looking for?
How would I know there is something that is irregular with my setup or an error throwing that I could resolve? I have filter all "Access Services".
Maybe this is an error that will cause: Any ideas to resolve?
ApplicationDatabase.AlterDatabaseProperties: ServerName='KRITHSHAREPOINT'; DatabaseName='db_bbcf9886_b86a_4b98_b09c_7c7352675d1c'; DatabaseType='Access'. Failed with exception: System.Data.SqlClient.SqlException (0x80131904): The sp_configure value 'contained database authentication' must be set to 1 in order to alter a contained database. You may need to use RECONFIGURE to set the value_in_use. ALTER DATABASE statement failed.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource 1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Office.Server.Data.SqlSession.ExecuteNonQuery(SqlCommand command, SqlInfoMessageEventHandler handler)
at Microsoft.Office.Server.Data.SqlSession.ExecuteNonQuery(SqlCommand command)
at Microsoft.Office.Access.Services.Database.RetryableSqlCommand.ExecuteNonQuery()
at Microsoft.Office.Access.Services.Database.SqlClientExtensions.ExecuteNonQueryLogged(SecureSqlCommand command, SqlCommandScope scope)
at Microsoft.Office.Access.Services.Database.SqlScriptBatcher.ExecuteBatch(SecureSqlCommand command, SqlString batch, SqlCommandScope scope, Boolean logBatch)
at Microsoft.Office.Access.Services.Database.SqlScriptBatcher.ExecuteDynamicScript(SqlString script, SqlTransaction transaction, Boolean logScript)
at Microsoft.Office.Access.Services.Database.AccessDatabase.AlterDatabasePropertiesInternal()
at Microsoft.Office.Access.Services.Database.ApplicationDatabase.ExecuteOperation(Action operation, String operationType) ClientConnectionId:6be5a95c-25fd-488f-a94f-492d241f8faf Error Number:12824,State:1,Class:16
Solution
You need to run this on your SQL Server.
sp_configure 'contained database authentication', 1;
GO
RECONFIGURE;
GO
Note that Access Services has been retired from SharePoint Online. You may want to give alternatives a thought before perusing this technology on-premises, as well.
OTHER TIPS
Maybe the issue is related to the MinRole Server Roles,
Where the Access Service
is only available at the below Minroles:
- Front-end
- Single-server farm
- Front-end with Distributed Cache.
The Access Service
is not available at the below Minroles.
- Application
- Distributed cache.
- Search
- Custom
- Application with Search
For more details check MinRole and associated services in SharePoint Server 2016
So you will not be able to configure access service! , if the server Minrole is not one of the following
- Front-end
- Single-server farm
- Front-end with Distributed Cache.
Fortunately, you can to convert your server roles in a SharePoint farm deployment as mentioned at Role conversion using MinRole in SharePoint Server 2016