|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
MS ASP.NET Web Matrix with FirebirdSql
does anyone know wat's the problem with this code? it works fine if i connect to Sql Server and fill a dataset. the code is as follows:
. . . using FirebirdSql.Data.Firebird; . . . [WebMethod] public DataSet newDS { string strcon = "..."; string strcom = "..."; FbConnection fbcon = new FbConnection(strcon); FbDataAdapter da = new FbDataAdapter(strcom, strcon); DataSet ds = new DataSet(); da.Fill(ds, "tableName"); return ds; } the error message is as follows: Compiler Error Message: CS0246: The type or namespace name 'FirebirdSql' could not be found (are you missing a using directive or an assembly reference?) Source Error: Line 4: using System.Web.Services; Line 5: using System.Xml.Serialization; Line 6: using FirebirdSql.Data.Firebird; |
|
#2
|
||||
|
||||
|
you need to add the dll (.net provider) to the reference folder in vs.net
ps: i found the answer on google , don't know too much about vs ![]() |
|
#3
|
|||
|
|||
|
thanks for the idea. i have added the .net provider to my class reference in Web Matrix and VS.Net. the problem is more like this. i run the app in Web Matrix, it will say "namespace name 'FirebirdSql' could not be found" but when i run it in VS.Net, the Web Service's method will show but will not work once i click on the "Invoke" button. the supposed xml generated thereafter appears to be empty.
|
|
#4
|
|||
|
|||
|
The problem has been solved. The Web Service actually works fine in my own PC. I tested it by writing an app to call that WS. It works fine. Thanks.
|
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > MS ASP.NET Web Matrix with FirebirdSql |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|