Click here to Skip to main content
15,918,742 members
Articles / Database Development / SQL Server / SQL Server 2008R2
Tip/Trick

Connect Visio 2007 to any SQL Server Version after SQL Server 2005

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
16 Sep 2014CPOL 14.5K   67   4
How to connect Visio 2007 to SQL Server 2008 R2 for reverse engineering

Introduction

There is an immense need to do reverse engineering of some data tables and generate a relationship snap between them. Visio gives a powerful functionality of connecting to underlying DB and getting a relationship snap.

When you try to connect Visio 2007 with SQL Server 2008 R2 or any version above SQL Server 2005 with SQL Server driver, it gives an incompatibility warning.

How to Connect Visio 2007 to SQL Server 2008 R2

There is a way round to perform the task.

  1. Select the 'Generic OLEDB Provider' for Installed Visio driver option.
  2. Click on the next button and select 'Microsoft OLEDB Provider for SQL Server' as an option for Data Link Properties window.
  3. Click Next and provide the credentials, and list the database.
  4. Select the db objects and click ok.

 

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
India India
I have around 6 Yrs of experience in developing web based application using the following Skills:-
1. Asp.Net 2.0 to 4.5
2. C#
3. Javascript and JQuery
4. Kendo UI
5. Webservices/WCF
6. SSIS
7. SQL Server 2000 - 2008
8. PL/SQL, T-SQl
9. Jitterbit

Comments and Discussions

 
GeneralVery Helpful and recommended to all Pin
shubhampareta20-Sep-14 2:47
shubhampareta20-Sep-14 2:47 
QuestionWhy some one would connect visio to sql server Pin
Tridip Bhattacharjee17-Sep-14 5:02
professionalTridip Bhattacharjee17-Sep-14 5:02 
AnswerRe: Why some one would connect visio to sql server Pin
Anusheel Kamle19-Sep-14 17:11
professionalAnusheel Kamle19-Sep-14 17:11 
Developers connect Visio to sql to do a reverse engineering and try to get a database snap shot with all the referential integrity, this would serve many purposes.

sometimes people argue that when Sql itself can provide the database diagram why then visio is suppused to be used. Well the one liner simple answer to this is, to keep and maintain a proper design document file in a right designing tool. The database diagram provided by sql can be only taken as a snapshot.
Anusheel Kamle

GeneralMy vote of 5 Pin
mk13316-Sep-14 23:24
mk13316-Sep-14 23:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.