cl991036
管理员
管理员
  • 注册日期2003-07-25
  • 发帖数5917
  • QQ14265545
  • 铜币29669枚
  • 威望217点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • GIS帝国铁杆
阅读:1662回复:0

ArcGIS Server常见问题集锦(转载)

楼主#
更多 发布于:2010-01-03 10:29
<div class="post">
<div class="postcontent"><strong><font size="3"><font color="#000000"><font face="宋体">安装部署问题</font></font></font></strong><br><strong></strong><br><font size="3"><font color="#000000"><strong><font face="Times New Roman">1 </font></strong><strong><font face="宋体">用户名问题</font></strong></font></font><br><font size="3"><font color="#000000"><font face="Times New Roman">   </font><font face="宋体">在</font><font face="Times New Roman">GIS Server PostInstall</font><font face="宋体">过程中会涉及到两个用户,默认情况下一个</font><font face="Times New Roman">ArcGISSOM</font><font face="宋体">,一个是</font><font face="Times New Roman">ArcGISSOC</font><font face="宋体">,如果用户按照默认情况下进行的话,系统就会给你创建这两个用户,而一般情况下,用户都以自己常见的身份登陆,而不会使用</font><font face="Times New Roman">ArcGISSOM</font><font face="宋体">用户登录,所以会给后续的很多操作带来麻烦。所以在</font><font face="Times New Roman">GIS Server Post Install</font><font face="宋体">过程中,建议使用自己常见的用户来进行。</font></font></font><br><br><font size="3"><font color="#000000"><strong><font face="Times New Roman">2 Post Install</font></strong><strong><font face="宋体">问题</font></strong></font></font><br><font size="3"><font color="#000000"><font face="Times New Roman">ArcGIS Server</font><font face="宋体">中有两个</font><font face="Times New Roman">postinstall</font><font face="宋体">,一个是</font><font face="Times New Roman">GIS Server PostInstall, </font><font face="宋体">一个是</font><font face="Times New Roman">Web Application PostInstall. GIS Server PostInstall</font><font face="宋体">因为在安装过程中自动弹出,所以一般都会做,不会忘记。而</font><font face="Times New Roman">Web Application PostInstall</font><font face="宋体">是需要自己主动去做的,所以很多人都会忘记做这个。而</font><font face="Times New Roman">Web Application PostInstall</font><font face="宋体">没有做的后果就是以</font><font face="Times New Roman">internet</font><font face="宋体">方式连接</font><font face="Times New Roman">arcgis server</font><font face="宋体">的服务都会连接不上。</font></font></font><br><br><font size="3"><font color="#000000"><strong><font face="Times New Roman">3 Manager</font></strong><strong><font face="宋体">登录不进去问题</font></strong></font></font><br><font face="宋体"><font size="3"><font color="#000000">这个问题去bbs中找帖子</font></font></font><br><br><font size="3"><font color="#000000"><strong><font face="Times New Roman">4 ArcCatalog</font></strong><strong><font face="宋体">中连接不上</font><font face="Times New Roman">GIS Server</font></strong><strong><font face="宋体">(远程)</font></strong></font></font><br><font size="3"><font color="#000000"><font face="Times New Roman">ArcCatalog</font><font face="宋体">不能连接远程的</font><font face="Times New Roman">GIS Server</font><font face="宋体">,请参照这篇文章,</font></font><a href="http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow;d=29385;ESRISessionID=rrS2%5FCJU5rYOMy2DOvWMF9iLluSVV76gqoqcgE0XKW4IFBedQVsXqz2eQJxBkQ%3D%3D" target="_blank" ><font face="Times New Roman"><font color="#800080">http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow;d=29385;ESRISessionID=rrS2%5FCJU5rYOMy2DOvWMF9iLluSVV76gqoqcgE0XKW4IFBedQVsXqz2eQJxBkQ%3D%3D</font></font></a><font face="宋体"><font color="#000000"> </font></font></font><br><br><font size="3"><font color="#000000"><strong><font face="Times New Roman">5 ArcSom</font></strong><strong><font face="宋体">和</font><font face="Times New Roman">ArcSoc</font></strong><strong><font face="宋体">分开安装</font></strong></font></font><font size="3"><font color="#000000"><font face="Times New Roman"><br>ArcGIS Server</font><font face="宋体">的自定义安装面板中可以把</font><font face="Times New Roman">ArcSom</font><font face="宋体">和</font><font face="Times New Roman">ArcSoc</font><font face="宋体">进行分开安装的,具体步骤参考</font><font face="Times New Roman">ArcSOM</font><font face="宋体">和</font><font face="Times New Roman">ArcSOC</font><font face="宋体">分开部署步骤。</font></font></font><br><br><font size="3"><font color="#000000"><strong><font face="宋体">6 一个</font><font face="Times New Roman">Service</font></strong><strong><font face="宋体">的</font><font face="Times New Roman">instancs</font></strong><strong><font face="宋体">就代表中进程中的一个</font><font face="Times New Roman">ArcSoc.exe</font></strong><strong><font face="宋体">吗?</font></strong></font></font><br><font size="3"><font color="#000000"><font face="宋体">不一定,如果在服务属性中的孤立性设置为高孤立性的时候,那么一个</font><font face="Times New Roman">instances</font><font face="宋体">就代表一个</font><font face="Times New Roman">ArcSoc.exe</font><font face="宋体">,如果设置为低孤立性的时候,就不一定了。</font></font></font><br><br><br><br><br><strong><font size="3"><font color="#000000"><font face="宋体">开发问题</font></font></font></strong><br><strong></strong><br><font size="3"><font color="#000000"><strong><font face="Times New Roman">1 </font></strong><strong><font face="宋体">到底能不能使用</font><font face="Times New Roman">new</font></strong><strong><font face="宋体">关键字来创建对象?</font></strong></font></font><br><font size="3"><font color="#000000"><font face="宋体">这是我们在开发</font><font face="Times New Roman">ArcGIS Server</font><font face="宋体">过程中经常遇到的,也是我们一直在强调的,从</font><font face="Times New Roman">9.0,9.1</font><font face="宋体">开始就一直强调,不过</font><font face="Times New Roman">9.2</font><font face="宋体">的情况和</font><font face="Times New Roman">9.2</font><font face="宋体">以前的版本还有所不同,因为</font><font face="Times New Roman">9.2</font><font face="宋体">版本中</font><font face="Times New Roman">ADF</font><font face="宋体">级别多了很多类,这些类是可以使用</font><font face="Times New Roman">new</font><font face="宋体">关键字来创建的,但是涉及到服务端的</font><font face="Times New Roman">com</font><font face="宋体">组件的时候还是不能使用</font><font face="Times New Roman">new</font><font face="宋体">关键字,都需要使用</font><font face="Times New Roman">ServerContext</font><font face="宋体">的</font><font face="Times New Roman">createobject</font><font face="宋体">来实现。 </font></font></font><br><br><font size="3"><font color="#000000"><strong><font face="Times New Roman">2 Web Application</font></strong><strong><font face="宋体">中看不到图片的问题</font></strong></font></font><br><font size="3"><font color="#000000"><font face="宋体">这是因为没有在</font><font face="Times New Roman">Web App</font><font face="宋体">中指定连接用户引起的,有两种方式可以来为</font><font face="Times New Roman">Web App</font><font face="宋体">添加用户名和密码。</font></font></font><br><font size="3"><font color="#000000"><font face="Times New Roman">A 在vs2005的解决方案管理器中,</font><font face="宋体">在相应的网页名称点右键,点击</font><font face="Times New Roman">Add ArcGIS Identity</font></font></font><br><br><font size="3"><font color="#000000"><font face="宋体">在对话框中输入连接</font><font face="Times New Roman">GIS Server</font><font face="宋体">的用户名,密码,和机器名称。</font></font></font><br><br><font size="3"><font color="#000000"><font face="Times New Roman">B </font><font face="宋体">直接在</font><font face="Times New Roman">Web App</font><font face="宋体">的</font><font face="Times New Roman">Web.Config</font><font face="宋体">中添加明码的</font><font face="Times New Roman">identity</font><font face="宋体">标签,里面指定用户名和密码。</font></font></font><br><font size="3"><font color="#000000"><font face="宋体">格式如下:</font></font></font><br><font size="3"><font color="#000000"><font face="宋体"><Identity impers userName = "username" password = "password"></font></font></font><br><br><br><br><font size="3"><font color="#000000"><strong><font face="Times New Roman">3 ZoomLevel</font></strong><strong><font face="宋体">控件为什么不能使用</font></strong></font></font><br><font size="3"><font color="#000000"><font face="Times New Roman">ZoomLevel</font><font face="宋体">控件只有当地图使用了地图缓存的情况下才会出现。</font></font></font><br><br><font size="3"><font color="#000000"><strong><font face="Times New Roman">4 </font></strong><strong><font face="宋体">地图缓存生成不完整怎么办?地图缓存是否可以移动?</font></strong></font></font><br><font size="3"><font color="#000000"><font face="宋体">地图缓存如果因为断电或别的原因没有生成完毕就中止了,只需要进行</font><font face="Times New Roman">update</font><font face="宋体">就可以,没有必要全部重新做,而且做好的地图缓存可以移动,只要服务的名称和原来的一致,重新启动</font><font face="Times New Roman">arcgis server</font><font face="宋体">的服务之后就会生效。</font></font></font><br><br><strong><font face="Times New Roman"><font size="3"><font color="#000000">5 </font></font></font></strong><font size="3"><font color="#000000"><strong><font face="宋体">编辑任务</font><font face="Times New Roman">EditorTask</font></strong><strong><font face="宋体">控件为什么不能使用</font></strong></font></font><br><font size="3"><font color="#000000"><font face="Times New Roman">EditorTask</font><font face="宋体">控件是adf中提供的,它的使用条件是这样的:</font></font></font><br><font size="3"><font color="#000000"><font face="宋体">a 需要使用的是</font><font face="Times New Roman">ArcGIS Server</font><font face="宋体"> </font><font face="Times New Roman">Local</font><font face="宋体">方式连接的服务</font></font></font><br><font size="3"><font color="#000000"><font face="宋体">b </font><font face="Times New Roman">shapefile</font><font face="宋体">和</font><font face="Times New Roman">file gdb, personal gdb</font><font face="宋体">都不能被</font><font face="Times New Roman">EditorTask</font><font face="宋体">进行编辑</font></font></font><br><font size="3"><font color="#000000"><font face="宋体">c 虽然池化和非池化的服务都可以被</font><font face="Times New Roman">EditorTaks</font><font face="宋体">编辑,但是对于池化服务,只有使用非版本的数据的时候才可以编辑。对于非池化的服务,则版本和非版本的数据都可以被编辑。</font></font></font><br><br><br><br>
<p align="left"><font size="3"><font color="#000000"><strong><font face="Times New Roman">6 ArcGIS Server Internet</font></strong><strong><font face="宋体">连接方式和</font><font face="Times New Roman">ArcGIS Server Local</font></strong><strong><font face="宋体">连接方式有什么不同?是否</font><font face="Times New Roman">ArcGIS Server</font></strong><strong><font face="宋体"> </font><font face="Times New Roman">Internet</font></strong><strong><font face="宋体">是远程连接,</font><font face="Times New Roman">ArcGIS Server Local</font></strong><strong><font face="宋体">是本地连接?</font></strong></font></font><br></p>
<p align="left"><font size="3"><font color="#000000"><font face="Times New Roman">ArcGIS Server Internet</font><font face="宋体">方式去连接</font><font face="Times New Roman">GIS Server</font><font face="宋体">的时候,就相当于去连接标准的</font><font face="Times New Roman">web service,</font><font face="宋体"> 因此只有这些</font><font face="Times New Roman">web service</font><font face="宋体">暴露出来的</font><font face="Times New Roman">webmethod</font><font face="宋体">才可以调用,因此通过</font><font face="Times New Roman">ArcGIS Server Internet</font><font face="宋体">方式去连接得到某个服务的时候所能得到的功能是很有限的。</font></font></font></p><br>
<p align="left"><font size="3"><font color="#000000"><font face="Times New Roman">ArcGIS Server Local</font><font face="宋体">方式去连接</font><font face="Times New Roman">GIS Server</font><font face="宋体">,这个时候才可以使用后台强大的ao组件,也就是才能远程调用</font><font face="Times New Roman">arcgis server</font><font face="宋体">提供的远程的ao组件,才能实现诸如数据的编辑等强大的功能。</font></font></font></p><br>
<p align="left"><font size="3"><font color="#000000"><font face="宋体">因此,</font><font face="Times New Roman">ArcGIS Server Internet</font><font face="宋体">和</font><font face="Times New Roman">ArcGIS Server Local</font><font face="宋体">不能简单的理解为就是本机连接或者是远程连接。</font></font></font></p>
<br>
<p align="left"><font size="3"><font color="#000000"><strong><font face="Times New Roman"><font face="宋体">7 </font>GraphicsLayer</font></strong><strong><font face="宋体">中的</font><font face="Times New Roman">Graphics</font></strong><strong><font face="宋体">支持栅格图片吗?</font></strong></font></font></p><br>
<p align="left"><font face="宋体"><font size="3"><font color="#000000">不支持</font></font></font></p>
<br>
<p align="left"><font size="3"><font color="#000000"><strong><font face="Times New Roman">8</font></strong><strong><font face="宋体"> </font><font face="Times New Roman">MapResourceManager</font></strong><strong><font face="宋体">控件中添加了两个服务,为什么只能看到一个?</font></strong></font></font></p><br>
<p align="left"><font face="宋体"><font size="3"><font color="#000000">原因可能有两个,一个是两个服务坐标不匹配,另外一个是上面一个服务没有设置为背景透明。</font></font></font></p><br><font face="Times New Roman"><font size="3"><font color="#000000"><font color="#333333"><font face="Tahoma"><strong>9 池化和非池化服务对于编辑功能的区别?<br></strong>池化服务和非池化服务都可以进行编辑,但是池化服务的编辑没有Redo和Undo的功能,而非池化服务的话功能则是最齐全的。<br><br><strong>10  Map控件的refresh和refreshresource有什么区别?</strong><br>Refresh是刷新Map控件中的所有服务的,而refreshresouce是刷新制定服务的,如<br>map中只有一个的服务的时候效果是一样的。<br><br></font></font><font color="#333333"><font face="Tahoma"><font size="3"><strong>11  Map控件的ImageBlendingMode属性中的Brower和WebTier有什么区别?</strong><br>Brower是指把多个服务的图片直接传到客户端再进行容易融合。<br>WebTier是指把多个服务的图片在web server上融合之后传送到客户端。</font><br><br></font></font><font size="3"><font color="#333333"><font face="Tahoma"><strong>12  服务启动的情况下,我更改了mxd的内容,是否需要重新启动才能起作用?<br></strong>需要重新启动。</font></font></font></font></font></font><br><font face="Times New Roman"><font size="3"><font color="#000000"><br></font></font></font><font face="Times New Roman"><font size="3"><font color="#000000"><strong>13  </strong><strong>No-cached</strong><strong><font face="宋体">服务和</font>Cached</strong><strong><font face="宋体">服务可以同时使用吗?</font></strong><br>
<p align="left"><font face="宋体">可以的,在组织服务的时候,可以把静态不太改变的背景数据组织成一个服务,并为它做</font>cache<font face="宋体">,要经常改变的数据组织成一个服务,不做</font>cache<font face="宋体">,两个服务在同一应用中使用,通过这种方式也可以提高客户端的体验感受。</font></p><br>
<p align="left"><strong>14  </strong><strong>ArcGIS Server 9.2 </strong><strong><font face="宋体">中为什么不使用</font>webmap</strong><strong><font face="宋体">,</font>webpagelayout</strong><strong><font face="宋体">类了?</font></strong></p><br>
<p align="left">ArcGIS Server 9.2<font face="宋体">和</font>9.1<font face="宋体">的</font>adf<font face="宋体">框架有很大的差别,</font>9.2<font face="宋体">中为了支持多种数据源,所使用的控件已经和</font>9.1<font face="宋体">版本完全不一样了,因此在新的框架下已经不在使用</font>webmap,webpagelayou<font face="宋体">了,如果您是熟悉</font>9.1<font face="宋体">的用户,要学习新的</font>adf<font face="宋体">框架中的内容。</font><br></p>
<p align="left"><br><strong>15  ArcGIS Server9.2 adf</strong><strong><font face="宋体">中的各种控件所使用的脚本放在什么地方?</font> </strong></p><br>
<p align="left">ArcGIS Server9.2<font face="宋体">的各种控件所使用到的脚本文件默认都放在</font>C:\Inetpub\wwwroot\aspnet_client\ESRI\WebADF\JavaScript<font face="宋体">目录下,您可以打开来看,以便更深入了解</font>adf<font face="宋体">的框架</font>.<br></p>
<p align="left"><strong>16   </strong><strong><font face="宋体">我更改了</font>C:\Inetpub\wwwroot\aspnet_client\ESRI\WebADF\JavaScript</strong><strong><font face="宋体">下的脚本</font>,</strong><strong><font face="宋体">为什么不起作用?</font></strong></p><br>
<p align="left">ArcGIS Server9.2 <font face="宋体">中的各种控件默认情况下是使用嵌入的脚本,默认的情况下并不是调用</font>C:\Inetpub\wwwroot\aspnet_client\ESRI\WebADF\JavaScript<font face="宋体">下的脚本,但嵌入的脚本是和</font>C:\Inetpub\wwwroot\aspnet_client\ESRI\WebADF\JavaScript<font face="宋体">下的脚本一致的。每个控件都会有一个</font>UseDefaultWebResouces<font face="宋体">的属性,当把这个属性设置为</font>false<font face="宋体">的时候,控件才会去调用</font>C:\Inetpub\wwwroot\aspnet_client\ESRI\WebADF\JavaScript<font face="宋体">下的脚本,这样你更改的脚本文件才会起作用。</font></p></font></font></font></div></div>
喜欢0 评分0
没钱又丑,农村户口。头可断,发型一定不能乱。 邮箱:gisempire@qq.com
游客

返回顶部