Solved

Connecting to Postgres DB with Excel

Posted on 2011-09-14
4
625 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel conditional formating based on a date, in a cell with a formula 22 30
Tricky Shapes formula 3 18
Tricky shapes formula part 2 4 21
Tricky shapes formula part 3 4 32
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

733 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