Visual Studio 2017 Community always crashes when creating dataset for table - visual-studio

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?

Related

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

VS 2013 LightSwitch won't attach a data source

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?

Visual Studio 2010 could not start

I have a problem with visual studio 2010 in my PC, when I try to start it I'll see this exception:
devnev.exe - Application Error
The exception unknown software exception (0xe0434352) occured in the
aopplication at location 0x7543d36f
I understand this exception is because of my current user settings, because when I created another account and test visual studio, it works perfectly. So I tried to remove all of current user profile from registry, so I removed entries from these keys:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\FileMRUList
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\ProjectMRUList
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\NewProjectDialog\MRUSettingsLocalProjectLocationEntries
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\NewProjectDialog\MRUSettingsRecentlyUsedTemplates
But still wont works (with similar exception).
Is there any other user settings for VS 2010 in regedit? Is there any other place except regedit for holding user settings?
PS: my OS is Windows 7.

Can't view database objects in SQL 2008 Database Project within Visual Studio 2010

I've created a SQL 2008 database project in Visual Studio 2010. I have imported existing tables and stored procedures using both of the available methods of import (script or connecting to db). Regardless of which method I use, after the import completes I see my table files in the Visual Studio project, however, I get the following error when trying to view the object by double clicking on it:
Object reference not set to an instance of an object.
I can also see the files I am trying to access on the hard drive. Perhaps this is a permissions issue masked with an obscure error message? I've done some research and am stumped at this point. Any assistance is greatly appreciated.
Details on Visual Studio 2010: Version 10.0.40291.1 SP1Rel
My OS is: Windows Server 2008 R2 Standard
Thanks!
Starting VS 2010 with "devenv /ResetSkipPkgs", should help, mostly due to the "non-loading problem" of some of the key modules.

Resources