Yes, thanks. That's from the error logs:
Result: ERROR: Exception calling "Fill" with "1" argument(s): "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."
Exception :
Type : System.Management.Automation.MethodInvocationException
ErrorRecord :
Exception :
Type : System.Management.Automation.ParentContainsErrorRecordException
Message : Exception calling "Fill" with "1" argument(s): "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."
HResult : -2146233087
CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
FullyQualifiedErrorId : SqlException
InvocationInfo :
ScriptLineNumber : 38
OffsetInLine : 5
HistoryId : -1
ScriptName : C:\home\site\wwwroot\GenerateProcs\run.ps1
Line : $Adapter.Fill($data)
PositionMessage : At C:\home\site\wwwroot\GenerateProcs\run.ps1:38 char:5
+ $Adapter.Fill($data)
+ ~~~~~~~~~~~~~~~~~~~~
PSScriptRoot : C:\home\site\wwwroot\GenerateProcs
PSCommandPath : C:\home\site\wwwroot\GenerateProcs\run.ps1
CommandOrigin : Internal
ScriptStackTrace : at Query_SQLServerSTG1, C:\home\site\wwwroot\GenerateProcs\run.ps1: line 38
at <ScriptBlock>, C:\home\site\wwwroot\GenerateProcs\run.ps1: line 61
TargetSite :
Name : ConvertToMethodInvocationException
DeclaringType : System.Management.Automation.ExceptionHandlingOps, System.Management.Automation, Version=7.0.12.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
MemberType : Method
Module : System.Management.Automation.dll
StackTrace :
at System.Management.Automation.ExceptionHandlingOps.ConvertToMethodInvocationException(Exception exception, Type typeToThrow, String methodName, Int32 numArgs, MemberInfo memberInfo)
at CallSite.Target(Closure , CallSite , Object , Object )
at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Message : Exception calling "Fill" with "1" argument(s): "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."
Data : System.Collections.ListDictionaryInternal
InnerException :
Type : System.Data.SqlClient.SqlException
Errors :
Source : Core .Net SqlClient Data Provider
Number : -2
Class : 11
Server : xxxx.worker.database.windows.net,11036
Message : Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
ClientConnectionId : xxxx
Class : 11
Number : -2
Server : xxxx.worker.database.windows.net,11036
Source : Core .Net SqlClient Data Provider
ErrorCode : -2146232060
TargetSite :
Name : OnError
DeclaringType : System.Data.SqlClient.SqlConnection
MemberType : Method
Module : System.Data.SqlClient.dll
StackTrace :
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
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.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, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at CallSite.Target(Closure , CallSite , Object , Object )
Message : Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Data : System.Collections.ListDictionaryInternal
InnerException :
Type : System.ComponentModel.Win32Exception
NativeErrorCode : 258
ErrorCode : -2147467259
Message : The wait operation timed out.
HResult : -2147467259
HResult : -2146232060
Source : System.Management.Automation
HResult : -2146233087
CategoryInfo : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : SqlException
InvocationInfo :
ScriptLineNumber : 38
OffsetInLine : 5
HistoryId : -1
ScriptName : C:\home\site\wwwroot\GenerateProcs\run.ps1
Line : $Adapter.Fill($data)
PositionMessage : At C:\home\site\wwwroot\GenerateProcs\run.ps1:38 char:5
+ $Adapter.Fill($data)
+ ~~~~~~~~~~~~~~~~~~~~
PSScriptRoot : C:\home\site\wwwroot\GenerateProcs
PSCommandPath : C:\home\site\wwwroot\GenerateProcs\run.ps1
CommandOrigin : Internal
ScriptStackTrace : at Query_SQLServerSTG1, C:\home\site\wwwroot\GenerateProcs\run.ps1: line 38
at <ScriptBlock>, C:\home\site\wwwroot\GenerateProcs\run.ps1: line 61
Exception: Exception calling "Fill" with "1" argument(s): "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."
Stack: at System.Management.Automation.ExceptionHandlingOps.ConvertToMethodInvocationException(Exception exception, Type typeToThrow, String methodName, Int32 numArgs, MemberInfo memberInfo)
at CallSite.Target(Closure , CallSite , Object , Object )
at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)