Visual Studio 2019 start up error

Peter Czurak 6 Reputation points
2020-08-19T05:02:55.897+00:00

Visual Studio 2019 Enterprise V16.7.2

Every time Visual Studio starts I get the following error message

Microsoft Visual Studio

The 'IBM Database Language Service' package did not load correctly.

The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:\Users\czupet\AppData\Roaming\Microsoft\VisualStudio\16.0_54211707\ActivityLog.xml'.

Restarting Visual Studio could help resolve this issue.

Continue to show this error message?

Yes No


Restarting Visual Studio does not fix the problem
This is what is in ActivityLog.xml

<entry>
<record>2699</record>
<time>2020/08/19 04:45:33.915</time>
<type>Error</type>
<source>VisualStudio</source>
<description>No InprocServer32 registered for package [IBM Database Language Service]</description>
<guid>{2FBE2AB8-E8DC-4ED6-BE9C-5D6054C655A3}</guid>
<hr>8007007e</hr>
<errorinfo></errorinfo>
<path>C:\Program Files (x86)\IBM\IBM Database Add-Ins for Visual Studio\bin\netf40\db2vls91.dll</path>
</entry>

How can I fix this?
I've installed IBM Visual Studio tools and uninstalled them later on, but now I get this error.

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
962 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 28,941 Reputation points Microsoft Vendor
    2020-08-19T09:27:13.037+00:00

    Hello Peter,

    Please close all Visual Studio instances, and go to this directory C:\Users[user name]\AppData\Local\Microsoft\VisualStudio\16.0_XXXX then find and rename(or delete) every subfolders named “ComponentModelCache”.

    If this issue still persists, please kindly try following steps to troubleshoot.

    1. Launch Developer Command Prompt for VS 2019 > type devenv /ResetSkipPkgs > press Enter to start VS.
    2. Run Visual Studio 2019 as administrator.
    3. Launch Visual Studio Installer > find Visual Studio 2019 > More/Update > Repair to repair or update VS 2019.

    ------------------------------------------------------------------------------------------------------------------------------------

    Update1

    Most extensions are installed in the %LocalAppData%\Microsoft\VisualStudio\16.0_XXXX\Extensions folder, please check if there is a folder named like IBM Database, and try to rename(or delete) it, if you find it. Also check this Extensions folder under C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions.

    I also noticed that the error message mentioned C:\Program Files (x86)\IBM\IBM Database Add-Ins for Visual Studio\XXXXX, so does this directory still exist? Did you uninstall this add-in tool completely?

    Besides, please also kindly try to delete the hidden .vs, bin and obj folders in your solution folder, then start Visual Studio again.

    Best Regards,
    Tianyu

    0 comments No comments

  2. Peter Czurak 6 Reputation points
    2020-08-20T12:25:22.293+00:00

    That did not fix the problem.
    It's like Groundhog's day (if you know what Groundhog's day is)

    0 comments No comments