473,695 Members | 2,708 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

win2k3 sp1 causes System.Net.WebC lient.OpenRead to throw WebExcept

Hi

I've installed win2k3 sp1 on a machine where an openRead on any given file
was previously working. After installation, I get a webException as follows...

..message "An exception occurred during a webclient request"
.._Hresult = "-2146233079"
.._COMPlusExcep tionCode ="-532459699"

Sorry I don't have the whole error, but this seems to be the only pertinent
info it contained.

If I remove the service pack, the problem goes away.

The request doesn't show up in the IIS logs, nor is it seen by a http proxy
such as fiddler.

Is this something to do with the changed com+ security with sp1 ? and if so,
how would I turn this off ?

If there is a better place to post this question, then please let me know
where.

Thanks in advance for any help.

Nov 22 '05 #1
11 7138
Hi

We have reviewed this issue and are currently researching on it. We will
update you ASAP. Thanks for your patience!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 22 '05 #2
Hi,

I would like to confirm if the Windows 2003 is working on the server or
client? Do you mean that the Service Pack 1 was applied to the server side,
so OpenRead from the client stopped working?

If so, is that reproed if you change to another server also with SP1
applied? It would be helpful if you can provide me with the whole call
stack here. Thanks!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 22 '05 #3
Hi Kevin

Sorry for the delay in getting back to you.

I have win2k3 on both server and client.
I have two servers where i see the problem. One with SP1 installed, and one
without.
The problem seems to be with the sp1 on the client. If the client has sp1
installed then the OpenRead produces the error. If you then uninstall sp1 on
the client, the problem goes away.

Hope this helps.

Thanks for helping with this issue.

"Kevin Yu [MSFT]" wrote:
Hi,

I would like to confirm if the Windows 2003 is working on the server or
client? Do you mean that the Service Pack 1 was applied to the server side,
so OpenRead from the client stopped working?

If so, is that reproed if you change to another server also with SP1
applied? It would be helpful if you can provide me with the whole call
stack here. Thanks!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 22 '05 #4
Hi,

Looking at the nature of this issue, it would require intensive
troubleshooting which would be done quickly and effectively with direct
assistance from a Microsoft Support Professional through Microsoft Product
Support Services. You can contact Microsoft Product Support directly to
discuss additional support options you may have available, by contacting us

http://support.microsoft.com/default...;OfferProPhone

If this is a product issue, they will assist you free of charge. Thanks for
your understanding.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 22 '05 #5
Hi again.

I think before i take this further, i'll create a little test app that does
nothing but an OpenRead on a file, and see if that app gets the same error
when run on a client PC with win2k3 and sp1.

If it works as expected, then the problem must be caused by some additional
'thing' that my real world app is doing that the simple test app isn't doing.

I'll post the results here anyway, just for the record.

"Kevin Yu [MSFT]" wrote:
Hi,

Looking at the nature of this issue, it would require intensive
troubleshooting which would be done quickly and effectively with direct
assistance from a Microsoft Support Professional through Microsoft Product
Support Services. You can contact Microsoft Product Support directly to
discuss additional support options you may have available, by contacting us

http://support.microsoft.com/default...;OfferProPhone

If this is a product issue, they will assist you free of charge. Thanks for
your understanding.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 22 '05 #6
Hi,

Yes, I agree with you. Please feel free to let me know, if your test code
works as expected. Then we can try to analyze the other parts of the code.
Thanks!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 22 '05 #7
OK, will do.

