Re: An existing connection was forcibly closed by (General questions)
Hi Damba,
I am getting the following error When I try to use certificate in our web application.
Error is The system cannot find the file specified .
But actually file is in that location.
Code:
Dim cert As System.Security.Cryptography.X509Certificates.X509Certificate2
Dim strCertPath As String = System.Configuration.ConfigurationSettings.AppSettings.Item( CertFilePath )
cert = New System.Security.Cryptography.X509Certificates.X509Certificate2
cert.Import( C: mp0000001.p12 , ftpstest , System.Security.Cryptography.X509Certificates.X509KeyStorageFlags.Exportable)
ftps1.Certificate = cert
ftps1.Authentication = WeOnlyDo.Client.Authentications.Both
error is on cert.Import line
Complete thread:
- An existing connection was forcibly closed by the - Tamil, 2008-12-18, 12:27
- Re: An existing connection was forcibly closed by - wodDamir, 2008-12-18, 12:48
- Re: An existing connection was forcibly closed by - tamil, 2008-12-18, 12:53
- Re: An existing connection was forcibly closed by - tamil, 2008-12-18, 12:56
- Re: An existing connection was forcibly closed by - tamil, 2008-12-18, 12:59
- Re: An existing connection was forcibly closed by - wodDamir, 2008-12-18, 13:26
- Re: An existing connection was forcibly closed by - tamil, 2008-12-19, 06:35
- Re: An existing connection was forcibly closed by - wodDamir, 2008-12-19, 08:31
- Re: An existing connection was forcibly closed by - tamil, 2008-12-22, 07:48
- Re: An existing connection was forcibly closed by - woddrazen, 2008-12-22, 09:32
- Re: An existing connection was forcibly closed by - tamil, 2008-12-22, 10:09
- Re: An existing connection was forcibly closed by - tamil, 2008-12-22, 10:21
- Re: An existing connection was forcibly closed by - tamil, 2008-12-22, 11:13
- Re: An existing connection was forcibly closed by - woddrazen, 2008-12-22, 11:45
- Re: An existing connection was forcibly closed by - tamil, 2008-12-22, 12:47
- Re: An existing connection was forcibly closed by - tamil, 2008-12-29, 07:10
- Re: An existing connection was forcibly closed by - woddrazen, 2008-12-29, 09:52
- Re: An existing connection was forcibly closed by - tamil, 2008-12-29, 10:22
- Re: An existing connection was forcibly closed by - woddrazen, 2008-12-29, 11:23
- Re: An existing connection was forcibly closed by - tamil, 2008-12-29, 12:32
- Re: An existing connection was forcibly closed by - woddrazen, 2008-12-29, 15:35
- Re: An existing connection was forcibly closed by - tamil, 2008-12-29, 12:32
- Re: An existing connection was forcibly closed by - woddrazen, 2008-12-29, 11:23
- Re: An existing connection was forcibly closed by - tamil, 2008-12-29, 10:22
- Re: An existing connection was forcibly closed by - woddrazen, 2008-12-29, 09:52
- Re: An existing connection was forcibly closed by - tamil, 2008-12-29, 07:10
- Re: An existing connection was forcibly closed by - tamil, 2008-12-22, 12:47
- Re: An existing connection was forcibly closed by - woddrazen, 2008-12-22, 11:45
- Re: An existing connection was forcibly closed by - tamil, 2008-12-22, 11:13
- Re: An existing connection was forcibly closed by - tamil, 2008-12-22, 10:21
- Re: An existing connection was forcibly closed by - tamil, 2008-12-22, 10:09
- Re: An existing connection was forcibly closed by - woddrazen, 2008-12-22, 09:32
- Re: An existing connection was forcibly closed by - tamil, 2008-12-22, 07:48
- Re: An existing connection was forcibly closed by - wodDamir, 2008-12-19, 08:31
- Re: An existing connection was forcibly closed by - tamil, 2008-12-19, 06:35
- Re: An existing connection was forcibly closed by - wodDamir, 2008-12-18, 13:26
- Re: An existing connection was forcibly closed by - tamil, 2008-12-18, 12:59
- Re: An existing connection was forcibly closed by - tamil, 2008-12-18, 12:56
- Re: An existing connection was forcibly closed by - tamil, 2008-12-18, 12:53
- Re: An existing connection was forcibly closed by - wodDamir, 2008-12-18, 12:48