[GENERAL] pymssql Connection to the database failed for an unknown reason

2011-01-29 Thread orgilhp
Hello I am using pymssql to connect to MSSQL2008 database. But an error occurs: -- >>> import pymssql >>> conn = pymssql.connect(host='orgilhpnb\mssql2008', user='erp', >>> password='123', database='eoffice_clone') Traceback (most rec

[GENERAL] pymssql: Problem with Unicode string

2011-01-29 Thread orgilhp
Hello! I am using pymssql-1.9.908. And I have MSSQL2008 database server. I ran following code from python 2.6: --- import pymssql conn = pymssql.connect(host='testserver', user='sa', password='sa', database='testdb', as_dict=True) crms = conn.

Re: [GENERAL] Read problem from Bytea column

2011-01-23 Thread orgilhp
Thanks for your reply! > > Which version of Npgsql are you using? > I am using "Npgsql2.0.11-bin-ms.net". > Did you try another npgsql version? If it works in another version, please, > fill a bug report so we can fix it. > I have not used another version yet! But I think that 2.0 is the latest

[GENERAL] Read problem from Bytea column

2011-01-21 Thread orgilhp
Hello, I have postgresql 8.3.9 database. Now I am working on reading file from bytea data and save to filesystem. I am using Npgsql.dll on c#.net. First I have using OpenERP to upload a file to postgres database in bytea column. The original file size is 104,960 bytes and .doc extension. Then I re