Welcome to MSDN Blogs Sign in | Join | Help

August 2008 - Posts

(provider: TCP Provider, error: 0 - Only one usage of each socket address (protocol/network address/port) is normally permitted.)

The scenario: You have an application (most likely this will happen with a webapplication) that connects and interacts with a server and all of a sudden there is no access to it. It seems to be gone because you get the following error: System.Data.SqlClient.SqlException:
Posted by maspeng | 0 Comments

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool.

The Scenario: Sometimes you might get the following errors letting you know that you have exhausted the connection pool even though you are under the impression that this should not be the case. --> In .Net 1.1 System.InvalidOperationException: Timeout
Posted by maspeng | 1 Comments
Filed under:

How to use a FileDsn in .Net

Another short one. I saw a question on how to use FileDsn’s in a .Net application. This may not be the most common scenario, but it can be done. I’ll show you how. This example will assume that you have an Access database located at C:\Temp. This Access
Posted by maspeng | 1 Comments
Filed under:
 
Page view tracker