'Objects in this class cannot be updated outside an edit session'
2007-09-25 12:26
651 查看
问题
当一个要素类参与了一个拓扑(或Geometry Network)之后,对该要素类执行创建要素、修改要素图形或属性时,可能会出现这个异常:'Objects in this class cannot be updated outside an edit session'
原因
这是由于ArcEngine应用程序中使用的License权限不足引起的。在ArcEngine 应用程序里面通过ArcSDE进行编辑需要License'ArcGIS Engine Enterprise Geodatabase',或ArcEditor或ArcInfo。
解决办法
在ArcEngine应用程序的LicenseInitializer.InitializeApplication中,为程序增加Geodatabase的编辑权限。
Public Function InitializeApplicationFunction InitializeApplication As Boolean
'……
licenseStatus = CheckOutLicensesesriLicenseProductCode.esriLicenseProductCodeEngineGeoDB
licenseStatus = CheckOutLicensesesriLicenseProductCode.esriLicenseProductCodeEngine
'……
End Function
http://www.6635.info/archive/CiDonOu/2007-06-01-767805/%D4%DD%CA%B1%BF%D5
当一个要素类参与了一个拓扑(或Geometry Network)之后,对该要素类执行创建要素、修改要素图形或属性时,可能会出现这个异常:'Objects in this class cannot be updated outside an edit session'
原因
这是由于ArcEngine应用程序中使用的License权限不足引起的。在ArcEngine 应用程序里面通过ArcSDE进行编辑需要License'ArcGIS Engine Enterprise Geodatabase',或ArcEditor或ArcInfo。
解决办法
在ArcEngine应用程序的LicenseInitializer.InitializeApplication中,为程序增加Geodatabase的编辑权限。
Public Function InitializeApplicationFunction InitializeApplication As Boolean
'……
licenseStatus = CheckOutLicensesesriLicenseProductCode.esriLicenseProductCodeEngineGeoDB
licenseStatus = CheckOutLicensesesriLicenseProductCode.esriLicenseProductCodeEngine
'……
End Function
http://www.6635.info/archive/CiDonOu/2007-06-01-767805/%D4%DD%CA%B1%BF%D5
相关文章推荐
- Objects in this class cannot be updated outside an edit session问题解决方案(ArcEngine编辑)
- ArcGIS Engine进行编辑时,提示错误:Objects in this class cannot be updated outside an edit session [line_2]
- Objects in this class cannot be updated outside
- Declaration of 'struct sockaddr_in' will not be visible outside of this function警告的处理
- Propert 'c' cannot be found in forward class object 'CALayer *错误解决
- "An extender can't be in a different UpdatePanel than the control it extends." error really needs debugging information ,错误
- Declaration of 'struct sockaddr_in' will not be visible outside of this function警告的处理
- UIView CALayer 属性不显示错误 Property cannot be found in forward class object 'CALayer
- 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rathe
- Property 'c' cannot be found in forward class object 'CALayer *"
- 如何解决Reachability中的Declaration of 'struct sockaddr_in' will not be visible outside of this function
- error C3872: '0x3000': this character is not allowed in an identifier
- com.ibatis.common.beans.ProbeException: There is no READABLE property named 'value' in class 'com.ving.xzfw.vo.PaymentInfo'
- 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead.
- error C2248: 'CObject::operator =' : cannot access private member declared in class 'CObject'
- There is no READABLE property named 'day' in class 'java.lang.String';You have an error in your SQL
- 关于error:Cannot assign to 'self' outside of a method in the init family
- cannot convert 'this' pointer from 'const class Rational' to 'class Rational &' 是什么意思
- Property xxx cannot be found in forward class object "XXXXX" 错误
- error C3872: '0x3000': this character is not allowed in an identifier 解决方法