Gracenote,C#示例中的异常数据库

时间:2014-12-29 10:33:00

标签: c# sqlite sample gracenote

当我尝试在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

你有什么想法帮助我吗?

1 个答案:

答案 0 :(得分:0)

您无法使用本地模式,您需要一个特殊的许可证文件。

确保了解使用本地sqlite缓存进行查询之间存在差异,这对您有效并且具有本地元数据数据库,您将无法使用(除非您有商业协议)这样做。)