IIS Manager 6.0 Wait Operation Time Out on connecting to remote server
I'm looking to configure SMTP on Server 2012 Core, I've installed the feature and remote management/administration tools and web management console and web management compatability. When I attempt to connect via IIS 6.0 Manager I immediately receive "The
wait operation timed out"
I've removed and re-installed the SMTP-Server feature without success
any suggestions would be appreciated.
I encountred this issue the IIS 6.0 requires the SMTP if you want to configure the remote management of the Server Core then try to follow this youtube podcast
watch?v=Pim1T6z6DJM Configure a Win 7 machine to control
of this serie that shows how to install and configure a web server core from A to Z
http://www.youtube.com/playlist?list=PLzayUN5B2cXMoyziV4oUs94P6EZT6QVmc
watch?v=5z1NiWUJdGU Wipe generation
watch?v=Q3BoLkWWAC4 hard disk preparation
watch?v=lOPvy-cn0Uk server core installation
watch?v=gTnOUJfRkDg configure the web server
watch?v=0ofvknXMNsc install .net framework in the webserver
watch?v=K4ADBzZeM6E install the web server role
watch?v=oGHC0sbe17Y remote control the server
watch?v=SpzAsRkjV40 continue the remote configuration
watch?v=XjPD8U_y29I Create and alias for the web server
watch?v=Pim1T6z6DJM Configure a Win 7 machine to control
Enjoy the vids
The complexity resides in the simplicity Follow me at: http://smartssolutions.blogspot.com
Similar Messages
-
Dear all,
I am facing one problem with my user pc "The wait operation time out"
ERROR=
Aconnection was successfully established with the server. but then an error occurred during the pre-loging handshake. (provided , SSL providing error-0 , The wait operation time out microsoft SQL server error- 258.
my user-pc use windows 7 and connect VPN by using "Sonic-wall" we connect successfully and get my remote server IP ping reply but when try to access remote server database that time I am getting this error
At the same time using same network and id can connect the server from vpn and access database from other
system.
please help me sort it out this issue.
thanks
sajalHi Sajal,
It is possible that remote machine(server) is up but please check whether database server is up or not.
Please contact database administrator to know the status of database. This will help you to know the cause.
If database is down you cannot connect it. -
I have a web app that is backed by a an Azure SQL Database. The problem is that I had multiple issues when connecting to the database mainly when trying to establish a connection, or timeouts. This is the log I just encountered when trying to use the web
app.
[Win32Exception (0x80004005): The wait operation timed out]
[SqlException (0x80131904): Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=21970; handshake=1; ]
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +671
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +116
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1012
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +6712291
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +152
System.Data.SqlClient.SqlConnection.Open() +229
System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +102Hi Affar2k,
According to your description, we need to verify if there is no network issue and the Sqlclient version is older than .NET 4.5. You can try to connect to the Windows Azure SQL database via SSMS and check if it can run well. When you
connect to the SQL Azure database via ADO.NET, you need to verify that the server name and passwords are right in the connection string.
For more information, you can review the following article about how to connect to Windows Azure SQL Database using ADO.NET.
http://msdn.microsoft.com/en-us/library/windowsazure/ee336243.aspx
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support -
Getting Frequent time out while Connecting to SQL server 2008 Instance installed on VmWare
Hi,
I have a production SQL server Database with default instance. when I connect this instance from 10 attempts it get connected only 5-6 times. I connect this through SSMS. Some of jobs also getting failed due to login time out expired. please help in this.
Product is SQL server 2008 Enterprise Edition
Thank You
Yogesh AroraYogesh Arora
Have you checked Event Viewer and ERROR.LOG?
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
SQL Azure - Intermittent The wait operation timed out
I have a website engine which runs a few hundred "white label" sites. It's hosted on Azure with a SQL Azure Business database. Generally everything is fine - it all works and runs at a good speed.
However, throughout the day I get maybe 40 or 50 of the error:
System.ComponentModel.Win32Exception: The wait operation timed out
Please don't refer me to the connectivity blog at http://blogs.msdn.com/b/sqlazure/archive/2010/03/22/9982979.aspx as this seems to refer to problems where you just can't connect. My problem is that it's fine most of the time, but I still get these
intermittently.
This is sometimes on the main database, but we're also using a database for sessions and this gets the errors too. Both databases are on the same server.
I also get errors like:
An existing connection was forcibly closed by the remote host
and:
System.Data.SqlClient.SqlException: The service has encountered an error processing your request. Please try again. Error code 40143. A severe error occurred on the current command. The results, if any, should be discarded.
and, when evil bots are hammering the site:
System.Data.SqlClient.SqlException: Resource ID : 1. The request limit for the database is 180 and has been reached. See 'http://go.microsoft.com/fwlink/?LinkId=267637' for assistance.
Each website can potentially have a Google footprint of around 10,000 pages. The result it that bots are hitting the sites regularly, indexing lots of pages for hundreds of sites. I also have some worker roles doing data work. The database is clearly busy!
I am hoping to add 2 or 3 times the number of sites that I currently have to the "engine".
I am looking at efficiency where possible, but the sites are clearly under a fair load from bots and visitors.
My question is, will one of the upgrades from Business to S2, P1, P2 or P3 resolve these problems? The financial cost of these database instances stagger greatly so I wouldn't want to update and find I'm left with the same problems but am paying many times
more each month.
Thank you in advance.Hello,
For Web/Business edition database, the maximum limit of concurrent requests is 180. Beyond this limit, you will receive error.
The Max woker threads for Standard(S2) is 100, you should upgrade your database to Permium tier.
The concurrent requests limit of premium database varies depending on the reservation size of a premium database. For example, for P1, the max worker threads is 200.
Reference:Azure SQL Database Resource Governance
Azure SQL Database Service Tiers and Performance Levels
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
2012 R2 Fax Server -- "The Message could not be sent. The wait operation timed out."
I receive the following error on a newly installed 2012 R2 fax server when sending from the Windows Fax and Scan console:
"The Message could not be sent. The wait operation timed out."
The test fax that fails only contains text that I type into the body. However, if I add an attachment, the fax is successful.
Any ideas??Hi,
Would you please let me confirm whether install any third-party application on the Windows Server 2012 R2?
Please perform a clean boot to eliminate software conflicts and monitor the result. Please also check if you install all necessary updates on the server.
Meanwhile, please run
sfc /scannow command to scan all protected system files and check if find issues.
Please also refer to following article and check if can help you.
Troubleshooting Your Fax Server
By the way, there is a similar thread. Please also refer to following thread and check if can help you.
Windows
Fax and scan (Windows 8)
Hope this helps.
Best regards,
Justin Gu -
Hi, I have been trying for push Notification Services in Windows 8 Store Apps. I am requesting For notification channel in the following manner
publicasyncvoidregisterChannelForNotification(
try
TileUpdateManager.CreateTileUpdaterForApplication().Clear();
BadgeUpdateManager.CreateBadgeUpdaterForApplication().Clear();
varvProfile =
NetworkInformation.GetInternetConnectionProfile();
if(vProfile.GetNetworkConnectivityLevel()
== NetworkConnectivityLevel.InternetAccess)
varvChannel =
awaitPushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync();
varvBuffer =
CryptographicBuffer.ConvertStringToBinary(vChannel.Uri,
BinaryStringEncoding.Utf8);
varvUri =
CryptographicBuffer.EncodeToBase64String(vBuffer);
varvClient =
newHttpClient();
try
varvResponse =
awaitvClient.GetAsync(newUri(Constants.SERVER_URL));
if(vResponse.IsSuccessStatusCode)
sendDeviceTokenRequest(vChannel.Uri);
catch(HttpRequestException)
catch(Exceptionex)
This gives me the exception,The wait operation timed out. (Exception from HRESULT: 0x80070102) when requesting for pushNotification channel. What could be the possible reason and how to solve this issue
Nikhil Sharma10Hi,
I have currently the same problem with requesting a push channel.
But iam not sure if it is a problem with my phone, or my application.
I cant get rid of this error. The solution says: "retry the channel request later". But it doesn
matter if I retry the channel request later (triggerd by pressing a button) the same day or the next day.
I resetted my windows phone, installed the newest dev preview, but it is still not working. But the same code worked a few months ago. On the same phone.
Thats why Iam not sure what I changed (accidentally) in my app code which causes now the 0x80070102 error.
Any ideas why the same code is not working any more?
Thanks
Greetings from Germany
Simon -
In my office, I have a MacBook and a Mac Pro. I tried to ssh to the Mac Pro from the Macbook and got the "operation time out" error. I am able to ssh to a Linux box from my Macbook.
Anybody has encountered this? Thanks.I solved the problem.
I should select "set access for specific services and applications" in Preferences/Security/Firewall. -
ORA-12535 TNS:Operation time Out and ORA-12154:TNS Could not resolve servic
Greetings!!!
I have installed my Oracle Database 10g & Developer Suite 10g in Windows XP Pro Machine. Oracle Application Server 10g is also installed in Windows 2003 Server machine.Both machine have different domain.When using Form Developer Suite OC4J to run my form program, i can connect to the database properly run the form perfectly.
Problem encountered.
When I tried to run the form using Application Server 10g(installed in Windows 2003 Server), I got an error ORA-12154:TNS Could not resolve service name when connecting to the database and I got an error ORA-12535 TNS:Operation time Out when using TNSPing. I checked both the configuration of TNSNAMES.ORA(database & Application SErver) using the same port & service name but still got the same error.
Hope somebody can help me out there...
Many thanks in advance.
Regards,
BTFI have seen this before with my setup, I found that I had to go into the net configuration assistant, and change my host name to the fully qualified name, example: my compuer name is computer1, I had to enter in computer1.OIT.Docfinity.com for it to take. That has always gotten me past that TNS error, just my 2 cents, hope it helps.
keep on keeping on. -
Exchange 2010 SP2 Active DAG Node. Cannot cannot to Exchange Admin Console with the following errors and these errors change from time to time ... and some times it works ...
attempt to connect to http://DAGNODE.domain.com/powershell using "kerberos" authentication failed: connecting to remote server failed with the following message: The WinRM Client cannot complete the operation
within the time specified. Check if the machine name is valid and is reachable over the network and firewall exception for windows remote management service is enabled.
thanks,Hi,Philip,
Are you running the DAG on Windows server 2008 R2?If so check the following KB to see if they apply to your issue
http://support.microsoft.com/kb/976839
http://support.microsoft.com/kb/2294243
And you can check if the solutions in these old threads with similar error message do the trick for you.
http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/54af902c-d718-4656-8a25-7c150e4b0e81/
http://social.technet.microsoft.com/Forums/en-US/exchangesvradminlegacy/thread/baa1af25-001a-432d-86a0-25c05655e63c/
Regards,
Sharon
Sharon Shen
TechNet Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. -
I am getting error The wait opertaion timed out but when i get run linq query to Sql it will run in 5 sec.
And also tried with increasing timeout to 10*60 .
My Sql query is
SELECT
[Project5].[C7] AS [C1],
[Project5].[C6] AS [C2],
[Project5].[C5] AS [C3],
[Project5].[C1] AS [C4],
[Project5].[C11] AS [C5],
[Project5].[C2] AS [C6],
[Project5].[C3] AS [C7],
[Project5].[C8] AS [C8],
[Project5].[C4] AS [C9],
[Project5].[C9] AS [C10],
[Project5].[C10] AS [C11]
FROM ( SELECT
[GroupBy1].[A1] AS [C1],
[GroupBy1].[A2] AS [C2],
[GroupBy1].[A3] AS [C3],
[GroupBy1].[A4] AS [C4],
[GroupBy1].[K1] AS [C5],
[GroupBy1].[K2] AS [C6],
1 AS [C7],
CASE WHEN ([Project4].[C6] IS NULL) THEN CAST(NULL AS float) ELSE ROUND( CAST( [Project4].[C2] AS float), 2) END AS [C8],
CASE WHEN ([Project4].[C6] IS NULL) THEN CAST(NULL AS float) ELSE ROUND( CAST( [Project4].[C3] AS float), 2) END AS [C9],
CASE WHEN ([Project4].[C6] IS NULL) THEN CAST(NULL AS float) ELSE ROUND( CAST( [Project4].[C4] AS float), 2) END AS [C10],
[Project4].[C5] AS [C11]
FROM (SELECT
[Filter1].[K1] AS [K1],
[Filter1].[K2] AS [K2],
[Filter1].[K3] AS [K3],
COUNT([Filter1].[A1]) AS [A1],
SUM([Filter1].[A2]) AS [A2],
SUM([Filter1].[A3]) AS [A3],
SUM([Filter1].[A4]) AS [A4]
FROM ( SELECT
CASE WHEN (1 = 1) THEN [Extent3].[CostCentreDescription] ELSE [Extent4].[DepartmentDescription] END AS [K1],
CASE WHEN (1 = 1) THEN [Extent3].[CostCentreGUID] ELSE [Extent5].[DepartmentGUID] END AS [K2],
CASE WHEN (1 = 1) THEN [Extent1].[CostCentreID] ELSE [Extent1].[DepartmentID] END AS [K3],
1 AS [A1],
[Extent1].[ProRata] AS [A2],
[Extent1].[MonthLineRental] AS [A3],
[Extent1].[TotalCost] AS [A4]
FROM [dbo].[InvoiceCTN] AS [Extent1]
LEFT OUTER JOIN [dbo].[Department] AS [Extent2] ON [Extent1].[DepartmentID] = [Extent2].[DepartmentID]
INNER JOIN [dbo].[CostCentre] AS [Extent3] ON [Extent1].[CostCentreID] = [Extent3].[CostCentreID]
LEFT OUTER JOIN [dbo].[Department] AS [Extent4] ON [Extent1].[DepartmentID] = [Extent4].[DepartmentID]
LEFT OUTER JOIN [dbo].[Department] AS [Extent5] ON [Extent1].[DepartmentID] = [Extent5].[DepartmentID]
WHERE ([Extent1].[InvoiceDateID] = 16) AND (0 = 0 OR 0 = CAST( [Extent2].[DepartmentType] AS int))
) AS [Filter1]
GROUP BY [K1], [K2], [K3] ) AS [GroupBy1]
LEFT OUTER JOIN (SELECT
[Project3].[C1] AS [C1],
[Project3].[C2] AS [C2],
[Project3].[C3] AS [C3],
[Project3].[C4] AS [C4],
[Project3].[C5] AS [C5],
1 AS [C6]
FROM ( SELECT
[Project2].[C1] AS [C1],
[Project2].[C2] AS [C2],
[Project2].[C3] AS [C3],
[Project2].[C4] AS [C4],
(SELECT
COUNT(1) AS [A1]
FROM ( SELECT [Extent11].[InvoiceDateID] AS [InvoiceDateID1], [Extent12].[DepartmentType] AS [DepartmentType1], [Extent14].[CostCentreGUID] AS
[CostCentreGUID], [Extent15].[DepartmentGUID] AS [DepartmentGUID1]
FROM [dbo].[InvoiceCTN] AS [Extent11]
LEFT OUTER JOIN [dbo].[Department] AS [Extent12] ON [Extent11].[DepartmentID] = [Extent12].[DepartmentID]
INNER JOIN [dbo].[InvoiceCTNItemised] AS [Extent13] ON (([Extent11].[MobileNumber] = [Extent13].[MobileNumber]) OR (([Extent11].[MobileNumber]
IS NULL) AND ([Extent13].[MobileNumber] IS NULL))) AND (([Extent11].[InvoiceDateID] = [Extent13].[InvoiceDateID]) OR (([Extent11].[InvoiceDateID] IS NULL) AND ([Extent13].[InvoiceDateID] IS NULL)))
INNER JOIN [dbo].[CostCentre] AS [Extent14] ON [Extent11].[CostCentreID] = [Extent14].[CostCentreID]
LEFT OUTER JOIN [dbo].[Department] AS [Extent15] ON [Extent11].[DepartmentID] = [Extent15].[DepartmentID]
WHERE 'SMS' = [Extent13].[CallType]
) AS [Filter3]
WHERE ([Filter3].[InvoiceDateID1] = 16) AND (0 = 0 OR 0 = CAST( [Filter3].[DepartmentType1] AS int)) AND (([Project2].[C1] = (CASE WHEN
(1 = 1) THEN [Filter3].[CostCentreGUID] ELSE [Filter3].[DepartmentGUID1] END)) OR (([Project2].[C1] IS NULL) AND (CASE WHEN (1 = 1) THEN [Filter3].[CostCentreGUID] ELSE [Filter3].[DepartmentGUID1] END IS NULL)))) AS [C5]
FROM ( SELECT
[GroupBy2].[K1] AS [C1],
[GroupBy2].[A1] AS [C2],
[GroupBy2].[A2] AS [C3],
[GroupBy2].[A3] AS [C4]
FROM ( SELECT
[Project1].[K1] AS [K1],
SUM([Project1].[A1]) AS [A1],
SUM([Project1].[A2]) AS [A2],
SUM([Project1].[A3]) AS [A3]
FROM ( SELECT
CASE WHEN (1 = 1) THEN [Project1].[CostCentreGUID] ELSE [Project1].[DepartmentGUID] END AS [K1],
CASE WHEN ([Project1].[UsageCharge] IS NOT NULL) THEN [Project1].[UsageCharge] ELSE cast(0 as
decimal(18)) END AS [A1],
(CASE WHEN ([Project1].[DataVolume] IS NOT NULL) THEN [Project1].[DataVolume] ELSE cast(0 as decimal(18))
END) / cast(1048576 as decimal(18)) AS [A2],
CASE WHEN ([Project1].[Minutes] IS NOT NULL) THEN [Project1].[Minutes] ELSE cast(0 as decimal(18))
END AS [A3]
FROM ( SELECT
[Extent8].[Minutes] AS [Minutes],
[Extent8].[DataVolume] AS [DataVolume],
[Extent8].[UsageCharge] AS [UsageCharge],
[Extent9].[CostCentreGUID] AS [CostCentreGUID],
[Extent10].[DepartmentGUID] AS [DepartmentGUID]
FROM [dbo].[InvoiceCTN] AS [Extent6]
LEFT OUTER JOIN [dbo].[Department] AS [Extent7] ON [Extent6].[DepartmentID]
= [Extent7].[DepartmentID]
LEFT OUTER JOIN [dbo].[InvoiceCTNItemised] AS [Extent8] ON (([Extent6].[MobileNumber]
= [Extent8].[MobileNumber]) OR (([Extent6].[MobileNumber] IS NULL) AND ([Extent8].[MobileNumber] IS NULL))) AND (([Extent6].[InvoiceDateID] = [Extent8].[InvoiceDateID]) OR (([Extent6].[InvoiceDateID] IS NULL) AND ([Extent8].[InvoiceDateID] IS NULL)))
INNER JOIN [dbo].[CostCentre] AS [Extent9] ON [Extent6].[CostCentreID]
= [Extent9].[CostCentreID]
LEFT OUTER JOIN [dbo].[Department] AS [Extent10] ON [Extent6].[DepartmentID]
= [Extent10].[DepartmentID]
WHERE ([Extent6].[InvoiceDateID] = 16) AND (0 = 0 OR 0 = CAST( [Extent7].[DepartmentType]
AS int))
) AS [Project1]
) AS [Project1]
GROUP BY [K1]
) AS [GroupBy2]
) AS [Project2]
) AS [Project3] ) AS [Project4] ON ([GroupBy1].[K2] = [Project4].[C1]) OR (([GroupBy1].[K2] IS NULL) AND ([Project4].[C1] IS NULL))
) AS [Project5]
ORDER BY [Project5].[C4] DESC
and the C# code is
public DataTable GetCTNInvoiceLoadGroupByLinkSource(string LinkType, int DepartmentTypeID, int InvoiceDateID, int UserID, bool showAll = false)
bool IsLinkTypeCostCentre = LinkType == "CostCentre" ? true : false;
var q1 = (from inv in db.InvoiceCTNs.AsNoTracking()
where inv.InvoiceDateID == InvoiceDateID && (DepartmentTypeID == 0 || inv.Department.DepartmentType
== DepartmentTypeID)
select inv);
if (!showAll)
q1 = (from inv in q1
join ulr in db.UserLinkRels.AsNoTracking() on new { ID = (isCostCentre ? inv.CostCentreID : inv.DepartmentID) } equals new { ID =
ulr.LinkID }
where ulr.UserID == UserID
select inv);
var q2 = (from inv in q1
join invCTNItem in db.InvoiceCTNItemiseds.AsNoTracking() on new { inv.MobileNumber, inv.InvoiceDateID } equals new { invCTNItem.MobileNumber,
invCTNItem.InvoiceDateID } into g_join
from invCTNItem in g_join.DefaultIfEmpty()
select new{inv,invCTNItem});
#region GroupBy
var InvoiceCTN_GroupBy = (from inv in q1
group inv by new { Description = (IsLinkTypeCostCentre
? inv.CostCentre.CostCentreDescription : inv.Department.DepartmentDescription), GUID = (IsLinkTypeCostCentre ? inv.CostCentre.CostCentreGUID : inv.Department.DepartmentGUID), ID = (IsLinkTypeCostCentre ? inv.CostCentreID : inv.DepartmentID) } into g
select new
GUID = g.Key.GUID,
Description
= g.Key.Description,
Count = g.Count(),
ProRata =
g.Sum(inv => inv.ProRata),
AgreedLineRental
= g.Sum(inv => inv.MonthLineRental),
TotalCost
= g.Sum(inv => inv.TotalCost)
var InvoiceCTNItemised_GroupBy = (from g in q2
group g.invCTNItem by new { Guid = (IsLinkTypeCostCentre ? g.inv.CostCentre.CostCentreGUID : g.inv.Department.DepartmentGUID) } into g
select new
GUID = g.Key.Guid,
EligibleSMS = g.Count(i => i.CallType == "SMS"),
TotalUsageCost = Math.Round((double)(g.Sum(i => (i.UsageCharge != null ? i.UsageCharge : default(decimal)))), 2),
EligibleData = Math.Round((double)(g.Sum(i => (i.DataVolume != null ? i.DataVolume : default(decimal)) / 1048576)), 2),
EligibleMinutes = Math.Round((double)(g.Sum(i => (i.Minutes != null ? i.Minutes : default(decimal)))), 2),
#endregion
var q_join = (from q_1 in InvoiceCTN_GroupBy
join q_2 in InvoiceCTNItemised_GroupBy
on q_1.GUID equals q_2.GUID into g
from q_2 in g.DefaultIfEmpty()
select new
GUID = q_1.GUID,
Description = q_1.Description,
Count = q_1.Count,
q_2.EligibleSMS,
q_1.ProRata,
q_1.AgreedLineRental,
q_2.TotalUsageCost,
q_1.TotalCost,
q_2.EligibleData,
q_2.EligibleMinutes
}).OrderByDescending(g => g.TotalCost);
return q_join.ToList().ToDataTable();Hello Rohit.sindhu90,
>> I am getting error The wait opertaion timed out but when i get run linq query to Sql it will run in 5 sec.
Could you please tell which line causes this exception and what the details exception message is? Currently, it is hard to know why you encounter the timeout exception.
>> And also tried with increasing timeout to 10*60.
Since it is not clear if you encounter the connection timeout:
https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectiontimeout(v=vs.110).aspx or command timeout:
https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.commandtimeout(v=vs.110).aspx, I suggest that you could both set them to be a longer value as 1800s. And from your provided code, your query is a complex query and if your data is
large, it may take more than 10*60 time. You could first reduce the amount of query data to see if it is caused by the amount of data is too large.
Regards.
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.
Click
HERE to participate the survey. -
Sockets - BufferedReader.read() operation time-out
Hi all,
I'm facing some problems to receive data over socket connection from a PC. I send data via BufferedWriter, but I have time-out error (IOException: Operation timed-out) and I can't see why it happens.
Here is part of my code:
StringBuffer strBuffer = new StringBuffer();
int charRead;
File xmlFile = null;
FileWriter fw = null;
try{
if(s != null){
bufReader = new BufferedReader(new InputStreamReader(s.getInputStream()));
xmlFile = new File(fileName);
if(xmlFile.exists())
xmlFile.delete();
xmlFile.createNewFile();
fw = new FileWriter(xmlFile);
}else{
connect();
//while((line = bufReader.readLine()) != null)
while((charRead = bufReader.read()) > -1)
strBuffer.append((char)charRead );
bufReader.close();
String writeString = strBuffer.substring(4);
if(fw == null){
setErroSocket(true);
setMsgErroSocket("I/O Error: Erro recebendo dados via Socket");
fw.write(writeString);
fw.flush();
}catch(IOException ioE){
setErroSocket(true);
setMsgErroSocket("I/O Error: " + ioE.getMessage());
return xmlFile;
If nore detailed information is need, please ask me.
Thanks for any help !Hi,
I believe I found where was the problem. I was a bit confused with setSoTimeout(), because I thought it set the limit of time for read bytes, but in fact it controls the limit of time that conection is off. Looking a little deeper in my code I saw that bytes are read, but the exception occurs the same way.
I just need to change some things because I need a permanent client socket on-line because I'll need constantly comunication with a server application (Delphi) running on a PC. I believe that I must start with changing my ClientSocket class into a Thread.
Thanks for your help ! -
IFS-21030 Database Operation time out
Hi everyone,
I really need help with this one. I try to search for a folder with a certain value for a custom attribute. It ALWAYS takes a very long time, but some times it returns successfully and sometimes it gives me a "Database Operation timed out" IFSException.
I tried to change the attribute setting to make it indexed, but it didn't help.
I'm using Oracle Files 9.0.2 (which, I think uses CM SDK 9.0.3, or at least this is the jar I'm using on the client side).
This doesn't happen with all folder queries, just the query where I use the
FolderRestrictQualification.setMultiLevel(true)
Can anyone help me with this?setMultiLevel(true) enables folder recursion, of course, which can be an expensive operation, depending on how many levels deep you need to go.
how many subfolders (and documents) are we talking about here?
.rich -
System I/O Operation Time-out
I am running iTunes 6.0.5 for Windows. When I try to sync to load about 200 songs on my iPod nano (1st generation)I get the error "The specified I/O operation on drive G: was not completed before the time-out period expired." If I am lucky I might get one or two songs downloaded to my iPod at a time. Any help that could be offered would be greatly appreciated.
I am running iTunes 6.0.5 for Windows. When I try to
sync to load about 200 songs on my iPod nano (1st
generation)I get the error "The specified I/O
operation on drive G: was not completed before the
time-out period expired." If I am lucky I might get
one or two songs downloaded to my iPod at a time.
Any help that could be offered would be greatly
appreciated.
Is the iPod Nano connected to a USB 2.0 port, or a USB 1.1 port? -
After successful deployment of my wcf service to staging or production I get the following message when I browse to the url:
<big>Network Error (tcp_error)</big>
A communication error occurred: "Operation timed out"
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
There is nothing to tell me what the problem could be. The service is running. However, the endpoint status is "down"
If I create a new wcf service and deploy it then it works fine, which leads me to believe that there is something wrong with the config file. Any ideas?some times this massage may be received because of the name resolution problem, so simply open your tnsnames.ora and listener.ora file and replace the HOST name with the IP address of the system where the oralce database has been installed. Thats it. Try it, good luck
ex: HOST = 192.1680.20 it my server IP address
check my tnsnames.ora and listener.ora files
# tnsnames.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.20)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oracle)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
# listener.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ORACLE)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.20)(PORT = 1521))
Edited by: 935918 on May 23, 2012 10:12 PM
Maybe you are looking for
-
I just backed up my mac to an external hard drive using Time Machine. What would happen if I turn Time Machine off and then plug the external hard drive back into my computer? What I am ultimately wanting to do is make more room on my computer by bac
-
On my HP Touchsmart 310 PC how do I increase the inactivity time on the display?
On my HP Touchsmart 310 PC how do I increase the inactivity time on the display? Windows 7, 64-bit
-
A magazine's app on my iPad has stopped working. When I open the Newsstand folder and click on the app, the screen dims briefly, then returns to the Newsstand folder. The other app in my Newsstand folder (Wall Street Journal) opens without any probl
-
Cash Management - does a current day bank statement feature available ?
My business uses the current day bank report downloaded from the bank (not the BAI format), for figuring out the projected cash outflows like cheques presented by suppliers in our bank. They are planning to implement Cash Management shortly. What fea
-
Dear all, many thanks for all the advice on installing iDVD. The software is back on my computer but the origginal problem stays: Whenever I attempt to "save as disk image" or click on "burn" the application "unexpctedly quits". Everything else goes