Unable to connect Oracle 11g via Visual Studio 2015

We have a project built on .NET 4.0 framework in Visual Studio 2010. Database is on Oracle 10g server. We are trying to migrate the project to Visual Studio 2015. In the meantime as we encountered Oracle 10g client is not suitable for windows 7 and windows 7 is must for VS 2015. So we installed 64-Bit Oracle 11g enterprise manager client in windows 7 and trying to connect with visual studio 2015.

Through Oracle 11g SQL Developer we are able to connect respective database. Through visual studio we are getting unexpected error,

Unable to connect Oracle 11g via Visual Studio 2015

(If not able to see image, error text is )

OCIEnvCreate failed with return code -1 but error message text not available

Configurations: Windows 7 Professional Service pack 1 - 64Bit Visual Studio 2015 Oracle 11g Enterprise Manager - 64 Bit

tnsnames.ora file is like,

dphpro = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = dphserver)(PORT = 1521)) ) (CONNECT_DATA = (SID = dph) (SERVER = DEDICATED) ) )

Could anyone please help me to resolve this.

Category:visual studio Views:1 Time:2018-10-10

Related post

  • connect to remote oracle database via visual studio 2010 2011-03-13

    I have installed the oracle develop tools, odp.net blah blah etc for visual studio 2010 to see, but I have no idea how to connect to the remote oracle server? Maybe I can do it via code, but I was thinking that I could go to "Data Connections" in Vis

  • Oracle Home for Visual Studio 2009-10-06

    Okay. Forgive me, but I'm going to vent a little here. Visual Studio doesn't recognize my TNSnames for oracle so I can't connect to my database. I believe the problem is that I have multiple homes on my machine, one for me (In C:/app/{UserName}/produ

  • Setting up nHibernate with an Oracle database and Visual Studio 2010 2011-01-11

    I'm creating a .ASPNET project and I would like to setup nHibernate as my ORM tool. I will be using an existing oracle database and Visual Studio 2010. ORM tools are very new to me and really could use any advice to better understand the tool and the

  • Can't login to codeplex TFS via Visual studio 10 2011-01-13

    Dear all. I use codeplex.com to host my projects. Some days ago I connect to codeplex successful via visual studio ultimate 10 but now I can't. Could you help me please? Below is the screen shot of the message I received from codeplex. PS. You could

  • Remote Debugging for .NET WPF Application via Visual Studio 2008 Remote Debugger? 2008-11-19

    Remote Debugging for .NET WPF Application via Visual Studio 2008 Remote Debugger can this be done ? I see native only in the options ? Any help please... --------------Solutions------------- Yes it can. You run the remote debugger on the client PC, y

  • Problem in connecting Oracle 11g through JDBC thin driver ( Domino Java ) 2010-08-26

    I'm unable to connect Oracle 11 database remotely using following piece of code. However, same code works fine if I try to connect Oracle 9 database which is installed on my machine. What is missing ? ( I'm not getting any error, Lotus Notes hangs )

  • How do I specify an IIS website to create a deployment package via visual studio 2012-03-27

    I am attempting to create a deployment package for my website via Visual Studio 2010. The website in question has a binding that I point to 127.0.0.1 in my hosts file. My web application project settings point to that website and all works fine. When

  • Running Classic ASP via Visual Studio 2010 - Scripts Fail to Render 2012-04-20

    i have followed this http://www.falconwebtech.com/post/2010/12/28/Debugging-Classic-ASP-in-IIS7-and-VS2010.aspx article to set my laptop to run classic ASP website via visual studio 2010. However the page i run supplier.asp is not being rendered for

  • unable to connect my pc via networking 2013-09-08

    I have 2 pcs one with Windows XP and one with Windows 8, but i am unable to connect my pcs via networking using hub/switch. please help. --------------Solutions------------- Hi Aggankit, Thank you for posting your query in Microsoft Community forums.

  • error message 'This file is in use' - using microsoft sql server 2008 r2 when trying to connect my database through visual studios 2015-02-10

    Hi, For my final year project at University I am creating a database using Sql Server 2008. I am trying to connect my database in Visual Studios with great difficulty. I have searched the web for a fix but have had no luck. I was wondering if anyone

  • Visual Studio 2015 CTPs available to download 2012-07-04

    Visual Studio 2015 Community Technology Previews (CTPs) are early, prerelease versions of the next major release of Visual Studio. CTPs provide early adopters with an opportunity to try out the new and improved product features, and the ability to sh

  • visual studio 2015 bower intellisense Error 2014-12-29

    I downloaded visual studio 2015 and created asp.net vnext empty project.I added bower.json and grunt.js When I define dependency, intellisense works fine for items but when I define item version intellisene not works and always says not available. --

  • Can't open Windows Phone project in Windows 8.1+ Universal App using Visual Studio 2015 RC 2018-06-11

    Trying to open a Universal App for Windows 8.1+ in the Visual Studio 2015 RC and everything aside from the Windows Phone project opens fine. Error Message: "The application which this project type is based on was not found." Link given by messag

  • Does Visual Studio 2015 RC work in parallel with Visual Studio 2013 2018-06-26

    I'm having this question since a month and I'm not able to test it, so i want to ask here if someone have met this situation. Since there is no official release of the new Visual Studio 2015 and it's on RC now ,I'm interested in does someone know if

  • Did C# formatting change in Visual Studio 2015? And how can I change it back? 2018-08-29

    In past versions of Visual Studio, I could create a single-line autoproperty in C# like this: public int Whatever { get; set; } If I hit Control-K, Control-D to format, the property would stay that way. But in Visual Studio 2015 RC, when I type the p

  • Connecting to a remote Oracle Database from Visual Studio 2011-09-19

    How do I connect to an Oracle Database that is not hosted on my loacal machine from visual studio. There seem to samy many different ways that I am getting confused. What kind of information would I need about the host machine and the database before

  • Execute Oracle Script from Visual Studio 2012-02-21

    So I would like to execute an oracle plsql script from Visual Studio. I installed Oracle's visual studio tools and opened up a new query window in VS2010 connected to an oracle db instance. Here's a sample script that I'm trying to run: DECLARE BEGIN

  • PostgreSQL Data Connection/Server Explorer in Visual Studio 2008 2009-05-15

    I'm trying to find a way to browse a PostgreSQL database from the Visual Studio 2008 "Server Explorer" panel. I downloaded Npgsql but as I understand that's only a library for the code itself, not the Server Explorer. --------------Solutions---------

  • SQL Azure via Visual Studio 2009-10-16

    Does anyone know when a tool will be available to manage a SQL Azure database from within Visual Studio or SQL Enterprise Manager? --------------Solutions------------- At present one can only cannect via: 1) SQL Management Studio (SSMS) (The cancel a

  • Why do deleted data connections come back in Visual Studio? 2010-07-16

    In Visual Studio 2008, I have database connections in the Server Explorer window that point to SQL Server databases installed locally on my PC. When I delete one of the connections in goes, but next time I start Visual Studio is is back again. Does a

  • Query fails when run via Visual Studio, works fine elsewhere 2011-07-21

    I receive this error: [DB2/6000] SQL0952N Processing was cancelled due to an interrupt. SQLSTATE=57014 whenever I run a query via a visual studio project in vb.net. If I run the same query via Open Office Base, it takes a long time but it works. How

  • Including More Database Connection Options in a Visual Studio Isolated Shell Application? 2009-07-19

    When starting up an isolated mode visual studio shell application, the only databases available in the Tools->Connect to Database are Access, SQL Compact, and SQL Server Database File. Is there a way to configure the isolated shell to include othe

  • Command line compiling VB.NET project via Visual Studio? 2009-10-27

    I am trying to compile my Visual Basic .NET project named Myproject.sln via command line commands. I need to build and compile that solution. My Visual Basic .NET compiler is called vbc.exe. Any idea how I do that thing? I am using Visual Studio 2005

  • Connecting to TFS through Visual Studio 2008 makes me Administrator 2009-10-30

    We are running TFS 2010 Beta 2 on the source control server. I am running Visual Studio 2008 Sp1 with the team explorer plus compatibility pack so that it can connect to 2010. Everything is fine! I had connected to the server and setup my workspace,

  • Pointing a ConnectionString to a special folder via Visual Studio Designer 2009-12-21

    I'm trying to set a DataAdapter connection string to point to %APPDATA% from within Visual Studio designer by editing the DataAdapter properties. I cannot seem to be able to use that moniker on the connection string property. It doesn't get translate

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.196 (s). 12 q(s)