From: Jim M. <jim...@co...> - 2003-08-27 21:12:39
|
Using Visual Studio C#, .net 1.0, Firebird 1.03, firebird net provider = 1.0.1241.28320. I'm trying to copy an application over to a new machine (New). I have = it working on my development machine (Dev). I installed .Net, Visual = Studio, Firebird, net provider. I can access the database on the New = machine from the Dev machine using net-provider by pointing my = connection string to it. The same connection string fails on the New = machine (I have tried LOCALHOST instead of the 192.168.1.3! On the New machine I can access the db using IB_SQL or IBExpert. However, when I run the app from the New machine with Visual Studio, I = get the "invalid PInvoke metadata format" exception on the connect. = Here is my connection code: FbConnection dbcon =3D new = FbConnection("Database=3DC:\\cpt\\cpt.gdb;User=3DSYSDBA;Password=3Dmaster= key;Dialect=3D3;Server=3D192.168.1.3"); dbcon.Open(); //exception thrown here The new machine runs Win XP professional, same as my development = machine. I am at a loss as to what to look for next. Tried everthing I = can think of, but it must be some configuration problem. I made sure = that the ASP.NET User account has proper rights. Thanks for your help! I've had very few problems with your net provider = until now. |