Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlAA2-0001M6-ES for pgsql-odbc@arkaria.postgresql.org; Fri, 25 Aug 2017 08:40:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dlAA2-0006rf-0u for pgsql-odbc@arkaria.postgresql.org; Fri, 25 Aug 2017 08:40:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dlAA1-0006qQ-Eo for pgsql-odbc@postgresql.org; Fri, 25 Aug 2017 08:40:13 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dlA9x-0006Qv-Gm for pgsql-odbc@postgresql.org; Fri, 25 Aug 2017 08:40:12 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id A439A15D4; Fri, 25 Aug 2017 11:40:08 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5EbHw73+sO2S; Fri, 25 Aug 2017 11:40:06 +0300 (EEST) Received: from mail.hot.ee (hot-relayhost2.estpak.ee [213.180.2.80]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id DEB6C1674; Fri, 25 Aug 2017 11:40:06 +0300 (EEST) X-SMTP-Auth-NETI-Businessmail: no Received: from dell2 (185.163.250.195.sta.estpak.ee [195.250.163.185]) by HOT-Relayhost2.estpak.ee (Postfix) with ESMTPS id 8A21A1FB; Fri, 25 Aug 2017 11:40:04 +0300 (EEST) Message-ID: <1A01C06069F84F4DAB3826E74E14D180@dell2> From: "Andrus" To: "Inoue, Hiroshi" Cc: References: <857D04AAE4F74BD09F269E58756D9F60@dell2> <1116F6D4C87D4EA2958049237ECB45B4@dell2> <54d7ff7b-f612-0cc3-f6df-fdd6b5da631c@dream.email.ne.jp> In-Reply-To: <54d7ff7b-f612-0cc3-f6df-fdd6b5da631c@dream.email.ne.jp> Subject: Re: Connectivity error: Could not convert from the current locale to wide characters Date: Fri, 25 Aug 2017 11:39:58 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org Hi, > Oops sorry, it is Mylog option. in page 1 which should be turned on. >Probably ODBC trace is useless in this case. It contains error mentioned message Could not convert from the current locale to wide characters Maybe come character in data causes this and it may be visible in this log. >ISTM You sent me Mylog with global Mylog option is turned on. >Mylog output with per datasource Mylog option turned on is necessary. Mylog was turned on in datasource page also. I tried again. Turned mylog on only in datasource page, disabled UAC in windows 10 and run application with administrative rights. After that searched for mylog*.log files in C: drive. Those files are not created. My application does not use named datasource. It uses direct connection string DRIVER={PostgreSQL Unicode};DATABASE=somedb;SERVER=localhost;PORT=5432;UID=postgres;Protocol=-0;B9=0;C7=0 Maybe log is not created due to this. Andrus. -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc