I am doing:
My.Computer.Net work.Ping("192. 168.0.1", 2000)
I often (but not always) get the following error:
System.Net.Netw orkInformation. PingException: An exception occurred during a
Ping request. ---System.AccessVi olationExceptio n: 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 5 5505
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.comsc hreef in bericht
news:13******** *****@corp.supe rnews.com...
>I am doing:
My.Computer.Net work.Ping("192. 168.0.1", 2000)
I often (but not always) get the following error:
System.Net.Netw orkInformation. PingException: An exception occurred during
a
Ping request. ---System.AccessVi olationExceptio n: 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
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.c omwrote in message
news:eQ******** ******@TK2MSFTN GP02.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.comsc hreef in bericht
news:13******** *****@corp.supe rnews.com...
>>I am doing:
My.Computer.Ne twork.Ping("192 .168.0.1", 2000)
I often (but not always) get the following error:
System.Net.Net workInformation .PingException: An exception occurred during a Ping request. ---System.AccessVi olationExceptio n: 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
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.comwr ote in message
news:13******** *****@corp.supe rnews.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.c omwrote in message
news:eQ******** ******@TK2MSFTN GP02.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.comsc hreef in bericht news:13******* ******@corp.sup ernews.com...
>>>I am doing:
My.Computer.N etwork.Ping("19 2.168.0.1", 2000)
I often (but not always) get the following error:
System.Net.Ne tworkInformatio n.PingException : An exception occurred during a Ping request. ---System.AccessVi olationExceptio n: 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
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.co mwrote in message
news:32******** *************** ***********@mic rosoft.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.comwr ote in message
news:13******** *****@corp.supe rnews.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.c omwrote in message news:eQ******* *******@TK2MSFT NGP02.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.comsc hreef in bericht news:13****** *******@corp.su pernews.com... I am doing:
My.Computer. Network.Ping("1 92.168.0.1", 2000)
I often (but not always) get the following error:
System.Net.N etworkInformati on.PingExceptio n: An exception occurred during a Ping request. ---System.AccessVi olationExceptio n: 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
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.comwr ote in message
news:13******** *****@corp.supe rnews.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.co mwrote in message
news:32******** *************** ***********@mic rosoft.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.comwr ote in message news:13******* ******@corp.sup ernews.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.c omwrote in message news:eQ****** ********@TK2MSF TNGP02.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.comsc hreef in bericht news:13***** ********@corp.s upernews.com... >I am doing: > My.Computer .Network.Ping(" 192.168.0.1", 2000) > I often (but not always) get the following error: > System.Net. NetworkInformat ion.PingExcepti on: An exception occurred during a Ping request. ---System.AccessVi olationExceptio n: 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 > > > > > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 going to use .Net......I highly recommend signing up for the free
KBAlertz newsletter at http://www.kbalertz.com/default.aspx.
Looking at all of the errors and quirks sometimes makes me wonder if this
thing is really ready for prime time.
|
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 properly to the cgi and
users get the message from IE that it "Cannot find server: The page cannot
be displayed The page you are looking for is currently unavailable. The Web
site might be experiencing technical difficulties, or you may need to...
|
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) ComboBox.SelectedValue = db_value;
If the db_value was not included in the ComboBox value list the
ComboBox.SelectedIndex used to return -1, Now the very same code is
|
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 page will not load into the control. On most occasions it is fine,
but when it happens we simply get the progress event pinging us infinitely.
I have included an event trace of two page loads. One that worked and one
that doesn't. As you can...
|
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 continuously at a
time interval. If it is impossible, please answer NO to my question.
That will help me to stop searching for this. Thank you.
| |
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 out"
If we ping to any other machines from thes two it's pinging,
with ip also it's not pinging. any solution plz.....
thanks in advance...
|
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) to see their currently status every 5 mins. What Protocol do I use and why?
|
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 asynchronous twisted-names for it
- in case there is a difference comparing to the list it should update
the list(then also in DB)
2) ICMP pings - should be also possible to do it asynchronously
3) Blocking function which will be pinging with SIP requests...
|
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 server online or server offline, i am trying to get this to happen every 15 seconds, i have tried loops etc but it freezes the app, i came across application.doevents which enabled the form to load without freezing. I was wondering if someone knows...
|
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 program.
|
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...
| |
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...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |