分析:这个项目是放在根目录下的,IIS配置没有问题,别的文件都可以浏览,就这个文件夹下的页面不能 浏览,奇怪。回想这个原来是自己copy的一个文件,然后添加到项目中的。网上找到原因,是由于权限设置的问题,没有把Users的权限设置到文件夹和文件上去。
还有就是IIS设置问题,在IIS中看一下是不是子目录里创建了应用程序(或者做成了虚拟目录),这种情况下是会在子目录里查找web.config的.
The code of one button which will perform the function of select by attribute.
using the map that arcgis provided :world
test1:
Dim selectstr As String
selectstr = """CITY_NAME"" ='Nanchang'"
Dim gp As Geoprocessor = New Geoprocessor
''利用SelectLayerByAttribute
Dim SelectByAttribute As SelectLayerByAttribute = New SelectLayerByAttribute
SelectByAttribute.in_layer_or_view = Form1.AxMapControl1.Map.Layer(0)
SelectByAttribute.selection_type = "NEW_SelectION"
SelectByAttribute.where_clause = selectstr
gp.Execute(SelectByAttribute, Nothing)
Tags: GIS
幻の小屋
|
软件&技术
|