Pergunta

I am trying to load in an old CACHE.DAT database into Intersystems Cache (2012.1.1 win32 evaluation). I've managed to create a namespace and database, and I'm able to query some of the database tables.

However, for other tables, I get the following error:

ERROR #5540: SQLCODE -400 Message: Unexpected error occurred: <WIDE CHAR>

The documentation tells me that this means that a multibyte character is read where a one byte character is expected. I suspect this might mean that the original database was in UTF-16, while my new installation is using UTF-8.

My question is: is there a way to either convert the database, to configure Cache so that it can deal with , or to deal with this problem in another way?

Foi útil?

Solução

maybe the original database was created in unicode installation and current installation 8-bit

Caché read a multibyte character where a 1-byte character was expected.

Outras dicas

you can send your cboot.log from mgr directory ?
for example first lines in my cboot.log

Start of Cache initialization at 02:51:00PM on Apr 7, 2012  
Cache for Windows (x86-64) 2012.2 (Build 549U) Sun Apr 1 2012 17:34:18 EDT  
Locale setting is rusw  
Source directory is c:\intersystems\ensemble12\mgr\utils\  
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top