From: benny <be...@ch...> - 2004-03-11 08:54:52
|
Hi,=20 I tried installing the FirebirdNETProvider1.5-NET1.1, there are = sample for me to tried - CSharpExample.aspx, and VBNETExample.aspx ... I could run the CSharpExample.aspx successfully that prove I could = connect to Firebird1.5RC7 that I am using ... But I failed to run the = sample VBNETExample.aspx. I have the following error while running on Web Matrix0.5:- BC30451: Name 'FbDbType' is not declared. Source Error: Line 69: myCommand =3D new FbCommand(selectCmd, myConnection, = MyTxn) Line 70: =20 Line 71: myCommand.parameters.add("@EMP_NO", FbDbType.SmallInt) Why? Anyone there know any configuration I missed out during = installation of FirebirdNETProvider1.5-NET1.1 or any mistake I might = made?=20 TIA=20 regards, benny ;)=20 |
From:
<car...@te...> - 2004-03-11 12:19:07
|
Hello: > Why? Anyone there know any configuration I missed out during > installation of FirebirdNETProvider1.5-NET1.1 or any mistake I might made? It's working for me, are you sure you are working against 1.5 ?? ( 1.0 has no FbDbType enumeration ) -- Best regards Carlos Guzmán Álvarez vigo-Spain |
From: <car...@te...> - 2004-05-21 10:04:08
|
Hello: > It's working for me, are you sure you are working against 1.5 ?? ( 1.0 > has no FbDbType enumeration ) Just remove the bin directory that is in the examples dir. (I have deleted it yet from CVS and i'm going to update the 1.5.3 sources package) Thanks to Horacio Doglio that pointed out the problem :) -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: benny <be...@ch...> - 2004-03-12 03:33:45
|
> Why? Anyone there know any configuration I missed out during=20 > installation of FirebirdNETProvider1.5-NET1.1 or any mistake I might = made? =20 > It's working for me, are you sure you are working against 1.5 ?? ( 1.0 = > has no FbDbType enumeration ) =20 Carlos Guzm=E1n =C1lvarez, I am using Firebird1.5RC7 and I download = FirebirdNETProvider1.5-NET1.1.exe (binary) format from the site=20 http://sourceforge.net/mailarchive/forum.php?thread_id=3D3869373&forum_id= =3D12591. At the same time I have Microsoft .Net framework 1.1=20 Microsoft . Net Framework SDK 1.1 that run on Win Xp. I still have the problem of 'FbDbType' is not declared while = running the Firebird.net data provider 1.5 sample[VBNETExample.aspx] = using Web Matrix 0.5 that I still haven't solved.=20 the sample I could run successfully is CSharpExample.aspx where I = made changes on Web.config :- <add assembly=3D"FirebirdSql.Data.Firebird, location=3DC:\Program = Files\FirebirdNETProvider1.5\FirebirdSQL.Data.Firebird.dll, =20 Version=3D1.5.1334.34352, Culture=3Dneutral, = PublicKeyToken=3De1b4f92304d7b12f" /> Did I done anything wrong? or anyone could tell me the reason why I = could try on connecting database but failed on making further select = statement..... ? =20 TIA=20 regards, benny ;) =20 |
From:
<car...@te...> - 2004-03-12 09:46:21
|
Hello: > Did I done anything wrong? or anyone could tell me the reason why I > could try on connecting database but failed on making further select > statement..... ? Try witout the path and without the extension and modify the version and the PublicKeyToken to the values that the assembly have in the GAC -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: benny <be...@ch...> - 2004-03-12 11:28:06
|
> Did I done anything wrong? or anyone could tell me the reason why = I=20 > could try on connecting database but failed on making further select = statement..... ? =20 Carlos Guzm=E1n =C1lvarez wrote >Try witout the path and without the extension and modify the version = and=20 > the PublicKeyToken to the values that the assembly have in the GAC Carlos Guzm=E1n =C1lvarez, did u mean by making modification on the web.config file on part of = following ?=20 <compilation> <assemblies> <add assembly=3D"FirebirdSql.Data.Firebird, = Version=3D1.5.1512.22880, Culture=3Dneutral, = PublicKeyToken=3De1b4f92304d7b12f" /> </assemblies> </compilation> I made changes on the Version and PublicKeyToken according to the = info on the C:\WINDOWS\assembly where I have Global Assembly Name of=20 FirebirdSql.Data.Firebird with the value of version and public key token = ... is tat the assembly u refer ? or u refer to another another place? = As I still have the same problem of 'FbDbType' is not declared on = sample of vbnetexample.aspx but I could still work on = CSharpExample.aspx.. Basically, I just can declare the type e.g FbConnection, = FbTransaction ... but not 'FbDbType'. I just install the = FirebirdNETProvider1.5-NET1.1.exe (binary) and try the sample straight = away... Is there any further configuration I might miss out before = trying my sample using web matrix0.5 ?=20 TIA=20 benny ;) |
From:
<car...@te...> - 2004-03-12 11:49:04
|
Hello: > I made changes on the Version and PublicKeyToken according to the > info on the C:\WINDOWS\assembly where I have Global Assembly Name of > FirebirdSql.Data.Firebird with the value of version and public key token > ... is tat the assembly u refer ? Yes. > As I still have the same problem of 'FbDbType' is not declared on > sample of vbnetexample.aspx but I could still work on CSharpExample.aspx.. > Basically, I just can declare the type e.g FbConnection, > FbTransaction ... but not 'FbDbType'. I just install the > FirebirdNETProvider1.5-NET1.1.exe (binary) and try the sample straight > away... Is there any further configuration I might miss out before > trying my sample using web matrix0.5 ? No, if you want you can try to put the assembly in a bin directory ( in the same directory where the sample is located ), and modify the web.config as: <add assembly="FirebirdSql.Data.Firebird" /> But as i tell i have done a test yesterday and both samples are working ok for me using WebMatrix -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: benny <be...@ch...> - 2004-03-12 13:20:15
|
> Carlos Guzm=E1n =C1lvarez wrote:- >No, if you want you can try to put the assembly in a bin directory ( in = >the same directory where the sample is located ), and modify the=20 >web.config as: <add assembly=3D"FirebirdSql.Data.Firebird" /> >But as i tell i have done a test yesterday and both samples are working = >ok for me using WebMatrix Carlos Guzm=E1n =C1lvarez, I tried the following method:- 1. <assemblies> <add assembly=3D"FirebirdSql.Data.Firebird,=20 location=3DC:\Program = Files\FirebirdNETProvider1.5\examples\ASP.NET\bin\FirebirdSql.Data.Firebi= rd.dll" /> -work on CSharpexample.aspx not VBnetexample.aspx [Err: Name 'FbDbType' = is not declared.] where my sample are on C:\Program = Files\FirebirdNETProvider1.5\examples\ASP.NET=20 2. <assemblies> <add assembly=3D"FirebirdSql.Data.Firebird, version=3D1.5.1512.22880, Culture=3Dneutral, = PublicKeyToken=3De1b4f92304d7b12f"/> </assemblies> * the version and publickeytoken is according to C:\WINDOWS\assembly = FirebirdSql.Data.Firebird=20 - work on CSharpexample.aspx not VBnetexample.aspx [Err: Name = 'FbDbType' is not declared.] where my samples are on C:\Program = Files\FirebirdNETProvider1.5\examples\ASP.NET - not work on both example where my samples are on C:\Program = Files\FirebirdNETProvider1.5\examples\ASP.NET\bin that bin have = FirebirdSql.Data.Firebird.dll [Err: Server Error in '/' Application] 3. <assemblies> <add assembly=3D"FirebirdSql.Data.Firebird"/> </assemblies> - not work on both example=20 where my samples are on C:\Program = Files\FirebirdNETProvider1.5\examples\ASP.NET\bin, that bin have file = FirebirdSql.Data.Firebird.dll=20 [Err: File or assembly name FirebirdSql.Data.Firebird, or one of its = dependencies, was not found ] On your looks fine, but unfortunately I still hadnt know what mistakes I = had made on my Win Xp platform..... TIA=20 regards, benny ; ) |
From:
<car...@te...> - 2004-03-12 13:59:51
|
Hello: > 3. <assemblies> > <add assembly="FirebirdSql.Data.Firebird"/> > </assemblies> > - not work on both example > where my samples are on C:\Program > Files\FirebirdNETProvider1.5\examples\ASP.NET\bin, that bin have file > FirebirdSql.Data.Firebird.dll > [Err: File or assembly name FirebirdSql.Data.Firebird, or one of its > dependencies, was not found ] Well seems that you have anything bad but i don't know what, i have this in my web.config file: <compilation> <assemblies> <add assembly="FirebirdSql.Data.Firebird" /> </assemblies> </compilation> The ASP.NET samples directory has the VB.NET and C# samples, the web.config file and a bin directory with the .NET provider assembly and runs fine. -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: benny <be...@ch...> - 2004-03-16 10:06:50
|
Hi, Too sad for me to say I still hadn't solve the problem... I tried in = another platform e.g. Win2k but unfortunely I still have the same = problem when I tried on the=20 FirebirdNETProvider1.5.1-NET1.1 on the vbnetexample....=20 I think of another alternative is to build the = FirebirdSql.Data.Firebird.dll using nant...[I had download the = FirebirdNETProvider1.5.1-Src.zip and nant-0.84.zip] But I am not = familiar with it plus what the readme.txt had mentioned:- For build it you only need to exececute nant on the same directory as = the build file. [Is it refer to FirebirdSql.Data.Firebird build file??] - The Nant build file generates (inside framework version directory = net-1.0, net-1.1, ...): [does it mean I need to copy the file NAnt.exe = and NAnt.exe.config to=20 the folder where contain Build dos batch file??? ]=20 I tried on using build command where located at C:\Program = Files\FirebirdNETProvider1.5\NETProvider\NETProvider_15\=20 and I put the NAnt.exe and NAnt.exe.config to there as well ... but I = have error ... then I tried to copy the whole file consist in bin folder :- = ..\nant-0.84\bin then it seem no error but I can't see the file e.g = FirebirdSql.Data.Firebird.dll .. and after that I still have problem of 'FbDbType' is not declared on = vbnetsample..=20 Could anyone show me some hints ? TIA regards, benny |
From:
<car...@te...> - 2004-03-16 10:55:03
|
Hello: > - The Nant build file generates (inside framework version directory > net-1.0, net-1.1, ...): [does it mean I need to copy the file NAnt.exe > and NAnt.exe.config to > the folder where contain Build dos batch file??? ] No, the best is to add the nant-bin directory to the PATH and execute one of the .BAT files that are in the Firebird .NET provider sources directory. You can modify too the nant config file for set the default framework to the one you are using. -- Bets regards Carlos Guzmán Álvarez Vigo-Spain |
From: benny <be...@ch...> - 2004-03-17 10:01:28
|
Carlos wrote:- The ASP.NET samples directory has the VB.NET and C# samples, the=20 web.config file and a bin directory with the .NET provider assembly and = runs fine. Hi,=20 I built the FirebirdSql.Data.Firebird.dll finally, but why I din see = the FirebirdSql.Data.Firebird.UnitTest.dll ?... and did nant actually = have add the assembly to=20 C:\Windows\assembly ??=20 And finally, I found a solution on the problem on 'FbDbType' by = replacing it using 'FbType' .... After that vbnetexample looks fine. = does it mean the sample have to be modified in order to work? TIA regards, benny=20 =20 |
From:
<car...@te...> - 2004-03-17 10:12:02
|
Hello: > I built the FirebirdSql.Data.Firebird.dll finally, but why I din see > the FirebirdSql.Data.Firebird.UnitTest.dll ? Do you have NUNit 2.1 installed ?? >... and did nant actually > have add the assembly to > C:\Windows\assembly ?? Use gacutil.exe for install it in the GAC > And finally, I found a solution on the problem on 'FbDbType' by > replacing it using 'FbType' .... After that vbnetexample looks fine. > does it mean the sample have to be modified in order to work? No, FbType was defined only in 1.0, 1.5 and 1.6 have defined FbDbType. -- Best regards Carlos Guzmán Álvarez Vigo-Spain |