Gracenote,C# 示例中的异常数据库
本文关键字:异常 数据库 Gracenote | 更新日期: 2023-09-27 18:35:29
当我尝试在 GNSDK 中为 C# 运行示例时,启用本地数据库 sqlite 时出现异常触发。在GNSDK日志中,我看到这个
Local Lookup Initialize: Version 3.07.0.2861 Built 2014-10-28 01:46-0700
2014-12-29 11:26:08.406 DEBUG GNSDK Local 0x00001840 [api_trace] gnsdk_lookup_local_get_build_date
2014-12-29 11:26:08.519 DEBUG GNSDK Local 0x00001840 [api_trace] gnsdk_lookup_local_get_version
2014-12-29 11:26:12.371 DEBUG GNSDK Local 0x00001840 [api_trace] gnsdk_lookup_local_storage_location_set( gnsdk_lookup_local_gdball, ../../../sample_db )
2014-12-29 11:26:12.372 DEBUG GNSDK Local 0x00001840 [api_trace] lookup_local_storage_location_set( gnsdk_lookup_local_storage_primary_identifier, gnsdk_lookup_local_gdball, ../../../sample_db )
2014-12-29 11:26:14.460 DEBUG GNSDK Local 0x00001840 [api_trace] gnsdk_lookup_local_get_build_date
2014-12-29 11:26:14.506 DEBUG GNSDK Local 0x00001840 [api_trace] gnsdk_lookup_local_get_version
2014-12-29 11:26:20.531 DEBUG GNSDK Local 0x00001840 [api_trace] gnsdk_lookup_local_storage_info_count( gnsdk_lookup_local_gdbmdata, gnsdk_lookup_local_gdb_version, 5DCE53C )
2014-12-29 11:26:20.532 DEBUG GNSDK Local 0x00001840 [api_trace] lookup_local_storage_location_get( gnsdk_lookup_local_storage_primary_identifier, gnsdk_lookup_local_gdbmdata, 5DCE524 )
2014-12-29 11:26:20.532 DEBUG GNSDK SQLite 0x00001840 sqlite_storage_helpers.c[412] Storage connection: gn_mdata.gdb
**2014-12-29 11:26:20.533 WARNING GNSDK Local 0x00001840 lookup_local_storage_helpers.c[219] Failed to open storage group: 'gn_mdata.gdb'**
2014-12-29 11:26:20.533 DEBUG GNSDK Manager 0x00001840 [api_trace] gnsdk_manager_error_info
你有什么想法可以帮助我吗?
您不能使用本地模式,您需要一个特殊的许可证文件。
确保了解使用本地 sqlite 缓存进行查询与拥有本地元数据数据库(您将无法使用)之间存在差异(除非您有商业协议