Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Access 2013 Provisioning Database Fails

$
0
0

We are not able to get Access 2013 working on 2 of our environments. When we add an Access 2013 App to our sites, they eventually fail after about 5 mins. The errors in the ULS logs are as follows and indicate a SQL problem:

DatabaseProvider.ProvisionDatabase: Failed to provision database db_456de219_5e10_4066_87a6_00b05bfde5b7. {System.Data.SqlClient.SqlException (0x80131904): Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out   

 at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)   

 at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)   

 at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)   

 at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()   

 at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()   

 at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()   

 at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)   

 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 asyncWrite)   

 at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()   

 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.ExecuteScript(SqlString script, SqlTransaction transaction, Boolean logScript, Int32 commandTimeout)   

 at Microsoft.Office.Access.Services.Database.SqlScriptBatcher.ExecuteScript(SqlString script, SqlTransaction transaction, Int32 commandTimeout)   

 at Microsoft.Office.Access.Services.Database.BlankDatabaseFactory.Create(IDatabaseConfiguration databaseConfiguration)   

 at Microsoft.Office.Access.Services.Database.DatabaseProvider.ProvisionDatabase(DatabaseContext databaseContext, Stream dacStream)  ClientConnectionId:a10c7d93-db29-4b5b-813e-06c889120f8d  Error Number:-2,State:0,Class:11}

The App creation process then detects that the database creation failed and sends back the following entry to the logs

DatabaseProvider.ProvisionDatabase: An error occured while rolling back failed database provisioning. Exception: {System.Data.SqlClient.SqlException (0x80131904): Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out   

 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.SqlDataReader.TryConsumeMetaData()   

 at System.Data.SqlClient.SqlDataReader.get_MetaData()   

 at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)   

 at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)   

 at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)   

 at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)   

 at System.Data.SqlClient.SqlCommand.ExecuteScalar()   

 at Microsoft.Office.Server.Data.SqlSession.ExecuteScalar(SqlCommand command)   

 at Microsoft.Office.Access.Services.Database.SqlClientExtensions.ExecuteScalarLogged(SecureSqlCommand command, SqlCommandScope scope)   

 at Microsoft.Office.Access.Services.Database.DataHost.DatabaseExists(SecureSqlConnection connection, String databaseName)   

 at Microsoft.Office.Access.Services.Database.BlankDatabaseFactory.Delete(SecureSqlConnection databaseManagementConnection, String databaseName)   

 at Microsoft.Office.Access.Services.Database.DatabaseProvider.ProvisionDatabase(DatabaseContext databaseContext, Stream dacStream)  ClientConnectionId:2a4625b8-ac72-4685-8247-8a4374d599f7  Error Number:-2,State:0,Class:11}.

On the SQL side, we can see the db files being created, but SMS becomes unresponsive as the db is attempted to be created then fails to roll back. Site operations to SharePoint are not affected. SQL uses AlwaysOn and SQL 2012 R2 .

Has anybody seen this before?


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>