It may take me a day or two to get to it. :-(

I'll post the results here.

Thanks again for you help.
"Kevin Yu [MSFT]" wrote:
Hi,

Yes, I agree with you. Please feel free to let me know, if your test code
works as expected. Then we can try to analyze the other parts of the code.
Thanks!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 22 '05 #8
You're welcome, please post to this thread after a day or two, and I will
follow it up.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 22 '05 #9
Hello,

I'm writing a small mining application in c#, and it happens to me too. I
have XP SP2, with all the updates. WebClient throws an
ArgumentOutOfRa ngeException: non-negative number required and then complains
about parameter count in System.IO.FileS tream.Write. It happens while using
WebClient.Downl oadFile.

Any thoughts?
Nov 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6216
by: Seymen Ertas | last post by:
Hi, I don't know if this is the correct place to post this but i am having a little problem with the OpenRead function of the WebClient. Below is the code i am trying to get it to work: WebClient Client = new WebClient(); Stream strm = Client.OpenRead("http://something.jsp?user=username");
0
1979
by: Helen Abell | last post by:
Hi, I am trying to use a .Net WebClient object to read data from a url, but I am getting the following error: System.Net.HttpWebRequest.CheckFinalStatus() System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) System.Net.HttpWebRequest.GetResponse() System.Net.WebClient.OpenRead(String address)
0
1346
by: JohnBatte | last post by:
I have an UpdateDownloader class I'm working on to download software updates from a file server and report download progress to the user interface. It all works quite well, but I wish I could resume a download that has been broken. A lot of our end users are not so techno-savvy and most likely will have low-end connections, so interruptions are a distinct possibility. Is there any way to get a stream back from the URI that supports seeking? ...
0
1565
by: michael | last post by:
So I have a fairly large VB.Net application, lots of objects, lots of yucky OLEDB code. One day I started converting some Singles to Decimals because I wanted to make some calculations as precise as possible. Then I started getting System.ExecutionEngineException's in a harmless little function that does some simple arithemetic on Decimals. I switched them back to Singles and now everything works fine again. To make matters worse...
11
942
by: ptass | last post by:
Hi I've installed win2k3 sp1 on a machine where an openRead on any given file was previously working. After installation, I get a webException as follows... ..message "An exception occurred during a webclient request" .._Hresult = "-2146233079" .._COMPlusExceptionCode ="-532459699" Sorry I don't have the whole error, but this seems to be the only pertinent
1
7141
by: Tim Mulholland | last post by:
I have an application that uses an external C(?) Dll and it seems like after I make a specific call to that dll the application will crash at a random call to the dll in the future. It sometimes crashes the next call after said call, while sometimes it doesn't crash for 5 minutes; but it always crashes. As long as I don't call tira_get_captured_data it doesn't crash so I am assuming that is the cause. I get a...
0
3422
by: nima | last post by:
Hi I have two tables in my database. PRODUCT and PRODUCT_GROUP. PRODUCT has a foreign key to PRODUCT_GROUP. I generated a typed dataset using VS.net and added a relationship between the two tables. When I call my get WebMethod for the PRODUCT table I get the System.Data.ConstraintException exception. The get WebMethod for PRODUCT_GROUP works fine. When I remove the relationship the get WebMethod for PRODUCT works fine too. Both tables...
6
1902
by: Able | last post by:
Dear friends I have some drawing commands in the Form1_paint event. It works pretty well. The drawing gets redrawn when the window is resized. It gets redrawn after I minizie the window and bring it back. But when I bring another application to the foreground and drag it across my graphics window or let my window come to foreground again the program crashes. This errormsg occurs at "Public Class Form1":
2
2474
by: google | last post by:
I statically link the Synopsys Milkyway C-API library ("MDA") into my C++ application. When my C++ application throws an exception, it seg faults instead. The details of my environment are: x86 (Pentium) CPU or AMD x86_64 (Opteron) Red Hat Enterprise Linux 3 OS gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-54) Also reproduced with gcc version 3.3.2
0
1972
by: Mike | last post by:
Hi, I have a collection object bound to a data grid, after I remove an item from the collection, the minute I click on the datagrid I get an error saying the specified argument was out of the range of valid values. After I remove the element from the collection I clear the databindings from the data grid and rebind it but as far as I can tell the collection seems to be the right size but for some reason when I
0
8619
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9112
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8975
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8826
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7652
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4338
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4575
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2996
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2261
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.