Solved

Connecting to Postgres DB with Excel

Posted on 2011-09-14
4
623 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
  • 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

856 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