VS 2013 LightSwitch won't attach a data source - oracle

I am trying to create a LightSwitch project in VS 2013 with Update 3. I right-click on the .Server, click Add Data Source, select Database, click Next and I get the following error:
"The type initializer for 'Oracle.DataAccess.Client.OracleException' threw an exception."
I have repaired Visual Studio, re-installed it, taken Oracle out of my Environment Variables. I still get this error. Any clue on how to fix this?

Related

Object reference not set to an instance of an object when adding a table adapter

I successfully connected to my database, however I am not able to add a TableAdapter. Using TableAdapter Configuration Wizard I can use the query builder and everything seems fine, I can see the tables, retrieve the rows, everything. however when I am trying to finish the configuration I get the title error. What should I do? thank you
This is what I Have in my VS
I am using MySql and C#.
This is a known bug in the MySQL Visual Studio addin: bug 90390.
If you create an account at bugs.mysql.com you can click the Subscribe button on that bug report to get updates (e.g., when an updated version is released that fixes the bug).
This worked for me on Visual studio 2019.
Close visual studio and uninstall MySQL for visual studio along with any Connector/NET you might have
Install MySQL for visual studio 1.2.10.
Now install Connector to avoid factory errors connector factory
1: https://social.msdn.microsoft.com/Forums/vstudio/en-US/8b4be4b0-d687-4f0c-b690-9ae47ff06411/cannot-obtain-provider-factory-for-mysqldatamysqlclient?forum=visualstudiogeneral Ensure you install Connector/NET version that matches what's in your system. Mine is Connector/NET 6.10.7
Start visual studio and this time you'll see an update pop-up, accept the update and restart visual studio once it completes.

Visual Studio 2017 Community always crashes when creating dataset for table

When I create a new project, add a database, create a table for that database and then try to create a dataset with that table, Visual Studio always crashes. I then get the option to start a debugger, which tells me
Unhandled exception at 0x01191242 in devenv.exe: 0xC0000005: Access
violation writing location 0x00050DC8.
When I create an empty dataset without selecting a table, Visual Studio doesn't crash.
My Visual Studio version is 15.3.5.
Is there anything I can do about it?

Visual Studio 2013 crashes on SQL Select Source/Target in SQL Schema Compare after Windows 10 upgrade

With an existing schema compare file, or a newly created one.
Tried to change source or target via:
Menu: "SQL"
Choice: "Select Source..." OR "Select Target..."
Visual Studio 2013 then crashed with message:
"Microsoft Visual Studio 2013 has stopped working ..."
Thank you once again Stack Overflow for the solution, which was suggested by a similar problem here:
Why does select source for a SQL Schema Comparison cause VS2012 to crash?
I could not up-vote this solution as I still have insufficient reputation.
Solution was to open RedEdit (Command-Run RegEdit)
Navigate to:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\12.0\SSDT\ConnectionMruList
Delete all entries other than Default (won't let you delete that)
Restarted Visual Studio 2013 and it works again.

"Unable to load one or more of the requested types" when creating new Xamarin application

I get this error when I create a new blank Android app in Visual Studio 2015.Full error is this:
Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
Any possible fix? I reinstalled both Visual Studio 2015 and Xamarin
Managed to fix it by clearing my AppData/Local folder and repairing Visual Studio, then running VS as admin for the first time

Visual Studio 2010 Cannot Resolve Moniker 877c

I created a few sequence diagrams in VS 2010 and when I try to open them in design view I get the following error:
Cannot resolve moniker '8cc714d1-d71f-4f0f-a3b5-a34b74dfb852'
I searched the Sequence Diagram XML and could not find this GUID. How do I resolve this error so I can open my diagram?
It says that there are some references which layout file cannot resolve.
For this you just need to delete .dbml.layout file.
And then just double click on .dbml file.
Just received this error in VS 2015, along with a few other very strange ones. Everything I tried, including reverting the file, had no effect. I restarted Visual Studio, did another Build, and the errors were gone.

Resources