Web服务器2012上的Ping.exe问题 [英] Problem with Ping.exe on Webserver 2012

查看:84
本文介绍了Web服务器2012上的Ping.exe问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的移植网站存在问题



用.net 2.0写的vb.net



我们需要通过使用来自Requestdata的ipaddress执行ping(选项-a)来识别呼叫者







迁移到Windows Server 2012后,这将无法运行







I have a problem with our migrated website

It's written in .net 2.0 with vb.net

We need to identify callers by executing a ping (option -a) with the ipaddress from Requestdata



After migration to Windows Server 2012 this won't work



Dim objProcess As System.Diagnostics.Process = New System.Diagnostics.Process()
    objProcess.EnableRaisingEvents = False
    objProcess.StartInfo.FileName = "ping.exe"
    objProcess.StartInfo.Arguments = "-a 192.168.0.15 -n 1"
    objProcess.StartInfo.UseShellExecute = False
    objProcess.StartInfo.RedirectStandardOutput = True
    objProcess.Start()
    strNameWithDomain = objProcess.StandardOutput.ReadToEnd()







这个电话的答案如下:



无法联系IP驱动程序。一般失败。





通过命令提示调用ping手动按预期工作。







有什么想法吗?




The answer of this call is as follows:

Unable to contact IP driver. General failure.


Calling ping via command prompt manually works as expected.



Any ideas?

推荐答案

这似乎是一个重复的SID问题。联系您的系统管理员并寻求帮助。
This probably seems a Duplicate SID issue. Contact Your System Administrator and ask for assistance.


这篇关于Web服务器2012上的Ping.exe问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