The server doesn't respond
Just from today! Can't receive E-mails (can send!) to my iCloud E-mail adrress!!!
Receiving a massage that I can't connect to the server.
No idea what's going on...
I´ve just tested a solution that keep working for the last 2 days. Before that I had to log off and on again twice or more a day.
The ip pbx has a feature called "enable qualify" which one tests the sip server each 60s. Once I turned it off the ip pbx has been working fine.
Similar Messages
-
The timeout period elapsed prior to completion of the operation or the server is not responding
the timeout period elapsed prior to completion of the operation or the server is not responding.
The error shows while executing a (select query) telerik report in MVC.Hello,
Did you set the CommandTimeOut property of the SQL Command when you call the connection string to SQL Server?
If your select query is complex or the data is larger, please try to specify connectiontimeout property to maximum integer value.
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
Hi,
I am getting an issue during a SCOM 2012 R2 installation while creating the SCOM DataWarehouse database. Setup seems to timeout during creating the datawarehouse database. I can see all database files created in windows explorer on the SQL server before
setup rolls the SCOM install back.
Has anyone seen this issue before or know how to help resolve it?
Appreciate your help, below is the SCOM installation log:
Thanks
Marc
[13:27:27]: Always: :Creating Database: OperationsManagerDW
[13:35:28]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[13:43:28]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[13:51:29]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[13:59:30]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:07:30]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:15:31]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:23:31]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:31:32]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:39:32]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:47:33]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:55:33]: Error: :DB operations failed with SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:55:33]: Error: :StackTrace: 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.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.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.ExecuteNonQuery(SqlCommand sqlCommand, Int32& result)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.Execute[T](SqlCommand sqlCommand, SqlRetryPolicy retryPolicy, GenericExecute`1 genericExecute)
[14:55:33]: Error: :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131904, Exception.Message: The wait operation timed out
[14:55:33]: Error: :InnerException.StackTrace:
[14:55:33]: Error: :Error:Failed to execute sql command. Setup has reached maximum retry limit.
[14:55:33]: Warn: :Sql error: 11. Error: -2. Error Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:55:33]: Error: :Exception running sql string
DECLARE @sql NVARCHAR(MAX);
SET @sql = 'CREATE DATABASE ' + QUOTENAME(@DatabaseName) + '
ON PRIMARY(NAME=MOM_DATA,FILENAME=''' + REPLACE(@Filename, '''', '''''') + ''',SIZE=' + CAST(@Size AS VARCHAR) + 'MB,MAXSIZE=UNLIMITED,FILEGROWTH=' + CAST(@FileGrowth AS VARCHAR) + 'MB)
LOG ON(NAME=MOM_LOG, FILENAME=''' + REPLACE(@LogFilename, '''', '''''') + ''',SIZE=' + CAST(@LogSize AS VARCHAR) + 'MB,MAXSIZE=UNLIMITED,FILEGROWTH=' + CAST(@LogFileGrowth AS VARCHAR) + 'MB)';
EXEC(@sql);: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:55:33]: Error: :StackTrace: 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.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.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.ExecuteNonQuery(SqlCommand sqlCommand, Int32& result)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.Execute[T](SqlCommand sqlCommand, SqlRetryPolicy retryPolicy, GenericExecute`1 genericExecute)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlCommandsList(IEnumerable`1 sqlCommands)
[14:55:33]: Error: :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131904, Exception.Message: The wait operation timed out
[14:55:33]: Error: :InnerException.StackTrace:
[14:55:33]: Always: :Failed to create and configure the DB with exception.: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Timeout expired. The timeout period elapsed prior to completion
of the operation or the server is not responding.
[14:55:33]: Always: :StackTrace: 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.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.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.ExecuteNonQuery(SqlCommand sqlCommand, Int32& result)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.Execute[T](SqlCommand sqlCommand, SqlRetryPolicy retryPolicy, GenericExecute`1 genericExecute)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlCommandsList(IEnumerable`1 sqlCommands)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DWConfigurationHelper.DWConfigurationProcessor.RunAdminScripts(String sqlServerInstance, Nullable`1 port, String databaseName, Int64 dbSize, Int64 logSize, String dbPath, String logPath)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DWConfigurationHelper.DWConfigurationProcessor.ConfigureDataWarehouseDatabase(String sqlServerInstance, Nullable`1 port, String databaseName, Int64 dbSize, Int64 logSize, String dbPath,
String logPath)
[14:55:33]: Always: :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131904, Exception.Message: The wait operation timed out
[14:55:33]: Always: :InnerException.StackTrace:
[14:55:33]: Error: :CreateDataWarehouse failed: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Timeout expired. The timeout period elapsed prior to completion of the operation or
the server is not responding.
[14:55:33]: Error: :StackTrace: 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.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.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.ExecuteNonQuery(SqlCommand sqlCommand, Int32& result)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.Execute[T](SqlCommand sqlCommand, SqlRetryPolicy retryPolicy, GenericExecute`1 genericExecute)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlCommandsList(IEnumerable`1 sqlCommands)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DWConfigurationHelper.DWConfigurationProcessor.RunAdminScripts(String sqlServerInstance, Nullable`1 port, String databaseName, Int64 dbSize, Int64 logSize, String dbPath, String logPath)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DWConfigurationHelper.DWConfigurationProcessor.ConfigureDataWarehouseDatabase(String sqlServerInstance, Nullable`1 port, String databaseName, Int64 dbSize, Int64 logSize, String dbPath,
String logPath)
at Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.OMDataWarehouseProcessor.CreateDataWarehouse()
[14:55:33]: Error: :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131904, Exception.Message: The wait operation timed out
[14:55:33]: Error: :InnerException.StackTrace:
[14:55:33]: Error: :FATAL ACTION: CreateDataWarehouse
[14:55:33]: Error: :FATAL ACTION: DWInstallActionsPostProcessor
[14:55:33]: Error: :ProcessInstalls: Running the PostProcessDelegate returned false.
[14:55:33]: Always: :SetErrorType: Setting VitalFailure. currentInstallItem: Data Warehouse Configuration
[14:55:33]: Error: :ProcessInstalls: Running the PostProcessDelegate for OMDATAWAREHOUSE failed.... This is a fatal item. Setting rollback.
marc nalderHi,
Based on the log, I recommend you use the following way to test SQL connectivity.
You can use a UDL file to test various connectivity scenarios, create a simple text file, rename the extension from TXT to UDL, fill out the necessary information on the connection tab then test the connection, and troubleshoot as necessary
if it fails to connect.
For more information, please review the link below:
The easy way to test SQL connectivity
http://blogs.technet.com/b/michaelgriswold/archive/2014/01/06/the-easy-way-to-test-sql-connectivity.aspx
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
i have just upgraded from an iPhone 3Gs to an iPhone 5. I am trying to transfer all my content via icloud but having problems logging in - it keeps telling me the server is not responding. Nano sim hasn't yet been registered - does this affect things?
Have you activated your phone with your carrier yet?
-
Hi, I am using SQL Server 2008 R2 Stored Procedure as my dataset and running yearly sales report in SSRS 2008 R2. The weird thing is in SSMS the stored procedure does not take more than 10 seconds to retrieve data and the report also works
fine in BIDS, but from ReportServer if I were to pick an year from 1990 - 2014 they all work fine anything prior to 1990 either shows up fine or throws the below error.
SSRS Error:
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'QueryDS'. (rsErrorExecutingCommand)
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. The statement has been terminated.
I checked ReportServerTemDb tables and no table seems to be really large to cause a problem. This report "KeepTogether" property is TRUE.
Thanks in advance.............
IoneWas able to fix this with the help of
msdn documentation. The query dataset was set to 5 and this was somebody else's report I was fixing and I usually have my report template set to 0 so it took me a while to get there.
Ione -
New-SPWOPIBinding throws "WARNING: The server did not respond".
Hi,
I have installed the office web apps in another server. Which is in another domain, sharepoint server is in another domain. Both were in various Lan. I am now trying to configure the office web apps in sharepoint.
When i enter the command
New-SPWOPIBinding -ServerName <WacServerName> -AllowHTTPI get an error as WARNING: The server did not respond. Trying again (attempt 1 of 5).
WARNING: The server did not respond. Trying again (attempt 2 of 5).
WARNING: The server did not respond. Trying again (attempt 3 of 5).
WARNING: The server did not respond. Trying again (attempt 4 of 5).
WARNING: The server did not respond. Trying again (attempt 5 of 5).
New-SPWOPIBinding : Sorry, we have encountered an error and New-SPWOPIBinding
has failed.
At line:1 char:1
+ New-SPWOPIBinding -ServerName server.contoso.local -AllowHTTP
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Microsoft.Share...tNewWOPIBinding
:SPCmdletNewWOPIBinding) [New-SPWOPIBinding], SPCmdletException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewWOPIB
indingI don't know what i was missing. i don't have idea what to do. Can anyone how to resolve this and why it's showing.I already checked the link http://blog.blksthl.com/?s=https#step3. But i couldn't understand this. can anyone tell me what to do. What am i missing !Thanks in advance,Rajendran.KHi Paul,
i hve the same problem and i can get the XML in Sharepoint server but when i execute this:
PS C:\Users\administrador> New-SPWOPIBinding -ServerName XXXXXXXXXXXXX
.com -AllowHTTP
WARNING: The server did not respond. Trying again (attempt 1 of 5).
WARNING: The server did not respond. Trying again (attempt 2 of 5).
WARNING: The server did not respond. Trying again (attempt 3 of 5).
WARNING: The server did not respond. Trying again (attempt 4 of 5).
WARNING: The server did not respond. Trying again (attempt 5 of 5).
New-SPWOPIBinding : Sorry, we have encountered an error and New-SPWOPIBinding
has failed.
At line:1 char:1
+ New-SPWOPIBinding -ServerName XXXXXXXXXXXX.com -AllowHTTP
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Microsoft.Share...tNewWOPIBinding
:SPCmdletNewWOPIBinding) [New-SPWOPIBinding], SPCmdletException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewWOPIB
inding
i use HTTPS and that is the only error text from SP logs. I can ping owa server from Sharepoint server (internal and external URL). both machines are in the same VLAN.
what can i check to verify i have everything OK?
many thanks.
josetellan -
Safari cannot open the page as the server fails to respond
safari cannot open the page as the server fails to respond? i am getting this message and safari is not working
My 2nd gen works fine with WPA2 and AES encryption.
You may need to go back and start over. Reset the router back to factory defaults, log on as the admin, set up security, DHCP, and make sure the IP address pool has enough IP addresses to lease to ALL of the computers/devices that will connect to that the router. -
I am getting the error message, "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft SQL Server)". I am attaching the stored procedure. Can anyone see where the syntax may
be causing this.
USE [ReportData]
GO
/****** Object: StoredProcedure [PDI].[usp_MJTestTop10_Select] Script Date: 04/23/2015 10:35:43 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
--USE [ReportData]
--GO
--/****** Object: StoredProcedure [PDI].[usp_MJTestTop10_Select] Script Date: 04/23/2015 08:22:26 ******/
--SET ANSI_NULLS ON
--GO
--SET QUOTED_IDENTIFIER ON
--GO
ALTER PROCEDURE [PDI].[usp_MJTestTop10_Select]
@StartDate DATE,
@EndDate DATE,
@Location VARCHAR
AS
DECLARE @CalendarKey TABLE (
Calendar_Key int,
Organization_Key int,
Day_Date DATETIME
BEGIN
INSERT INTO @CalendarKey
SELECT C.calendar_key,
O.Organization_Key,
C.Day_Date AS DATETIME
FROM pdi.PDI_Warehouse_952_01.dbo.calendar C,
pdi.PDI_Warehouse_952_01.dbo.Organization O
where @EndDate is not null
and C.Day_Date BETWEEN @StartDate and @EndDate
or @EndDate is null
and C.Day_Date = @StartDate
END
SELECT CAST(C.Day_Date as DATE) as [Memo Date],
--C.calendar_key,
ISNULL(CAST(MBH.Transaction_Number as VARCHAR), 'Unknown') as [Memo Number],
O.Site_id,
O.Site_desc,
--p.Product_Key,
p.UPC as [UPC],
(CAST(P.Department_ID as VARCHAR) + ' ' + CAST(P.Category_ID as VARCHAR) + ' ' + CAST(P.Sub_Category_Id as VARCHAR)) as [D C S],
ISNULL(CAST(IPF.Vendor_Key as VARCHAR), 'Unknown') as [Vendor Code],
--ISNULL(CAST(V.Vendor_Desc as VARCHAR), 'Unknown') as [Vendor Desc],
ISNULL(P.Item_Desc, 'Unknown') as [Description],
ISNULL(P.Size_Desc, 'Unknown') as [Size],
ISNULL(RTrim(Cash.Cashier_Name), 'Unknown') as [Associate],
ISNULL(CONVERT(INT, IIF.Beg_Inv_Qty, 0), '0') as [Old Qty],
ISNULL(CONVERT(INT, IIF.End_Inv_Qty,0), '0') as [Adj Qty],
ISNULL(CONVERT(INT, IIF.End_Inv_Qty - IIF.Beg_Inv_Qty, 0), '0') as [Dif Qty]
FROM pdi.PDI_Warehouse_952_01.dbo.Item_Sales_Fact ISF
INNER JOIN pdi.PDI_Warehouse_952_01.dbo.Product P ON ISF.Product_Key = P.Product_Key
LEFT JOIN pdi.PDI_Warehouse_952_01.dbo.Organization O ON ISF.Organization_key = O.organization_key
LEFT JOIN pdi.PDI_Warehouse_952_01.dbo.Item_Purchases_Fact IPF ON ISF.Product_key = IPF.Product_Key
AND ISF.Organization_key = IPF.Organization_key
AND ISF.Calendar_key = IPF.Calendar_key
LEFT JOIN pdi.PDI_Warehouse_952_01.dbo.Item_Inventory_Fact IIF ON ISF.Product_Key = IIF.Product_Key
AND IIF.Product_Key = P.Product_Key
AND ISF.Organization_key = IIF.Organization_Key
AND ISF.Calendar_key = IIF.Calendar_Key
LEFT JOIN pdi.PDI_Warehouse_952_01.dbo.Calendar C ON ISF.calendar_key = C.calendar_key
LEFT JOIN pdi.PDI_Warehouse_952_01.dbo.Cashier Cash ON ISF.Organization_Key = Cash.Organization_Key
LEFT JOIN pdi.PDI_Warehouse_952_01.dbo.Cashier_Metric_Hourly_Dept_Snapshot CMH on Cash.Organization_Key = CMH.Organization_Key
AND Cash.Cashier_Key = CMH.Cashier_Key
AND ISF.Calendar_Key = CMH.Calendar_Key
LEFT JOIN pdi.PDI_Warehouse_952_01.dbo.MarketBasket_Header MBH ON ISF.Calendar_Key = MBH.Calendar_Key
AND ISF.Organization_Key = MBH.Organization_Key
AND Cash.Cashier_Key = MBH.Cashier_Key
LEFT JOIN pdi.PDI_Warehouse_952_01.dbo.Vendor V ON IPF.Vendor_Key = V.Vendor_key
AND IPF.Calendar_Key = C.Calendar_Key
LEFT JOIN @CalendarKey CK ON ISF.Calendar_Key = ck.Calendar_Key
AND ISF.Organization_Key = CK.Organization_Key
WHERE C.calendar_key = CK.Calendar_Key
ORDER BY
O.Location_ID,
C.Day_Date,
IPF.Vendor_Key,
P.UPC,
P.Size_DescSome additional comments.
@Location VARCHAR
Look closely at this. How many characters can @Location contain? You did not specify, so perhaps you think some appropriately large default value is used. Guess again. You did a similar thing with cast (multiple times) - which is handled
differently. Don't be lazy.
WHERE C.calendar_key = CK.Calendar_Key
Go review the join to the CK table. It is an outer join. Yet you have included criteria in the where clause that requires a match in the unpreserved (@CalendarKey aka CK) table. This effectively transforms that join from outer to inner.
Was that intentional? Probably, but then you don't need to use an outer join
FROM pdi.PDI_Warehouse_952_01.dbo.calendar C,
pdi.PDI_Warehouse_952_01.dbo.Organization O
Evolve. We do not join in the where clause any longer. You should be joining using join operators. And perhaps more importantly, why do you need to dump a resultset into a table variable at all? Note that your join is a cross join
since there is no relationship between calendar and Organization - intentional? Given the rest of the logic, it seems that you don't really need to do this.
ISNULL(CONVERT(INT, IIF.End_Inv_Qty,0), '0') as [Adj Qty],
Go review the documentation for convert. You supply a style, but does it do anything? We don't know what datatype End_Inv_Qty is, but I assume it is numeric (and not float). So what do you intend? And you convert it to integer but
use a character '0' in the isnull function. Your lack of consistency can lead to issues that are difficult to find and resolve.
CAST(C.Day_Date as DATE)
Why are you doing this? You defined the column in your table variable as datetime. You cast the value you use to populate this column to datetime. I'm guessing that you only really care about the date portion. The name you used for the
column implies this. So why bother with datetime in the first place?
And one last suggestion. If you disallow the use of NULL for the @EndDate argument (simply supply the same value for both date arguments) you can simplify the logic that populates your table variable (or its replacement) and greatly eliminate the confusion
and chance for errors that nullability requires. -
BPC 7.0 M SP08 - The server is not responding or there is a server error
I have upgraded BPC 7.0 M SP3 to SP8. The front end servers are load balanced running Windows Server 2003 Enterprise SP2. The backend is SQL Server 2008.
When using the new office or admin client I am now getting "The server is not responding or there is a server error" when using the Connection Wizard.
If I use the old client, I get past the Connection Wizard, but receive "LoadAppInfo :-1 : Failed to connect Database. This occurs if I go to the load balancer or one of the farm web servers directly.
During the upgrade of the server, the system check showed all green checks, but there was a message about something wrong with services. After finding nothing to identify the issue, I continued with the installation. After the upgrade, Server Manager Diagnostics shows all green checks.
Thanks for any help.
JoeHi Sorin,
Thanks for the response.
I performed an upgrade.
Both tables have the correct info.
I have installed the latest client. With the old client I get, "LoadAppInfo :-1 : Failed to connect Database."
With the updated client I get "The server is not responding or there is a server error." error from the Connection Wizard. Because of the error, I do not get a chance to select ApShell when using the new Excel client. But this is what I find in tblLogs:
==============[System Error Tracing]==============
[System Name] : WebFolderSvr
[Message Type] : ErrorMessage
[Job Name] : CommonFileAccess::GetServerInfoXML
[DateTime] : 12/20/2010 10:27:13 AM
[UserId] : MYDOMAIN\svc_sapbpc
[Exception] DetailMsg : {Value cannot be null. Parameter name: type}
==============[System Error Tracing End ]==============
==============[System Error Tracing]==============
[System Name] : ApplicationService
[Message Type] : ErrorMessage
[Job Name] : OSoft.Services.Webservice.ApplicationService.ApplicationService.Query()
[DateTime] : 12/20/2010 10:27:13 AM [UserId] :
[Exception] DetailMsg : {Exception has been thrown by the target of an invocation.}
==============[System Error Tracing End ]==============
and Fiddler shows:
You are not authorized to view this page
You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept.
HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration.<br>Internet Information Services (IIS)
and
<NewQueryMethodResponse xmlns="http://tempuri.org/OSoft.Services.Webservice.SystemConfigService/SystemConfigService"><NewQueryMethodResult><return status="failed">
<SessionInfomation>
<SessionStatus>succeed</SessionStatus>
<SessionID></SessionID>
<SessionTime></SessionTime>
<SessionLastRequestTime></SessionLastRequestTime>
</SessionInfomation>
<result>Value cannot be null.
Parameter name: type</result></return></NewQueryMethodResult></NewQueryMethodResponse>
With the SP03 Excel client, I get "Cannot download ACCOUNT member information". Followed by "LoadAppInfo :-1 : Failed to connect Database". These are the entries I find in tblLogs:
==============[System Exception Tracing]==============
[System Name] : JournalSvr
[Message Type] : ErrorMessage
[Job Name] : clsQuery::GetSQLServerInfo [DateTime] : 12/20/2010 10:21:32 AM
[UserId] :
[Exception] DetailMsg : {Login failed for user 'MYDOMAIN\BPCQAAPP1$'.}
==============[System Exception Tracing End ]==============
==============[System Exception Tracing]==============
[System Name] : JournalSvr
[Message Type] : ErrorMessage
[Job Name] : clsQuery::Initialize
[DateTime] : 12/20/2010 10:21:32 AM
[UserId] :
[Exception] DetailMsg : {Operation is not allowed when the object is closed.}
==============[System Exception Tracing End ]============== -
Switchboard, with the attention, 'Doesn't respond!'.-- Adobe Bridge
Hi, if i look in my Activityprogram I see a red line and it's from Switchboard, with the attention, 'Doesn't respond!'. I looked in the details and saw that it is from Bridge. What do I have to do to resolve this problem? Gz, Henri
I found the solution on the web:
Fout: wachten op Bridge CS5 | Het deelvenster Mini Bridge | InDesign, InCopy, Photoshop | CS5 -
We are using SQL Server 2012.
Every now and then, when we execute the below stored procedure INSERT_INTO_MYTBL, we got the below error, and it returned @ID = 0.
"Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
This failure occured while attempting to connect to the Principle server."
What causes this error, and how can we fix it ?
Thank you.
create procedure INSERT_INTO_MYTBL
@ID int output,
@Order varchar(50) = NULL,
@ACCOUNT varchar(20) = NULL
AS
DECLARE @Success int, @TryNr int, @ErrMsg varchar(500), @ErrNumber int, @expected_id int;
SET @Success = 0;
SET @TryNr = 1;
SET @ErrMsg = ''
WHILE @Success = 0 AND @TryNr <= 3 and @ErrMsg = ''
BEGIN;
BEGIN TRY;
BEGIN TRANSACTION;
retry:
BEGIN TRY;
SELECT @expected_id = ident_current('myTbl') + 1
SELECT @order = @account + '-' + CAST(@expected_id AS varchar(50))
insert into myTbl
([Order],ACCOUNT)
values
(@Order,@ACCOUNT)
END TRY
BEGIN CATCH;
SELECT @ErrNumber = ERROR_NUMBER()
IF @ErrNumber = 2627
BEGIN;
GOTO retry
END;
ELSE
BEGIN;
SET @ErrMsg = '1.' + ERROR_MESSAGE() + ' ' + @order
RAISERROR (@ErrMsg, 16, 1);
END;
END CATCH
select @ID = SCOPE_IDENTITY()
IF @id <> @expected_id
BEGIN
UPDATE myTbl
SET [Order] = @ACCOUNT + '-' + CAST(@ID AS varchar(50))
WHERE ID = @ID
END
SET @Success = 1
COMMIT TRANSACTION;
END TRY
BEGIN CATCH;
ROLLBACK TRANSACTION;
SELECT @ErrNumber = ERROR_NUMBER()
IF @ErrNumber = 1205
BEGIN;
SET @TryNr = @TryNr + 1;
IF @TryNr > 3
RAISERROR ('Giving up after 3 consecutive deadlocks for %s', 16, 1,@ACCOUNT);
END;
ELSE
BEGIN;
SET @ErrMsg = '2.' + ERROR_MESSAGE() + ' ' + @order
RAISERROR (@ErrMsg, 16, 1);
END;
END CATCH;
END;When the problem occurs, the stored procedure returns @ID = 0, which I think means the query
When the problem occurs, the procedure does not return anything. SQL Server was told to stop executing. Furthermore, unless you issue the command SET XACT_ABORT ON, SQL Server will not roll back any open transaction. Which is one more reason you should not
permit command timeouts.
As for why this procedure sometimes take a long time, I would primarily suspect locking. When this occurs (but before the timeout elapses!), you could use my beta_lockinfo to see if there is any blocking going on. You find it here:
http://www.sommarskog.se/sqlutil/beta_lockinfo.html
Erland Sommarskog, SQL Server MVP, [email protected] -
New-SPWOPIBinding Failing with "The server did not respond"
I am currently attempting to create a binding between my SharePoint environment and our Office Web Apps server.
I am able to connect to the Office Web Apps server when I allow HTTP connections (on both the Web Apps Server and the SharePoint server) and create the binding using the -AllowHTTP command but am unable to connect to the server when trying over HTTPS.
I have created a DigiCert UCC certificate for the Office Web Apps server that uses the common name of the DNS CNAME entry for the Office Web Apps server (owas.contoso.com) and includes the FQDN of the server in the SAN (saowas.contoso.local).
I can ping the Office Web Apps server from the SharePoint server and can hit https://owas.contoso.com/hosting/discovery over HTTPS from the SharePoint server, and have disabled the firewalls on both servers.
When I attempt to run New-SPWOPIBinding -Servername "owas.contoso.com"
on the SharePoint server it quickly gives me the WARNING: The server did not respond. Trying again (attempt 1 of 5)
errors.
Any help would be appreciated.You can check the ULS logs, found in the 15 hive, by default:
%ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
I would recommend a log viewer though. There are several out there (I use the first one):
http://archive.msdn.microsoft.com/ULSViewer
http://ulsviewer.codeplex.com/
http://sharepointlogviewer.codeplex.com/ -
I can receive emails from three different accounts but can't send a photo from them. It says the server doesn't allow relaying???
I have a hard time describing this exactly, so I copied this from another thread. This seems to be a recent issue with AOL email accounts on the iPad the past few days. I have two AOL accounts and they work fine. See if this works for you.
+If you cannot send, under the smtp server your user name and password must be entered even though the prompt tells you it is optional. As a mobile device the port used is different from the one I would normally use if at home and therefore validation is required by use of the password. The normal port for the smtp server is 110 but to use on a mobile unit like the iPad port 587 is used.+
The big thing is to make sure that your username and password are filled in - Select your email account in the Mail setting and tap on the arrow next to the smtp server under the Outgoing Mail Server and then tap on the arrow next to smtp server under the Primary Server and fill in the information in there.
Some times you have to resort to deleting the account and starting over again. -
If I try to send an email ,I got the message "the server doesn't accept this email address".It happened suddenly,before it worked correctly and I didn't change anything
Change the password on that e-mail account. It's possible that your account has been hacked/spoofed and spammers have used it to blast out junk, leaving you to 'pay the price'. If it's one where you can contact the company, contact them and ask them what's going on. (if this is g-mail, yahoo, hotmail, don't bother, there's no way to contact any sort of support)
-
Hi,
in our windows server 2008 R2 standard , we are facing this error "Security database on the server doesn't have a computer account for this workstation trust relationship " on an regular basis. we have did below mentioned teps to solve the issue
1. Disjoin the system from Domain & joined it again.
2. tested the computer secure channel connection.
3. checked the DNS settings of server
4.checked the computer account in AD which disabled or not.
Everything was ok but after doing changes again after 2 - 3 days we are facing same error message.
Please help to sort the issue on an urgent basis.When the error happen, can you check the computer account in your AD's console (with advanced feature at on), to check the date it was updated and if the SID is the same ? (objectSID and pwdLastset)
I guess someone try to domain join a computer with the same name, and flush your computer account at the same time.
Regards, Philippe
Don't forget to mark as answer or vote as helpful to help identify good information. ( linkedin endorsement never hurt too :o) )
Answer an interesting question ? Create a
wiki article about it!
Maybe you are looking for
-
Assigning a String Value to the value attribute of html:file
Hi, we facing a problem while assigning a value to the VALUE attribute of file tag <html:file property="fileupload" size='25' value="sample.xls" onchange="callsheet()" /> can anyone help me out plzzz,
-
Problem with scanning in PS CS6 - scanning process crashes
Hi. Here is my hardware: Macbook pro 4 GB DDR3 core i5 with plenty of HD space Epson V700 scanner (6400 dpi scanning capability) My Software: Adobe CS6 trial What I want to do: Scan a typical photo that is 6 by 6 inches at 6400 dpi as a b
-
how i can find apllication server time and database time.
-
Can't drag and drop apps in iTunes library after a restore
Came back from an update (having transferred all new purchases off my ipod before updating) to find ipod completely empty, and needed to restore! (ipod only 2 months old) Initially couldn't drag and drop any of the library back into restored ipod, bu
-
Amd-displa​y adapter-AT​I Radeon Graphics Cards stopped working
solve a problem with AMD-Display Adapter-ATI Radeon Graphic. AMD-Display Adapter-ATI Radeon Graphics Cards has stopped working 4 times,last occurring on 1/15/2015 7:47AM