 |
|
 |
hi,
error:
Could not load file or assembly 'System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
scenario:
used embedded firebird ado.net service provider for databse conectivity.
no issues with firebird's dll coz able to use classes such as FbDataAdapter,FbConnection,FbCommand but when tries to read with FbDataReader or fill dataset with FbDataAdapter it gives this error
i tried using excel database n it works fine...
i hav downloaded firebird installed then added refrance n copied fbembed.dll in \bin\Debug following your tutorial on this site n then jus used namespace FirebirdSql.Data.FirebirdClient; so after that i m able to acces FbDataAdapter etc;
this procedure is fine or somthng missin???
|
|
|
|
 |
|
 |
Hello
I´m developing an application using Firebird Embedded, and I would like to know how I can maintain the connection open, in other words, I would like through a Module to open the connection with the database and then close when the application stop.
Oww sorry, I´m using VB.NET 2008.
Thnks
Rafael Brasil
|
|
|
|
 |
|
 |
I've been planing to implement this in to a small program that I'm writing (which I may release on CodeProject) but it appears that Embedded Firebird is not longer supported.
I found this:
http://www.firebirdsql.org/dotnetfirebird/index.html[^] which is different from the link given to the article.
In short, the project was donated to the Core Firebird project. I thought that this was great, it might mean tighter integration.
However after some more sifting around, it appears that the project has never been updated.
To the best of my ability I've been able to determine this embedded package supports Firebird 2.0.1 on .NET 2.0. But I was hoping to use Firebird 2.1 on .NET 3.5.
But quite simply does anyone know one way or another if this project is still supported?
Thank you,
Frank
|
|
|
|
 |
|
|
 |
|
 |
Ahh, I see. I was looking at the wrong pages. How confusing.
Anyway, I actually decided to go with SQLite for my project. Same concept but so far support has been better for it. Plus, I'm too deep in now to switch back.
Thank you for your reply and the information!
Regards,
Frank
|
|
|
|
 |
|
 |
this is not working for firebird 2 might be because of version of dlls,
any idea???
ujjwal
|
|
|
|
 |
|
 |
Hi, i switched from Super Server 2.0 to embedded version.
Everything almost ok, select, inserts, deletes work fine. However, stored procedures won't work at all, which of course worked well on the SuperServer.
Is this normal? Is there something to change on those procedures in order to get them working?
Thanks for your time folks.
Daniel Sovino
|
|
|
|
 |
|
 |
How can I change .fdb files?
|
|
|
|
 |
|
 |
.fdb stands for firebird database.
You "change" it by using firebirdsql to access it, sending mysql commands to edit,add to, and remove from it.
|
|
|
|
 |
|
 |
Please, help!
When compile example sources myself, at runtime exception occured
"Unable to load DLL 'fbembed'"
I put fbembed.dll in bin/Debug path, but still not work((
|
|
|
|
 |
|
 |
jet85 wrote: When compile example sources myself, at runtime exception occured
"Unable to load DLL 'fbembed'"
I put fbembed.dll in bin/Debug path, but still not work((
I am having the same problem. I am working with C#, .NET 2.0. The Firebird DB is version 2. I can connect to the embedded database with IBExpert. I have the embedded engine and Firebird client installed and a reference to it added to my project. Is there something else I'm missing?
Thanks!
TC
|
|
|
|
 |
|
 |
I solved this problem.
Files icudt30.dll, icuin30.dll, icuuc30.dll must also putted in work directory.
I think it relevant only for Firebird version 2.
What is mission of these files? And how to use fb without them?
|
|
|
|
 |
|
 |
I forgot I had posted this question. I figured it out yesterday morning and got my connection to open! Now I just need to figure out how to add the Firebird db to my data sources in VS 2005...
TC
|
|
|
|
 |
|
 |
In some cases this still is not enough. For example on a win2003 server it's impossible to get such an application run. I've trying now to include also the irectory Intl from the FBEmbed setup...
Also someone said that putting the above mentioned DLLs (fbemned, icuuc30, etc.) to the windows\system32 will solve the problem, but didnt
C#, ASPX, SQL, novice to NHibernate
|
|
|
|
 |
|
 |
dude u rock!, solved my daily headacke...
|
|
|
|
 |
|
 |
From the Firebird FAQ[^] it seems that Firebird uses a DLL called Fbembed.dll that is not managed. That is, embedding Firebird is unsafe in the C# / common language infrastructure sense of "unsafe". This means that an application that embeds Firebird cannot be installed in scenarios that require safe (trusted) applications. I wanted to point this out in case anyone else, like me, was searching for a safe embeddable SQL database setup.
SQLite with System.Data.SQLite seems to have the same characteristics.
The search continues..
By the way, does the term "embedded database" used in this article have a standard meaning? There is no Wikipedia entry for it.
|
|
|
|
 |
|
 |
Is it possible to change the password (masterkey) for the embedded?
|
|
|
|
 |
|
 |
Since the password for the Firebird database is not stored in the db there is no
point of doing that. If someone copies your db she/he will be able to open it with
the default sysdba/masterkey. The user/password has a meaning and point when remote
users are connecting to a Firebird server (when you can't get physical access to the db).
I think this is how it works on Fb.
|
|
|
|
 |
|
 |
Do you have any suggestions for database protection?
So nobody can easily open the firebird database file.
Thanks,
|
|
|
|
 |
|
 |
Firebird Defaults: User = "SYSDBA" Pass = "masterkey"
You can add new users or change password sysadmin user in
+ With Firebird 1.x: security.fdb
+ With Firebird 2.x: secutity2.fdb
You can find them in Firebird Folder.
Best regards
|
|
|
|
 |
|
 |
Hi;
I need some help connecting to a regular 1.5 Firebird database using VB.Net. Here's a sample of what I have and the error I'm getting. (I should point that I'm totally new to VB.Net)
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim myConnection As FbConnection
Dim myCommand As FbCommand
.....
The errors tell me that the FbConnection and FbCommand are undefined types. I have FirebirdClient-2.0 installed. I'm obviously leaving out whatever defines FbConnection and FbCommand, however I have know idea what I'm missing and could use a bit of assistance.
Thanks
|
|
|
|
 |
|
|
 |
|
 |
I installed the demo source for this article,
Embedded Firebird: Full-Featured Embedded Database with 2 MB Runtime
By Dan Letecky.
when I build the application I get this error
Error 1 The type or namespace name 'FirebirdSql' could not be found (are you missing a using directive or an assembly reference?) C:\firebirdASP\EmbeddedFirebirdExample\Form1.cs 7 7 EmbeddedFirebirdExample
I installed the ado.net provider, the using directive is there, and the assembly reference
what am I missing?? in visual studio 2005, how should I check if the provider is properly installed?
is there another demo code somewhere with detailled steps on installing the provider?
I am new at this, and probably missing a step
can somebody please help
Daniel
|
|
|
|
 |
|
 |
You need to install the Firebird.Net provider too.
Usually it installs to C:\Program Files\FirebirdNETProvider1.7
Then you need to add a reference to the "FirebirdSql.Data.Firebird.dll" file.
It is just like using any other assembly.
|
|
|
|
 |
|
 |
Thanks for the reply
isn't
FireBirdSQL.Data.FirebirdClient not the provider for .net 2.0?
or I need to install both?
if not what is it?
Daniel
|
|
|
|
 |