Обсуждение: Hello
Hello Sir, I am using PostGreSql ,I want an oledb provider for the postgre in order to connect through.net to a postgre Database, I installed the pgoledb.dll and I registered it and in the connection string I am using the �Provider=PostgreSQL.1 . . . ,but the following error is occurring. Error: System.Data.OleDb.OleDbException: FATAL: invalid command-line arguments for server process HINT: Try "postgres --help" for more information. I need help how I can fix this problem. Thank you
Vahe Ghorghorian wrote: > Hello Sir, > > I am using PostGreSql ,I want an oledb provider for the postgre in order > to connect through.net to a postgre Database, I installed the > pgoledb.dll and I registered it and in the connection string I am using > the �Provider=PostgreSQL.1 . . . ,but the following error is occurring. > > Error: System.Data.OleDb.OleDbException: FATAL: invalid command-line > arguments for server process HINT: Try "postgres --help" for more > information. It seems to be saying the problem is with the server, not the oledb provider. Can you access PostgreSQL from psql or pgadmin? Do the server logs show anything interesting? -- Richard Huxton Archonet Ltd
On 8/3/05, Vahe Ghorghorian <blackmambas79@hotmail.com> wrote: > Hello Sir, > > I am using PostGreSql ,I want an oledb provider for the postgre in order to > connect through.net to a postgre Database, I installed the pgoledb.dll and I > registered it and in the connection string I am using the > "Provider=PostgreSQL.1 . . . ,but the following error is occurring. > > Error: System.Data.OleDb.OleDbException: FATAL: invalid command-line > arguments for server process HINT: Try "postgres --help" for more > information. > > > > I need help how I can fix this problem. Thank you > > Maybe what you want is npgsql: http://gborg.postgresql.org/project/npgsql/projdisplay.php -- regards, Jaime Casanova (DBA: DataBase Aniquilator ;)