|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Please..help, error in open connection
hi all,
i've just installed firebird 1.53 and was trying to use it in my vb.net application. i've downloaded and installed FirebirdNetProvider 1.71 however i cannot connect to the database, when i try to open the connection, an exception was thrown: No message for error code 335544344 found. No message for error code 335544734 found. it failed with or without connectionstringbuilder. Dim fcb As New FbConnectionStringBuilder fcb.DataSource = "localhost" fcb.Database = "sample.fdb" fcb.UserID = "SYSDBA" fcb.Password = "masterkey" 'fcb.Pooling = False cn.ConnectionString = fcb.ToString Try cn.Open() Catch ex As Exception MessageBox.Show(ex.Message) End Try how to fix this problem? Thanks. Wei Fuk |
|
#2
|
||||
|
||||
|
Mhhh, sorry, the only help I can give you is the list of firebird error codes (pdf).
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins |
|
#4
|
|||
|
|||
|
i found the solution: finally..
Dim fcb As New FbConnectionStringBuilder fcb.DataSource = "localhost" fcb.Database = "localhost:sample.fdb" fcb.UserID = "SYSDBA" fcb.Password = "masterkey" 'fcb.Pooling = False cn.ConnectionString = fcb.ToString and note that if the connectionstring is written in one line, the text "User ID" must be type with space, a "UserID" won't work. ![]() dim str as string = "DataSource=localhost;Database = localhost :\sample.gdb;User ID=SYSDBA;Password=masterkey;Dialect=3"cn.connectionstring = str |
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Please..help, error in open connection |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|