Connecting to ODBC Data Source in Visual Studio - windows

I had this working on my old 32-bit Windows 7 machine running VS 2010 but am having trouble on my new 64-bit Windows 7 machine running VS 2015.
All I want to do is add an Oracle ODBC connection to Visual Studio's Server Explorer. I get the following error:
I have successfully configured and set up the 32-bit and 64-bit ODBC utilities with ODBC drivers, both pass the "test connection". Also I have set up Oracle SQL Developer to connect to the exact same source using the same credentials and I am able to read from the server in question. Here is the successful connection attempt in the ODBC utility:

I removed the Oracle ODP.NET developer toolset for Visual Studio and now the connections are working. I find Oracle's software incredibly frustrating and hard to use.
Wernfried thank you for taking the time to help.

Related

Connect to Informix database using Visual Studio 2013

I want to connect to informix database from Visual Studio 2013. I've checked the IBM site and it contains whole lot of drivers and plugins. I've installed Client SDK and then I installed IBM server driver package then I installed Visual Studio add-in.
I tried connecting using setnet 32 and I'm able to succeed.
I'm able to connect to database using Squirrel and IBM Data Studio.
I'm able to connect to server using Visual Studio but it crashes when I opened a new query.
How can I connect to an Informix database from Visual Studio 2013?
Can you please clarify how are you trying to connect IDS database.
Are you trying to connect the database by using application code such as ODBC, .NET, ESQL/C etc while it is debug using VS.
Or
are you trying to create a connection node under VS database explorer.
If it is VS database explorer then Informix CSDK do not have support for it.
You will have to install IBM Database Add-Ins for Visual Studio 2013.
This Add-Ins are part of IBM Data Server driver package.
This connectivity uses DRDA protocol, so you will have to enable DRDA port on the IDS server.
Then try create VS database explorer entries by specifying the DRDA port.
(or connect if the entry already exist)

Oracle Connection through Visual Studio 2013

I'm trying to use the Microsoft Connectors v2.0 for Oracle (https://www.microsoft.com/en-us/download/details.aspx?id=29283) to connect to an Oracle database through SSIS.
I am running Windows 7 SP 1 (64-bit), with Visual Studio 2013 Ultimate. I have installed the connector:
I also have the 32-bit Oracle client installed on my machine for PL/SQL Developer - it works.
But when I create a package in VS 2013 and try to connect to the Oracle DB - I don't have the option to connect to the Oracle source:either by trying to add a new connection through the connection manager or creating a Data Flow Task and dragging the Oracle Source from "Other Sources" within the data flow.
Any suggestions on how to make this work?
Thanks,
Apparently you need the Microsoft Connectors v3.0 for Oracle to work with VS 2013.
Microsoft Connectors v3.0 for Oracle and Teradata

Visual studio wont open mdf file

The problem I have is that I'm unable to open my mdf file in Visual Studio 2010. I installed VS2010 along time ago, but just installed SQL server 2008 R2 few days ago.
I made the file in VS2010 and then attach it to SQL server in Management Studio to run a script I have to create all tables and such.
I then detach it in Management Studio and try to view it in VS2010 and get an error telling me that I cannot open database version 661. I can only go as high as 655.
I know this is because VS2010 is using SQL server 2008, but Management Studio is SQL Server 2008 R2.
How can I make VS2010 compatible with SQL Server 2008 R2?
You simply need to upgrade the local version 2008 Express to R2. You'd be able to open your file after that.
I had this problem too, but my problem was solved when I did this:
When you are opening SQL Server Managemnt Studio, in the connect to server window, type "\SQLEXPRESS" after the server name (your server name\SQLEXPRESS), then attach your database. When you detach it, it is compatible with VS2010. I hope this helps you.

OraOLEDB.Oracle not showing in SQL Server Management Studio providers

I'm trying to add an Oracle server as a linked server to SQL Server. I've downloaded and installed Oracle's instant client and ODAC software. However, OraOLEDB.Oracle does not show up in the list of providers in SSMS. My machine is running Windows 7 (64 bit) and MSSQL Server 2008 R2.
I am trying to fix this same issue. I found this detailed set of instructions, however they didn't work for me. I encountered some installation errors with ODAC. Perhaps they can be of help to you though.
Installing 64-bit Oracle ODAC 11.2 to Microsoft SQL Server 2008 R2 x64
http://nampark.wordpress.com/2011/01/20/installing-64-bit-odac-11-2-to-microsoft-sql-server-2008-r2-x64-for-replication/
OraOLEDB provider is not installed with instant client. You have to install the full client.

Unable to Load Database project in VS2008

I have Database project which I'm unable to load in VS2008 and I have SQL Server 2008 Express edition installed on my machine..
I get following error message, when I try to load
Database projects require a connection
to a local instance of Microsoft SQL
Server 2005 for design-time
validation. To perform this operation,
you must open the Tools menu, click
Options and specify an instance of SQL
Server 2005 that is running and to
which you can connect in the Database
Tools, Design-time Validation Database
property page. When that is corrected,
you must then refresh or reload the
database project.
Any suggestions/update to solve this issue?
You don't mention if you have VS2008 SP1 installed, but this is a requirement for SQL Server 2008 support in Visual Studio (KB956139)
Did you verify your instance name is correct? Tools > Options > Database Tools > Data Connections -> SQL server instance name: SQLEXPRESS (or the name you chose during install)
Does your instance accept remote connections? (mine always does, not sure if this is required) (Source)
I know this is an old thread, but...
Were you able to get this combination working? Visual Studio 2008 with SQL Server Express 2008? I had the same issue that no matter what I entered into the instance fields in the Tools->Options->Database Tools boxes, it said I did not have them entered.
From what I could find on the interwebs, everything indicated that SQL Server Express 2008 should work with Visual Studio 2008 as long as you have the SP1 installed. I tried reinstalling SP1, but received the same error - "no instance specified".
So I downloaded and installed SQL Express 2005 x64 and specified a new instance name, SQLEXPRESS2005. Then I plugged that into Visual Studio 2008's settings and it worked right away.

Resources