473,395 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Problems when pinging

I am doing:

My.Computer.Network.Ping("192.168.0.1", 2000)

I often (but not always) get the following error:

System.Net.NetworkInformation.PingException: An exception occurred during a
Ping request. ---System.AccessViolationException: Attempted to read or
write protected memory. This is often an indication that other memory is
corrupt.

I see several references to this on Google and also a claimed fix from
Microsoft, but this fix didn't work. I get the following:

"The upgrade patch cannot be installed by the windows installer service
because the program to be upgraded may be missing, or the upgrade patch may
update a different version of the program."
The refence for this fix is here: http://support.microsoft.com/kb/923028

I am running .NET 2.0 and VB2005, which is exactly what is required by the
fix.

If I download .NET 3.5, how do I tell my VB application to use this instead
of 2.0? I can't find a reference to the version of .NET in the IDE.

-Jerry

Jan 27 '08 #1
5 5492
Hello Jerry,

There is ofcourse also the posibility that your memory banks are not in such
a good state as you might believe ( hardware flaw )
so i would say test it also on another computer first and / or run memtest
386 to be sure http://support.dunaweb.hu/UTIL/memtest386/?C=M;O=A
If I download .NET 3.5, how do I tell my VB application to use this
instead
of 2.0? I can't find a reference to the version of .NET in the IDE.
AFAIK : you can only do this with VS.net 2008 there you have the option to
use the 2.0 or 3.5 framework ( advanced compile options )


"Jerry Spence1" <12*@dfgh.comschreef in bericht
news:13*************@corp.supernews.com...
>I am doing:

My.Computer.Network.Ping("192.168.0.1", 2000)

I often (but not always) get the following error:

System.Net.NetworkInformation.PingException: An exception occurred during
a
Ping request. ---System.AccessViolationException: Attempted to read or
write protected memory. This is often an indication that other memory is
corrupt.

I see several references to this on Google and also a claimed fix from
Microsoft, but this fix didn't work. I get the following:

"The upgrade patch cannot be installed by the windows installer service
because the program to be upgraded may be missing, or the upgrade patch
may
update a different version of the program."
The refence for this fix is here: http://support.microsoft.com/kb/923028

I am running .NET 2.0 and VB2005, which is exactly what is required by the
fix.

If I download .NET 3.5, how do I tell my VB application to use this
instead
of 2.0? I can't find a reference to the version of .NET in the IDE.

-Jerry



Jan 27 '08 #2
Thanks Michel. I sould have mentioned that this happens on a number of
production PCs as well, and I was going to ask also if this patch should be
applied to all the target PC's or just the one the code is developed on. The
Microsoft artcle doesn't make this clear.

So on VB2005, does it automatically use the latest version of .NET it finds
installed? If I put 3.5 on the target PC, does it automatically use this, or
will it always use the same version as I compiled on?

-Jerry
"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:eQ**************@TK2MSFTNGP02.phx.gbl...
Hello Jerry,

There is ofcourse also the posibility that your memory banks are not in
such a good state as you might believe ( hardware flaw )
so i would say test it also on another computer first and / or run
memtest 386 to be sure http://support.dunaweb.hu/UTIL/memtest386/?C=M;O=A
>If I download .NET 3.5, how do I tell my VB application to use this
instead
of 2.0? I can't find a reference to the version of .NET in the IDE.

AFAIK : you can only do this with VS.net 2008 there you have the option to
use the 2.0 or 3.5 framework ( advanced compile options )


"Jerry Spence1" <12*@dfgh.comschreef in bericht
news:13*************@corp.supernews.com...
>>I am doing:

My.Computer.Network.Ping("192.168.0.1", 2000)

I often (but not always) get the following error:

System.Net.NetworkInformation.PingException: An exception occurred during
a
Ping request. ---System.AccessViolationException: Attempted to read or
write protected memory. This is often an indication that other memory is
corrupt.

