Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 31B899FB46E for ; Mon, 7 May 2007 20:39:03 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 27604-01 for ; Mon, 7 May 2007 20:39:00 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by postgresql.org (Postfix) with ESMTP id D20029FB4EB for ; Mon, 7 May 2007 20:38:59 -0300 (ADT) Received: by nz-out-0506.google.com with SMTP id s1so1861917nze for ; Mon, 07 May 2007 16:38:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:x-mimeole:thread-index; b=GLkXBOyikkW9y0thuqplJkTkdLVLeKd8IBe44FHFFTZupnP1XGsB3I9G+12I8UTqvO5iYvhIF/8/xiC5j1oIyGR9pGWnipA/KVrvLh+5ytKm4ZHd30jxiZjT+qgUj4tMN6Q9fQ5Q9aUMc+jDNXtmZgDLHP4geSWH8heWkssajjk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:x-mimeole:thread-index; b=g0jZJjE/5nIR77K7O6uXdcDBecaLYqbxCrw6V31MkLxqutb0qjoGBiDeej/ac9NUSImQgjltzwagC5HiENjNCo9Ug3O+fyiHalmed3gwJy2l2gBLJVKNI9wFpO0j7Z3pdFWBC+6FJNfqHCO1LP2afx6ePNoDt7tJ4koYASLlB90= Received: by 10.65.115.4 with SMTP id s4mr11068857qbm.1178581138072; Mon, 07 May 2007 16:38:58 -0700 (PDT) Received: from mis06 ( [205.214.220.146]) by mx.google.com with ESMTP id r15sm6496089nza.2007.05.07.16.38.55; Mon, 07 May 2007 16:38:56 -0700 (PDT) From: "Rommel the iCeMAn" To: Subject: Re: Error: Input string was not in a correct format Date: Mon, 7 May 2007 19:37:25 -0400 Message-ID: <000401c79100$ad910b60$b364a8c0@theport.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AceQ/dRRDo0duZ3MSKqmJW/nMyStwgAAgwwg X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/49 X-Sequence-Number: 28330 Ok guys, Sorry for the false alarm. I solved the problem. When I define my parameters in .NET in the order they are listed in pgAdmin, the function call works. If I use the order that they are listed in Visual Studio's Server Explorer, the function call fails. It appears Visual Studio's Server explorer is listing my function parameters incorrectly. Thanks anyways. Rommel Edwards Software Developer, Barbados, Caribbean.