This question is locked. New answers and comments are not allowed.
Hello,
I'm trying to set up the connection with database from OpenAccess. The first problem is during test of connection it shows the message that it can't find "Cause: System.IO.FileNotFoundException: Could not load file or assembly 'FirebirdSql.Data.FirebirdClient, Version=2.1.0.0, Culture=neutral, PublicKeyToken="
I think 2 reasons may cause this message:
1. There is not this file in the right place
2. There is file but it has different version of assembly.
Please, answer:
1. Where should this file be placed ?
2. Is it important to use exact this version of assembly? What if I have 2.5.1.0, will it work?
Thanks
I'm trying to set up the connection with database from OpenAccess. The first problem is during test of connection it shows the message that it can't find "Cause: System.IO.FileNotFoundException: Could not load file or assembly 'FirebirdSql.Data.FirebirdClient, Version=2.1.0.0, Culture=neutral, PublicKeyToken="
I think 2 reasons may cause this message:
1. There is not this file in the right place
2. There is file but it has different version of assembly.
Please, answer:
1. Where should this file be placed ?
2. Is it important to use exact this version of assembly? What if I have 2.5.1.0, will it work?
Thanks
5 Answers, 1 is accepted
0
Hello JK,
I assume that you have downloaded the FirebirdSql.Data.FirebirdClient.dll version 2.5.1.0 somewhere on your machine. In order this particular version to be used, you can add the following <dependentAssembly> node to your App.config file inside the OpenAccess-enabled project:
This would fix the problem during runtime of the application. To make it work in design time as well (when the wizards are used), add the same node to the machine.config or devenv.exe.config file residing in the install path of Visual Studio. Hope that helps.
Regards,
Alexander
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I assume that you have downloaded the FirebirdSql.Data.FirebirdClient.dll version 2.5.1.0 somewhere on your machine. In order this particular version to be used, you can add the following <dependentAssembly> node to your App.config file inside the OpenAccess-enabled project:
<
configuration
>
<
runtime
>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"FirebirdSql.Data.FirebirdClient"
publicKeyToken
=
"3750abcc3150b00c"
culture
=
"neutral"
/>
<
bindingRedirect
oldVersion
=
"2.1.0.0"
newVersion
=
"2.5.1.0"
/>
<
codeBase
version
=
"2.5.1.0"
href
=
"C:\FirebirdSql.Data.FirebirdClient.dll"
/>
</
dependentAssembly
>
</
assemblyBinding
>
</
runtime
>
...
</
configuration
>
Regards,
Alexander
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
JK
Top achievements
Rank 1
answered on 08 Nov 2009, 06:52 AM
Hello,
It helped but a little bit that's almost nothing. Because I have the next problem - wizard can't establish the connection with database. I suspect that it doesn't know the server of embedded db that is just fbembed.dll. But there is no word in your "help" how to set up the path to this file.The working with you "ORM" is so painful that I'm thinking about giving of using it at all, I spent too much time and efforts without any success. By the way I suggest you to think about firing your technical writer because these so obvious things should be in you "help".
Cheers
It helped but a little bit that's almost nothing. Because I have the next problem - wizard can't establish the connection with database. I suspect that it doesn't know the server of embedded db that is just fbembed.dll. But there is no word in your "help" how to set up the path to this file.The working with you "ORM" is so painful that I'm thinking about giving of using it at all, I spent too much time and efforts without any success. By the way I suggest you to think about firing your technical writer because these so obvious things should be in you "help".
Cheers
0
JK
Top achievements
Rank 1
answered on 08 Nov 2009, 07:18 AM
And by the way, fire your build engineer because there is no any "Uninstall" link or button. Bad manners.
Cheers
Cheers
0
Hi JK,
We are truly sorry for any inconvenience this might have caused you. Since we inherited the documentation we are putting constant effort in revising/rewriting parts that are unclear or misleading. That is why we greatly appreciate any comments and suggestions on improving this aspect of our product. We will revise the entire firebird part and update it with the latest information needed. Please find your Telerik points updated.
All the best,
Petar
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
We are truly sorry for any inconvenience this might have caused you. Since we inherited the documentation we are putting constant effort in revising/rewriting parts that are unclear or misleading. That is why we greatly appreciate any comments and suggestions on improving this aspect of our product. We will revise the entire firebird part and update it with the latest information needed. Please find your Telerik points updated.
All the best,
Petar
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
harry
Top achievements
Rank 1
answered on 19 Jan 2010, 04:03 PM
if you're using embedded server without a running firebird server on your machine you'll have to copy the embedded firebird files to the directory of your visual studio devenv.exe file (i.e.: ..\Microsoft Visual Studio 9.0\Common7\IDE)
regards harry
regards harry