I see several references to this on Google and also a claimed fix from
Microsoft, but this fix didn't work. I get the following:

"The upgrade patch cannot be installed by the windows installer service
because the program to be upgraded may be missing, or the upgrade patch
may
update a different version of the program."
The refence for this fix is here: http://support.microsoft.com/kb/923028

I am running .NET 2.0 and VB2005, which is exactly what is required by
the
fix.

If I download .NET 3.5, how do I tell my VB application to use this
instead
of 2.0? I can't find a reference to the version of .NET in the IDE.

-Jerry




Jan 27 '08 #3
Hi Jerry,

First of, the KB article you referred to, is included in .NET 2.0 SP1. So
if you have 2.0 SP1 you don't need the hotfix. That's probably why it isn't
installing for you.

As to 3.5, well 3.5 is 2.0 SP1 really, and then added features such as LINQ
libraries, WPF, WCF, Cardspace and Workflow libraries. The runtime is still
the CLR version 2, and the 2.0 SP1 libraries are the same. So installing
3.5 will not change anything for a 2.0 SP1 application at all.


"Jerry Spence1" <12*@dfgh.comwrote in message
news:13*************@corp.supernews.com...
Thanks Michel. I sould have mentioned that this happens on a number of
production PCs as well, and I was going to ask also if this patch should
be applied to all the target PC's or just the one the code is developed
on. The Microsoft artcle doesn't make this clear.

So on VB2005, does it automatically use the latest version of .NET it
finds installed? If I put 3.5 on the target PC, does it automatically use
this, or will it always use the same version as I compiled on?

-Jerry
"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:eQ**************@TK2MSFTNGP02.phx.gbl...
>Hello Jerry,

There is ofcourse also the posibility that your memory banks are not in
such a good state as you might believe ( hardware flaw )
so i would say test it also on another computer first and / or run
memtest 386 to be sure http://support.dunaweb.hu/UTIL/memtest386/?C=M;O=A
>>If I download .NET 3.5, how do I tell my VB application to use this
instead
of 2.0? I can't find a reference to the version of .NET in the IDE.

AFAIK : you can only do this with VS.net 2008 there you have the option
to use the 2.0 or 3.5 framework ( advanced compile options )


"Jerry Spence1" <12*@dfgh.comschreef in bericht
news:13*************@corp.supernews.com...
>>>I am doing:

My.Computer.Network.Ping("192.168.0.1", 2000)

I often (but not always) get the following error:

System.Net.NetworkInformation.PingException: An exception occurred
during a
Ping request. ---System.AccessViolationException: Attempted to read or
write protected memory. This is often an indication that other memory is
corrupt.

I see several references to this on Google and also a claimed fix from
Microsoft, but this fix didn't work. I get the following:

"The upgrade patch cannot be installed by the windows installer service
because the program to be upgraded may be missing, or the upgrade patch
may
update a different version of the program."
The refence for this fix is here: http://support.microsoft.com/kb/923028

I am running .NET 2.0 and VB2005, which is exactly what is required by
the
fix.

If I download .NET 3.5, how do I tell my VB application to use this
instead
of 2.0? I can't find a reference to the version of .NET in the IDE.

-Jerry




Jan 28 '08 #4
Thanks Bill. I've upgraded to SP1 but unfortunately the problem still
exists. I guess this is a Microsoft Bug. Do Microsoft read this news group?

-Jerry

"Bill McCarthy" <Bi**@NOSPAM.comwrote in message
news:32**********************************@microsof t.com...
Hi Jerry,

First of, the KB article you referred to, is included in .NET 2.0 SP1. So
if you have 2.0 SP1 you don't need the hotfix. That's probably why it
isn't installing for you.

As to 3.5, well 3.5 is 2.0 SP1 really, and then added features such as
LINQ libraries, WPF, WCF, Cardspace and Workflow libraries. The runtime
is still the CLR version 2, and the 2.0 SP1 libraries are the same. So
installing 3.5 will not change anything for a 2.0 SP1 application at all.


