J
JS
All,
I have been working on a windows service that with retrieve XML files
from remote sites at a predetermined frequency. I am using the
WebClient class to retrieve any XML files located on web servers. When
I execute a call to each remote source in linear progression I
encounter no problems. If I execute the service with only one remote
source identified I encounter no problems. It is only when I try to
execute the service with multiple sources identified that I encounter
the problem.
After the threading was incorporated I started receiving the following
error:
"Non-negative number required.
Parameter name: byteCount"
"byteCount" is not a variable that I have declared and after a
combination of online research and a thorough application review I have
determined that this variable is part of the framework itself.
I have tried implementing synchronization using the Mutex class with no
success. I have also tried the various solutions (delegation, etc.)
identified in the newsgroups posted in response to similar issues to
the one I am encountering with no avail.
Could someone please provide me with some guidance on this issue? I
have spent more time than I would like on this issue and would like to
get past it before it costs me my sanity. I can provide a working
sample of the issue if required just let me know.
Thanks in advance.
JS.
I have been working on a windows service that with retrieve XML files
from remote sites at a predetermined frequency. I am using the
WebClient class to retrieve any XML files located on web servers. When
I execute a call to each remote source in linear progression I
encounter no problems. If I execute the service with only one remote
source identified I encounter no problems. It is only when I try to
execute the service with multiple sources identified that I encounter
the problem.
After the threading was incorporated I started receiving the following
error:
"Non-negative number required.
Parameter name: byteCount"
"byteCount" is not a variable that I have declared and after a
combination of online research and a thorough application review I have
determined that this variable is part of the framework itself.
I have tried implementing synchronization using the Mutex class with no
success. I have also tried the various solutions (delegation, etc.)
identified in the newsgroups posted in response to similar issues to
the one I am encountering with no avail.
Could someone please provide me with some guidance on this issue? I
have spent more time than I would like on this issue and would like to
get past it before it costs me my sanity. I can provide a working
sample of the issue if required just let me know.
Thanks in advance.
JS.