- Регистрация
- 08.01.2016
- Сообщения
- 11
- Благодарностей
- 0
- Баллы
- 1
Hi,
I created a project that work nice and smooth in ProjectMaker.exe,
but, when goes to ZennoPoster.exe database connection don't work and don't show any message error...
I tried with OleDB and ODBC and both i get the same problem (work in ProjectMaker but don't in ZennoPoster.
Windows Server 2008 R2 Enterprise - Service Pack 1
System Type: 64-Bit
Intel(R) Core(TM) i7-3770
//I used 'C# Code' component i this way:
var table = project.Tables["Table1"];
var rowCount = ZennoPoster.Db.ExecuteQuery("SELECT * FROM TABLE1", null,
ZennoLab.InterfacesLibrary.Enums.Db.DbProvider.Odbc,
"Dsn=dnsDAtabase;uid=userXXX;pwd=passWordXXX",
ref table);
return rowCount;
//Also Tried this Way:
var rowCount = ZennoPoster.Db.ExecuteQuery("SELECT * FROM TABLE1", null,
ZennoLab.InterfacesLibrary.Enums.Db.DbProvider.OleDb,
"Provider=MSDAORA.1;Data Source=oracleDataSource;Persist Security Info=True;Password=passWordXXX;User ID=userXXX");
return rowCount;
I Also tried with database Request, but get the same problem...
ZennoPoster Log:
Type Time Message
14:26:43 Precompiling project before running
14:26:43 ZennoPoster Project C:\zenno\project.xmlz was completed successfully!
I created a project that work nice and smooth in ProjectMaker.exe,
but, when goes to ZennoPoster.exe database connection don't work and don't show any message error...
I tried with OleDB and ODBC and both i get the same problem (work in ProjectMaker but don't in ZennoPoster.
Windows Server 2008 R2 Enterprise - Service Pack 1
System Type: 64-Bit
Intel(R) Core(TM) i7-3770
//I used 'C# Code' component i this way:
var table = project.Tables["Table1"];
var rowCount = ZennoPoster.Db.ExecuteQuery("SELECT * FROM TABLE1", null,
ZennoLab.InterfacesLibrary.Enums.Db.DbProvider.Odbc,
"Dsn=dnsDAtabase;uid=userXXX;pwd=passWordXXX",
ref table);
return rowCount;
//Also Tried this Way:
var rowCount = ZennoPoster.Db.ExecuteQuery("SELECT * FROM TABLE1", null,
ZennoLab.InterfacesLibrary.Enums.Db.DbProvider.OleDb,
"Provider=MSDAORA.1;Data Source=oracleDataSource;Persist Security Info=True;Password=passWordXXX;User ID=userXXX");
return rowCount;
I Also tried with database Request, but get the same problem...
ZennoPoster Log:
Type Time Message
14:26:43 Precompiling project before running
14:26:43 ZennoPoster Project C:\zenno\project.xmlz was completed successfully!