"Jerry Spence1" <12*@dfgh.comwrote in message
news:13*************@corp.supernews.com...
>Thanks Michel. I sould have mentioned that this happens on a number of
production PCs as well, and I was going to ask also if this patch should
be applied to all the target PC's or just the one the code is developed
on. The Microsoft artcle doesn't make this clear.

So on VB2005, does it automatically use the latest version of .NET it
finds installed? If I put 3.5 on the target PC, does it automatically use
this, or will it always use the same version as I compiled on?

-Jerry
"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:eQ**************@TK2MSFTNGP02.phx.gbl...
>>Hello Jerry,

There is ofcourse also the posibility that your memory banks are not in
such a good state as you might believe ( hardware flaw )
so i would say test it also on another computer first and / or run
memtest 386 to be sure
http://support.dunaweb.hu/UTIL/memtest386/?C=M;O=A

If I download .NET 3.5, how do I tell my VB application to use this
instead
of 2.0? I can't find a reference to the version of .NET in the IDE.

AFAIK : you can only do this with VS.net 2008 there you have the option
to use the 2.0 or 3.5 framework ( advanced compile options )


"Jerry Spence1" <12*@dfgh.comschreef in bericht
news:13*************@corp.supernews.com...
I am doing:

My.Computer.Network.Ping("192.168.0.1", 2000)

I often (but not always) get the following error:

System.Net.NetworkInformation.PingException: An exception occurred
during a
Ping request. ---System.AccessViolationException: Attempted to read
or
write protected memory. This is often an indication that other memory
is
corrupt.

I see several references to this on Google and also a claimed fix from
Microsoft, but this fix didn't work. I get the following:

"The upgrade patch cannot be installed by the windows installer service
because the program to be upgraded may be missing, or the upgrade patch
may
update a different version of the program."
The refence for this fix is here:
http://support.microsoft.com/kb/923028

I am running .NET 2.0 and VB2005, which is exactly what is required by
the
fix.

If I download .NET 3.5, how do I tell my VB application to use this
instead
of 2.0? I can't find a reference to the version of .NET in the IDE.

-Jerry




Jan 29 '08 #5
It appears they do, but that may only be for MSDN subscribers ?? What I
would suggest is you report it as a bug, in the new bug feedback forum:
http://forums.microsoft.com/MSDN/Sho...=2008&SiteID=1
Although it doesn't look like anyone responds at all in there yet ;)

In the meantime, I'd suggest wrapping your Ping calling into a separate
function with a Try Catch block around the Ping call, and perhaps a loop for
a number of retries. Sorry can't be of more help.

"Jerry Spence1" <12*@dfgh.comwrote in message
news:13*************@corp.supernews.com...
Thanks Bill. I've upgraded to SP1 but unfortunately the problem still
exists. I guess this is a Microsoft Bug. Do Microsoft read this news
group?

-Jerry

"Bill McCarthy" <Bi**@NOSPAM.comwrote in message
news:32**********************************@microsof t.com...
>Hi Jerry,

First of, the KB article you referred to, is included in .NET 2.0 SP1.
So if you have 2.0 SP1 you don't need the hotfix. That's probably why it
isn't installing for you.

As to 3.5, well 3.5 is 2.0 SP1 really, and then added features such as
LINQ libraries, WPF, WCF, Cardspace and Workflow libraries. The runtime
is still the CLR version 2, and the 2.0 SP1 libraries are the same. So
installing 3.5 will not change anything for a 2.0 SP1 application at all.


"Jerry Spence1" <12*@dfgh.comwrote in message
news:13*************@corp.supernews.com...
>>Thanks Michel. I sould have mentioned that this happens on a number of
production PCs as well, and I was going to ask also if this patch should
be applied to all the target PC's or just the one the code is developed
on. The Microsoft artcle doesn't make this clear.

