Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sCFor-004H6B-Lm for pgsql-general@arkaria.postgresql.org; Wed, 29 May 2024 09:42:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sCFor-00EOQP-M8 for pgsql-general@arkaria.postgresql.org; Wed, 29 May 2024 09:42:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sCFor-00EOQG-4q for pgsql-general@lists.postgresql.org; Wed, 29 May 2024 09:42:05 +0000 Received: from smtp2.us.opalstack.com ([23.106.47.103]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sCFoo-002V8K-I5 for pgsql-general@lists.postgresql.org; Wed, 29 May 2024 09:42:03 +0000 Received: from [192.168.2.217] (syn-066-075-224-100.res.spectrum.com [66.75.224.100]) by smtp2.us.opalstack.com (Postfix) with ESMTPSA id 0FEE218E7EE for ; Wed, 29 May 2024 09:41:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getspatial.com; s=dkim; t=1716975720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=J/HM7Hs91cA8Z4ZJDv/SIAnrLQhUaKR9/KnFU3KwTFA=; b=OYJCyNE6VTbdh8b7gs3EZBO+s/pRP/qK4ZlGvVzBDvSvhO+zpsnd1ydIhBbXF0921SuTC2 7S+Jsa8p/XdqZdNnVB6r3xr2eyAwEoGe3x8QfsL1rRvIN3/W1qHLCYeF8+HKrHft/x/WLy VX1Zd8vgoQYDlJw+UHAfVPTkiWc4TVE= Message-ID: Date: Wed, 29 May 2024 02:41:58 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: pgsql-general@lists.postgresql.org From: Russell Mercer Subject: Unable to connect to any data source for foreign server Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.20 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, I'm running into a problem connecting to a foreign server with my Postgres database.  I am using the OGR_FDW trying to connect to an Excel "XLSX".  I had this database on another server, and the foreign server was set up and working properly there.  I am trying to change the path to the file which it is referencing, and I am now receiving an error.  In addition, I tried to just create a new foreign server to that same "XLSX" file and it also gave the error of "Failed to connect to data source". I used the OGR_FDW_INfo tool to make sure I had the foreign server reference structured correctly, but it matches what I had before, and didn't make a difference. I'm a bit lost as to where to look for possible solutions.  One idea I have is that perhaps it is a permissions issue with accessing other files on the server where Postgres is installed, with the "postgres" user. Some basic info: Server:  Windows Server 2022 PostgreSQL 16.2 - Installed using Stack Builder Any information or ideas as to a solution, would be very much appreciated. Thanks, Russell