T
Taylor Brown
We have written an asynchronous download class that uses the WebRequest
to perform downloads. Things are working fine in-house, and it's fine
for the vast majority of our users, but there is an increasingly large
of people who are getting the following exception:
Exception Type: System.Net.Sockets.SocketException
ErrorCode: 10045
SocketErrorCode: OperationNotSupported
NativeErrorCode: 10045
Message: The attempted operation is not supported for the type of
object referenced
Doing a search on that phrase ("The attempted operation is not
supported for the type of object referenced") almost immediately led me
to this page: "How to determine and recover from Winsock2 corruption"
http://support.microsoft.com/kb/811259
Using the instructions on that page has worked for 100% of the users
with the problem! At first I though, "Great!" But now we're seeing a
lot of these, and I'm starting to think that since it's not that
isolated, it might not really be a true "problem" on their machines.
It might be a firewall program or some other incomptaibility. Have
other people seen this before? Do you know of something "innocuous"
that could be causing the SocketException?
Any hints, guesses, or shots in the dark would be greatly appreciated.
Many thanks,
Taylor
to perform downloads. Things are working fine in-house, and it's fine
for the vast majority of our users, but there is an increasingly large
of people who are getting the following exception:
Exception Type: System.Net.Sockets.SocketException
ErrorCode: 10045
SocketErrorCode: OperationNotSupported
NativeErrorCode: 10045
Message: The attempted operation is not supported for the type of
object referenced
Doing a search on that phrase ("The attempted operation is not
supported for the type of object referenced") almost immediately led me
to this page: "How to determine and recover from Winsock2 corruption"
http://support.microsoft.com/kb/811259
Using the instructions on that page has worked for 100% of the users
with the problem! At first I though, "Great!" But now we're seeing a
lot of these, and I'm starting to think that since it's not that
isolated, it might not really be a true "problem" on their machines.
It might be a firewall program or some other incomptaibility. Have
other people seen this before? Do you know of something "innocuous"
that could be causing the SocketException?
Any hints, guesses, or shots in the dark would be greatly appreciated.
Many thanks,
Taylor