ylbtech-Error-ONS-ASP.NET:Can not find name server, May be your network problem. See https://github.com/alibaba/ons/issues/1 for further details. |
1.返回顶部 |
1、
“/ons6r”应用程序中的服务器错误。
Can not find name server, May be your network problem.
See https://github.com/alibaba/ons/issues/1 for further details.
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.ArgumentException: Can not find name server, May be your network problem.
See https://github.com/alibaba/ons/issues/1 for further details.
源错误:
行 46: public virtual Producer createProducer(ONSFactoryProperty factoryProperty) {
行 47: global::System.IntPtr cPtr = ONSClient4CPPPINVOKE.ONSFactoryAPI_createProducer(swigCPtr, ONSFactoryProperty.getCPtr(factoryProperty));
行 48: Producer ret = (cPtr == global::System.IntPtr.Zero) ? null : new Producer(cPtr, false);
行 49: if (ONSClient4CPPPINVOKE.SWIGPendingException.Pending) throw ONSClient4CPPPINVOKE.SWIGPendingException.Retrieve();
行 50: return ret;
|
源文件: D:lab665aliyun-mq-windows-net-sdkdemodemo_aspnetSDKONSFactoryAPI.cs 行: 48
堆栈跟踪:
[ArgumentException: Can not find name server, May be your network problem. See https://github.com/alibaba/ons/issues/1 for further details.] ons.ONSFactoryAPI.createProducer(ONSFactoryProperty factoryProperty) in D:lab665aliyun-mq-windows-net-sdkdemodemo_aspnetSDKONSFactoryAPI.cs:48 test.OnscSharp.CreateProducer() in D:lab665aliyun-mq-windows-net-sdkdemodemo_aspnetExample.cs:157 demo_aspnet.Global.Application_Start(Object sender, EventArgs e) in D:lab665aliyun-mq-windows-net-sdkdemodemo_aspnetGlobal.asax.cs:21 [HttpException (0x80004005): Can not find name server, May be your network problem. See https://github.com/alibaba/ons/issues/1 for further details.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +520 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +176 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +353 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341 [HttpException (0x80004005): Can not find name server, May be your network problem. See https://github.com/alibaba/ons/issues/1 for further details.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688 |
版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3062.0
2、
2.返回顶部 |
3.返回顶部 |
4.返回顶部 |
5.返回顶部 |
6.返回顶部 |
作者:ylbtech 出处:http://ylbtech.cnblogs.com/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 |