microsoft.public.dotnet.framework - Microsoft .NET technology
When I'm Runung An insert Sql Stored procedure on SQL SERVER after some seconds this message is handled. I have tested this SP on Query Analyzer more and more,the execution time in Query Analyzer is about 45 seconds. But in my program , the progarm stop responding and then this exception thrown. the original message is: "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."
So using C#/ADO.NET and SQL Server 7.0 I recently ran into a bizarre problem. Queries would run fine--and fast--in Query Analyzer, but would timeout when running through ADO.NET. It wasn't all queries, just ones that returned a significant number of rows, say over 100. The code hadn't changed in a while, and I didn't upgrade the database recently, so it was pretty bizarre. I saw some postings around with others having a similar issue and no real solutions. Some suggested to bump up the timeout value in the connection string or SqlCommand object. That didn't work for me. Here's what I discovered: a recent automatic Windows update must have mucked with some db connection setting. To fix the problem, I used the SQL Server Client Network Utility, making sure the TCP/IP protocol was enabled and using port 1433. I also went to the alias tab, and for the alias I defined for my db I had to uncheck the "Dynamically determine port" checkbox and specify port 1433 explicitly. After I performed these steps the timeout problem went away.
I have a web service that makes a request to several different xml feeds. I am having problems with one in particular and the connection keeps reporting the following error: System.IO.IOException: Unable to read data from the transport connection. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host I have searched the net but cannot find out what this error is about. The code does not use a proxy, and keep alives are turned off. The server does not use a proxy either. The application is written in VB .NET 1.1, and the server is a Windows 2003 Standard Edition (fully patched). Thanks, Nigel
Hi, I have a large scale web application with about 200 users. Every few hours I get this error message: "The process cannot access the file c:\windows\temp\xxxxxxx.dll" (The xxxxx is a random characters) We are using ASP.NET 1.1 on Widnows 2003 SP1. Did anyone ever faced this issue?. I am clueless....