So on VB2005, does it automatically use the latest version of .NET it
finds installed? If I put 3.5 on the target PC, does it automatically
use this, or will it always use the same version as I compiled on?

-Jerry
"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:eQ**************@TK2MSFTNGP02.phx.gbl...
Hello Jerry,

There is ofcourse also the posibility that your memory banks are not in
such a good state as you might believe ( hardware flaw )
so i would say test it also on another computer first and / or run
memtest 386 to be sure
http://support.dunaweb.hu/UTIL/memtest386/?C=M;O=A

If I download .NET 3.5, how do I tell my VB application to use this
instead
of 2.0? I can't find a reference to the version of .NET in the IDE.

AFAIK : you can only do this with VS.net 2008 there you have the option
to use the 2.0 or 3.5 framework ( advanced compile options )


"Jerry Spence1" <12*@dfgh.comschreef in bericht
news:13*************@corp.supernews.com...
>I am doing:
>
My.Computer.Network.Ping("192.168.0.1", 2000)
>
I often (but not always) get the following error:
>
System.Net.NetworkInformation.PingException: An exception occurred
during a
Ping request. ---System.AccessViolationException: Attempted to read
or
write protected memory. This is often an indication that other memory
is
corrupt.
>
I see several references to this on Google and also a claimed fix from
Microsoft, but this fix didn't work. I get the following:
>
"The upgrade patch cannot be installed by the windows installer
service
because the program to be upgraded may be missing, or the upgrade
patch may
update a different version of the program."
The refence for this fix is here:
http://support.microsoft.com/kb/923028
>
I am running .NET 2.0 and VB2005, which is exactly what is required by
the
fix.
>
If I download .NET 3.5, how do I tell my VB application to use this
instead
of 2.0? I can't find a reference to the version of .NET in the IDE.
>
-Jerry
>
>
>
>
>


Jan 29 '08 #6

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

Similar topics

14
by: Jim Hubbard | last post by:
Are you up to speed on the difficulties in using the 1.1 .Net framework? Not if you are unaware of the 1,596 issues listed at KBAlertz (http://www.kbalertz.com/technology_3.aspx). If you are...
5
by: Tyler Style | last post by:
Hullo - looking for a little advice here. I have a form on a page in one domain submitting to a cgi in another domain. Weirdly, on some Windows XP systems, a form on the page fails to submit/post...
10
by: BBFrost | last post by:
We just recently moved one of our major c# apps from VS Net 2002 to VS Net 2003. At first things were looking ok, now problems are starting to appear. So far ... (1) ...
0
by: SPG | last post by:
Hi, We are using the AxSHDocVw.AxWebBroswer control in our C# app. (It is the standard I net active X I think). Anyhow, we are experiencing some odd behaviour. Every now and then we find that a...
0
by: Cat | last post by:
Hello. Is it POSSIBLE to get notified when the machine is connected to the internet or disconnected from the internet? I mean, using .NET class not using Windows API. Other than pinging a website...
1
by: nethajireddy | last post by:
Hello techies In my office network all pc's are pinging and only two pc's let named as A and B, other are c,d.... if we ping A to B or B to A the result is "request time...
2
by: patelxxx | last post by:
Which Protocol do I use, when 'Pinging a server'? I am going to set up a Server status area on our companys website (sits on server A), the PERL coding will PING two other servers (server B & C)...
0
by: Ladislav Andel | last post by:
Hi, I'm writing an application which will be periodically testing servers. I will have a global list of these servers(domain names) and need to do few tasks. 1) DNS checks - I will use...
4
by: Asprisa | last post by:
Hi Guys, I am developing a small app just to check our servers are still online, at the moment i have got the my.computer.network.ping pinging 12 of our servers and changing a label to say either...
3
by: Prasanth | last post by:
I tried pinging a machine from python using socket programming but could not do it. Is there any module which we can use to ping the machine < like net::ping in perlor can you give me simple...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...

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.