Solved

Connecting to Postgres DB with Excel

Posted on 2011-09-14
4
637 Views
Last Modified: 2013-11-05
Hi

I want to create a data connection from excel to Postgres by using ODBC.  I'm using ODBC for my application to connect to postgres and the ODBC is working fine, but thru excel the following error occur - Operation cannot be executed because an error occurred during connection to the driver, error also attached.

I'm using Microsoft Office Professional Plus 2010 and Postgres 8.2.4.1, with ODBC driver version 7.03.01.00 from Insight Distribution Systems .  If somebody can please help me for just connecting to postgres from excel.

Thanks
Excel-Error-Postgres-ODBC.png
0
Comment
Question by:ruanlab123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:XL-Dennis
ID: 36548652
Hi,

Would it be possible for You to provide us the connection string?
0
 
LVL 1

Accepted Solution

by:
ruanlab123 earned 0 total points
ID: 36559817
Found the problem, use the x64 postgres driver and then the connection works.
0
 
LVL 1

Author Closing Comment

by:ruanlab123
ID: 36591576
No comments.
0
 
LVL 10

Expert Comment

by:XL-Dennis
ID: 36562977
Thanks for posting back. Please close this thread and no points should be given.

Kind regards,
Dennis
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question