Unix Technical Forum

Error Message: invalid command-line arguments for serverprocess

This is a discussion on Error Message: invalid command-line arguments for serverprocess within the Pgsql General forums, part of the PostgreSQL category; --> I am getting an error trying to connect to PostgreSQL db using Visual Basic.NET 2005. The error message is ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 07:19 PM
Anthony W. Brock
 
Posts: n/a
Default Error Message: invalid command-line arguments for serverprocess

I am getting an error trying to connect to PostgreSQL db using Visual
Basic.NET 2005. The error message is "FATAL: invalid command-line
arguments for server process. HINT: Try "postgres --help" for more
information."

Here is a the snippet of code to create connection. Looking for
suggestions on what the problem may be and how to solve it. We just
made the switch recently from MSSQL to PostgreSQL 8.2.


Private sConnString As String _
= "Provider=PostgreSQL;Addr=127.0.0.1;User
ID=postgres;Password=ourpassword;Database=AUDIOCAT "
Private objConn As New OleDbConnection(sConnString)
Private objCmd As New OleDbCommand

Public Function dbOpenConn() As Boolean

Try
objConn.Open()
objCmd.Connection = objConn
Catch ex As Exception
'Console.WriteLine(ex.Message)
OutputToLog("ERROR (Opening Database Connection): " & ex.Message)
frmMain.lblStatus.Text = "Error Occurred! Check
application log for details."
Return False
End Try
Return True

End Function


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:23 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com