M
Matt Sollars
I've exhausted all other avenues with this problem. Any help would be
greatly appreciated.
I am performing a simple POST via a HttpWebRequest object to an SSL URL
(https://). I have attempted this to several different addresses with no
luck. I've tried to supply a new ICertificatePolicy to the
ServicePointManager as well. The oddity of the error that I'm receiving is
it's happening before any data is even sent.
Note: This code works wonderfully from within a console application. The
moment it is executed from a web application, it fails. I've tried
impersonation as well with no luck.
--------------------------
HttpWebRequest WebRequest =
(HttpWebRequest)System.Net.WebRequest.Create("https://www.anywherewithsslsup
port.com");
WebRequest.KeepAlive = true;
WebRequest.ContentType = "application/x-www-form-urlencoded";
WebRequest.Method = "POST";
WebRequest.AllowAutoRedirect = false;
string Data = "anything=really&itdoesnot=matter&whatever=willfail";
WebRequest.ContentLength = Data.Length;
System.IO.Stream RequestStream = WebRequest.GetRequestStream();
--------------------------
The error occurs on the last line of the above code with the following error
message:
System.EntryPointNotFoundException: Unable to find an entry point named
EnumerateSecurityPackagesW in DLL security.dll.
I'm stumped. Can anyone shed some light on this error? It happens on the
both computers that I've tested it on. Both are Win2K with .NET 1.1.
Thank you in advance,
--
Matt Sollars
(e-mail address removed)
-------------------
The Hypersite Network
2002 N. Salisbury Blvd.
Suite C
Salisbury, Maryland 21801
T: 410.749.2000
F: 410.219.3400
http://www.hypersite.net
greatly appreciated.
I am performing a simple POST via a HttpWebRequest object to an SSL URL
(https://). I have attempted this to several different addresses with no
luck. I've tried to supply a new ICertificatePolicy to the
ServicePointManager as well. The oddity of the error that I'm receiving is
it's happening before any data is even sent.
Note: This code works wonderfully from within a console application. The
moment it is executed from a web application, it fails. I've tried
impersonation as well with no luck.
--------------------------
HttpWebRequest WebRequest =
(HttpWebRequest)System.Net.WebRequest.Create("https://www.anywherewithsslsup
port.com");
WebRequest.KeepAlive = true;
WebRequest.ContentType = "application/x-www-form-urlencoded";
WebRequest.Method = "POST";
WebRequest.AllowAutoRedirect = false;
string Data = "anything=really&itdoesnot=matter&whatever=willfail";
WebRequest.ContentLength = Data.Length;
System.IO.Stream RequestStream = WebRequest.GetRequestStream();
--------------------------
The error occurs on the last line of the above code with the following error
message:
System.EntryPointNotFoundException: Unable to find an entry point named
EnumerateSecurityPackagesW in DLL security.dll.
I'm stumped. Can anyone shed some light on this error? It happens on the
both computers that I've tested it on. Both are Win2K with .NET 1.1.
Thank you in advance,
--
Matt Sollars
(e-mail address removed)
-------------------
The Hypersite Network
2002 N. Salisbury Blvd.
Suite C
Salisbury, Maryland 21801
T: 410.749.2000
F: 410.219.3400
http://www.hypersite.net