Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vb.net System.Runtime.InteropServices.COMException(0x80072EE2):操作超时HResult=-2147012889_Vb.net_Oracle_Web Services_Soap_Vbscript - Fatal编程技术网

Vb.net System.Runtime.InteropServices.COMException(0x80072EE2):操作超时HResult=-2147012889

Vb.net System.Runtime.InteropServices.COMException(0x80072EE2):操作超时HResult=-2147012889,vb.net,oracle,web-services,soap,vbscript,Vb.net,Oracle,Web Services,Soap,Vbscript,我有一个奇怪的在这里 我已经使用经典的vbscript构建了一个小型vb.net应用程序,用于按需通过Oracle CRM发送Soap字符串 在我的机器上,或者在没有连接到VPN或公司网络的任何其他机器上,一切都非常正常 因此,当我尝试在公司网络上的另一台机器上运行应用程序时,我得到以下错误: ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80072EE2):

我有一个奇怪的在这里

我已经使用经典的vbscript构建了一个小型vb.net应用程序,用于按需通过Oracle CRM发送Soap字符串

在我的机器上,或者在没有连接到VPN或公司网络的任何其他机器上,一切都非常正常

因此,当我尝试在公司网络上的另一台机器上运行应用程序时,我得到以下错误:

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80072EE2): The operation timed out

   at Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
   at App.OutlookSync.ProcessCalendar(Object objCalendar) in C:\Users\xxxxxx\Documents\Visual Studio 2010\Projects\CRMSync\CRMSync\Form1.vb:line 150
   at App.OutlookSync.btn4_Click(Object sender, EventArgs e) in C:\Users\xxxxxx\Documents\Visual Studio 2010\Projects\CRMSync\CRMSync\Form1.vb:line 2061
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18052 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
CRMSync
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Apps/CRMSync.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 11.0.50709.17929 built by: FX45RTMREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18034 built by: FX45RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18047 built by: FX45RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Microsoft.Office.Interop.Outlook
    Assembly Version: 14.0.0.0
    Win32 Version: 14.0.4760.1000
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/Microsoft.Office.Interop.Outlook/14.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Outlook.dll
----------------------------------------
office
    Assembly Version: 14.0.0.0
    Win32 Version: 14.0.4760.1000
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/office/14.0.0.0__71e9bce111e9429c/office.dll
----------------------------------------
CustomMarshalers
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
因此,根据上述错误描述,它在第150行失败,即:

objXMLDOC.send(SoapStr.ToString)-第150行 另外,第2061行只是调用Private Sub,它具有发送SOAP请求的代码

现在,由于该机器连接到限制性VPN或连接到限制性公司网络,我知道可能有一个代理出于某种原因不允许Soap URL通过。”但是“我已经尝试通过IE和其他浏览器访问每一个URL(我在代码中使用的),我访问它们没有任何问题。(如果我不是错的)VB.NET应用程序是基于与IE.相同的/默认的用户设置,我也在我的“App.CONFIG”文件中得到了下面的内容,希望能够考虑在伊江中设置的相同的Internet /代理设置;p>
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <system.net>
      <defaultProxy useDefaultCredentials="true">
        <proxy usesystemdefault="True" />
      </defaultProxy>
    </system.net>


另外,在网上搜索数小时后,似乎注册表“可能”有问题。但我真的不知道该怎么做才能进一步处理这个问题。

我已经编辑了你的标题。请看“”,其中的共识是“不,他们不应该”。感谢@JohnSaunders指出这一点。我是这个网站的新手,所以一定没有抓住要点。但是你对最初的问题有什么想法吗?