As I understood, you want the client and the server on the same machine. In this case:
1) Deploying a full-blown FB on a client makes not much sense. There is an embedded (ServerType=1) edition of FB (read
this little bit outdated article to get an overview).
2) How exactly do you perform the FB deployment? Are you sure, that the service is started? Have you checked on the client that you can connect with the same parameters using
FlameRobin for example?
3) As backslash is an escape character, be sure to use proper c# string literal:
connectionString=@"...
or double the backspaces.
4) With ServerType=0 you have to specify the server name in the connection string (
localhost
in your case). See:
DataSource property here:
http://connectionstrings.com/firebird#p57. This can be omitted only with embedded server.
5) Be sure that the user running the full-blown or embedded server has r/w access to the file.
If I have misunderstood, and client and server are on different machines, than you do not need to deploy the original FB package at all (
http://www.firebirdsql.org/en/firebird-net-provider-faq/#6[
^]), but all other considerations still stand.
+1) If none of this helps, the
exact text of the exception would be also helpfull...