the Geodatabase editor license has expired

本文记录了如何处理Geodatabase编辑器许可证过期的问题。通过简单的搜索,作者找到了解决方案,并分享了解决这个问题的经验。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

the Geodatabase editor license has expired

据说前同事搞了好几天,哥下班后过去了,哈哈,google第一个就是答案,记录一下。

描述:

Subject AOInitialize hangs when initializing ESRI Product 
Author Toby Mills 
Date Oct 13, 2008 
Message After a lot of messing about trying to debug my unresponsive website, I tracked it down to the initialization of the ArcGIS Server. 
The code below is used in Application_Start to initialze the product. But it hangs, leaving the website completely unresponsive. 

When I wrote a Windows Forms app to do the same thing, a popup message was displayed: 

Warning: The Geodatabase Editor (GDBEdit) license has expired. 
Warning: The Network Analyst (NetworkEngine) license has expired. 
Warning: The 3D Analyst (3DEngine) license has expired. 

...and a bunch of other expired items. 

Once I click 'OK', initialization continues successfully. 

So it seems that what happens is that when the web server starts the website, the AOInitialise object throws up this message, 
but there is no user interface for the thread, so it is impossible to click 'OK', and the website just hangs! 


Question 1: These look like ArcGIS Desktop extensions, and Desktop is not installed, so where is this message coming from? 

Question 2: Why does the AOInitialise object throw up a message box rather than returning information that the developer can use? 

Question 3: How can I prevent this from happening??? Am I doing something fundamentally wrong? 
I know most of ESRI's focus is writing code to be consumed through SOC's & SOM's etc., but I am using ArcObjects code directly in my website, and my understanding is that this is supposed to be supported. 
 
g_aoInitialiseESRIProduct = New ESRI.ArcGIS.esriSystem.AoInitialize

If g_aoInitialiseESRIProduct.IsProductCodeAvailable(ESRI.ArcGIS.esriSystem.esriLicenseProductCode.esriLicenseProductCodeArcServer) = ESRI.ArcGIS.esriSystem.esriLicenseStatus.esriLicenseAvailable Then
            g_aoInitialiseESRIProduct.Initialize(ESRI.ArcGIS.esriSystem.esriLicenseProductCode.esriLicenseProductCodeArcServer)
        
ElseIf g_aoInitialiseESRIProduct.IsProductCodeAvailable(ESRI.ArcGIS.esriSystem.esriLicenseProductCode.esriLicenseProductCodeEngine) = ESRI.ArcGIS.esriSystem.esriLicenseStatus.esriLicenseAvailable Then
            g_aoInitialiseESRIProduct.Initialize(ESRI.ArcGIS.esriSystem.esriLicenseProductCode.esriLicenseProductCodeEngine)

ElseIf g_aoInitialiseESRIProduct.IsProductCodeAvailable(ESRI.ArcGIS.esriSystem.esriLicenseProductCode.esriLicenseProductCodeArcInfo) = ESRI.ArcGIS.esriSystem.esriLicenseStatus.esriLicenseAvailable Then
            g_aoInitialiseESRIProduct.Initialize(ESRI.ArcGIS.esriSystem.esriLicenseProductCode.esriLicenseProductCodeArcInfo)
        
ElseIf g_aoInitialiseESRIProduct.IsProductCodeAvailable(ESRI.ArcGIS.esriSystem.esriLicenseProductCode.esriLicenseProductCodeArcEditor) = ESRI.ArcGIS.esriSystem.esriLicenseStatus.esriLicenseAvailable Then
            g_aoInitialiseESRIProduct.Initialize(ESRI.ArcGIS.esriSystem.esriLicenseProductCode.esriLicenseProductCodeArcEditor)

End If
 

答案:

 Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: AOInitialize hangs when initializing ESRI Product 
Author Richard Pruitt 
Date Oct 13, 2008 
Message Go to the following location: 

"C:\Program Files\ArcGIS\Utilities" 

Open "AdvancedArcMapSettings.exe" 

Go to Miscellaneous tab and turn off the "License Timeout Warning" 

That should prevent the warning from being displayed. 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值