"/ArcGIS/rest"应用程序中的服务器错误.
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了"/ArcGIS/rest"应用程序中的服务器错误.相关的知识,希望对你有一定的参考价值。
"/ArcGIS/rest"应用程序中的服务器错误.,服务器主机不能为空。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: ESRI.ArcGIS.ADF.Connection.ServerHostNullException: 服务器主机不能为空。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[ServerHostNullException: 服务器主机不能为空。]
ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection.Connect(Boolean throwExceptionOnUnauthorizedAccess) +440
ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection..ctor(String host, Identity identity, Boolean connect) +45
ESRI.ArcGIS.REST.RestAppConfig.CheckSecuritySetting(HttpContext ctx) +108
ESRI.ArcGIS.REST.RestAppConfig..ctor(HttpContext context) +75
ESRI.ArcGIS.REST.RestUtils.GetRestAppConfig(HttpContext context) +94
ESRI.ArcGIS.REST.RestModule.System.Web.IHttpModule.Init(HttpApplication app) +26
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +406
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +188
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +295
System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) +56
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +231
[HttpException (0x80004005): 服务器主机不能为空。]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8993587
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +333
版本信息: Microsoft .NET Framework 版本:2.0.50727.5477; ASP.NET 版本:2.0.50727.5479
希望能解决您的问题。 参考技术B 请问你这个问题解决了么?
我现在也碰到了
iOS 阿里百川SDK 报错 "_OBJC_CLASS_$_CMMotionManager", referenced from: objc-class-"_res_9_g
引入阿里百川SDK 运行时会报错
"_OBJC_CLASS_$_CMMotionManager", referenced from:
objc-class-ref in SGMain(SGMain99999999.o)
"_res_9_getservers", referenced from:
+[WXReachability isIPv6Only] in WXOpenIMSDKFMWK(Reachability.o)
isIPv6Only() in WXOpenIMSDKFMWK(IOSINetImpl.o)
"_res_9_ndestroy", referenced from:
+[WXReachability isIPv6Only] in WXOpenIMSDKFMWK(Reachability.o)
isIPv6Only() in WXOpenIMSDKFMWK(IOSINetImpl.o)
"_res_9_ninit", referenced from:
+[WXReachability isIPv6Only] in WXOpenIMSDKFMWK(Reachability.o)
isIPv6Only() in WXOpenIMSDKFMWK(IOSINetImpl.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这种错误一般是缺少系统依赖库而出现的
解决方法:
找到Build Phases —–> Link Binary With Libraries 添加以下系统库
1. CoreMotion.framework
2. libresolv.tbd
3. AudioToolbox.framework
4. AVFoundation.framework
以上是关于"/ArcGIS/rest"应用程序中的服务器错误.的主要内容,如果未能解决你的问题,请参考以下文章
arcserver获取不到服务信息?catalog可以预览!http://thm/arcgis/rest/rservices/test2/Map
spring mvc <mvc:resources location="/resources/" mapping="/resources
关于ArcGIS Engine Developer Kit/ArcGIS Engine Runtime
如何让一个Layout 始终在屏幕的下方 我想让<include layout="@layout/bottom" />一直在屏幕下,怎么做?