I am trying to connect to our Oracle database using Visual Studio (VS) 2017 (i am not able to upgrade to the latest version due to company policy). So far, I have downloaded ODTwithODAC183 from this site: https://www.oracle.com/database/technologies/dotnet-odacdev-downloads.html
I have done the installation properly , after the installation, I opened VS, and clicked on Tools -> Connect to Database and chose Oracle Database
After pressing OK, I got this screen below and filled it up accordingly:
Next I clicked on test connection, and I received a message saying that the connection is successfully established, however, on the second screenshot, if you look under Data Connection at the left side, under tables -> Relational tables, it is completely empty and none of the tables from the database have loaded.
I was wondering if anyone could please help me figure out how I can view the tables from an Oracle database using Visual Studio 2017.
thank you!
Related
Getting error "'CONNECTIONPROPERTY' is not a recognized
This is the new problem I have in VS 2022 it works fine in VS 2019
The same, issue is happening with Visual Studio 2022. It works fine with VS 2019.
The connections/ login window looks like in SQL Server Management Studio.
Details: in Visual Studio on the SQL Server Object Explorer I was able to add the PDW server.
I can browse the server tables, stored procedures, security and all.
If I right-click on a database, or table and select "New Query", it will ask me to log in with the same window as M Studio.
I am able to connect fine if I open an existing query.DSQL file it allows me to use history connections or connect normally.
So I am connected to the server on SQL Server Object Explorer but when try to open a stored procedure it asks to login again and that is where it fails because it tries to connect with different parameters
I get this(https://i.stack.imgur.com/PYcFr.png)](https://i.stack.imgur.com/PYcFr.png)
instead of (https://i.stack.imgur.com/0beik.png)](https://i.stack.imgur.com/0beik.png)
when I add the server I am able to brose the databases table and so on when try to open query window
it ask you to connect when was already connected.
the error is related that it try to connect like management studio that does not allow connection to PDW.
then I do have a different window see the pictures
I'm new to Azure and I'm trying to connect to our Azure DB using Visual Studio.
I can connect to the DB fine, but when I expand the DB I cannot see any DB Objects. See the image below. I've Googled the issue but cannot find where anyone has replicated this issue, so I accept I'm likely doing something wrong!
I can query the DB fine and it will return results.
To connect the visual studio to azure database and view the tables of database in visual studio follow the following steps:
Open your project in visual studio, Click on server explorer
Then click on SQL server Object explorer
Then click on Add SQL Server
Then expand Azure, click on your mail id and select subscription.
Then it will show all databases present in your subscription, select
your database I will fetch all information expect password, provide
your password and click on connect.
It will show all your databases tables from azure database
You can refer to this Document for more information: Work with Visual Studio to connect to SQL Databases in Azure.
I'm trying to generate/update an edmx model from an oracle database and I need to create a new connection to that oracle database. When I click "Test Connection" it succeeds but when I click "OK" it gives the following error:
Operation is not valid due to the current state of the object
VS 2017 error when adding new connection to update edmx model
I had the exact same issue after a brand new installation of VS2017.
Installed VS2017 (enterprise edition, in my case).
Previously ODT didn't work in the community edition, but Oracle might have fixed that.
Installed Oracle Developer Tools for Visual Studio 2017
ODT broke VS2017 and I had to do a "repair", which fixed the problem where VS2017 wouldn't even start. This is where a started getting the problem you described.
Reinstalled ODAC 12.2c Release 1 and Oracle Developer Tools for
Visual Studio (12.2.0.1.0)
It was previously installed for VS2015.
Now, everything works as expected and I'm able to e.g. refresh my EF6 models.
Firstly, Visual Studio 2013 connects to database and retreive tables normaly.
I added more table to database and edit relationship. After that I update data source in Project Explorer tree but it's failed. Even I tested the connection It's ok. But VS 2013 cannot retreive data objects - Message Box shows "Retreiving database object..." in very long time without reason. Can you show me how to fix it?
I found the way to fix this error. Just only find and kill all of process are using database
I have connected with the database successfully by using wizard in server explorer. but the data source is showing nothing. i have googled and search on msdn help. but not get help.
I want to add data source. but add new data source option is disabled for me.
I am using windows form application...
I want ask that am i doing right. could you please tell me how can i get rid of not showing thing.
PLEASE HELP!!!
The Server Explorer of Visual Studio 2010 and the Datasource of your application are completely different. Check the following links to see how you can connect your Windows Form Application with Sql-Server database:
Walkthrough: Connecting to Data in a SQL Server Express Database (Windows Forms)
Connecting to a Database with Visual Studio Tools