question

AtomXZR avatar image
1 Vote"
AtomXZR asked Kurt-2018 published

How can i fix VS 2019 Error Code: 0x80131500 IntelliSense finished initializing, but an error occurred when attempting to load the document.

90870-vs-error-1.png




Occurred: After Finished Create New Project.

Visual Studio 2019 [ 16.9.4 ]

Tried:
1. Use Repair in Visual Studio Installer.
2. Re Installed Visual Studio

vs-general
vs-error-1.png (6.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AnnaXiu-MSFT avatar image
3 Votes"
AnnaXiu-MSFT answered SaraLiu-MSFT commented

Hi @AtomXZR,

Welcome to Microsoft Q&A!

Could you tell me what your project type is? Which target framework of your project are you using? .NET Core or .NET Framework?

You can try the following workarounds:
1. Create a new project and check if the error occurs in specific project or not.
2. Use the command: devenv /safemode to run your Visual Studio in safe mode.
3. Delete the hidden .vs, bin and obj folders in the project folder.

Sincerely,
Anna


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Project Type: Winforms (.Net Core)

Also thanks for the answer, but my solution is to reinstall windows ( But it still has the same error )

0 Votes 0 ·

Hi @AtomXZR, it seems be similar with the ticket: https://developercommunity.visualstudio.com/t/Error-Code-0x80131500-on-a-fresh-install/1394383.
You can also add your comments in there to track the process.

0 Votes 0 ·

ok, But I used C# (I don't know it will work or not.)


(but for now, I will use .NET Framework Instead)

0 Votes 0 ·
Show more comments
Neogame-7680 avatar image
2 Votes"
Neogame-7680 answered cheng-2720 commented

Delete folder inside "%ProgramData%\Microsoft\VisualStudio\Packages_Instances\"

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for this, it worked!

0 Votes 0 ·
SAURAVSAJEEV-0771 avatar image
8 Votes"
SAURAVSAJEEV-0771 answered Kurt-2018 published

I thought the only way was to reset my PC and reinstall visual studio, but then I thought of resetting visual studio and it helped.
The error is basically due to some errors in importing the files. So I tried to reset the vs settings by simply going over to

tools>import and export settings>reset all setings>general

and hit next.

hope it helped :-)

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yeah! It worked !!

1 Vote 1 ·

You're an angel. Thanks.

0 Votes 0 ·

Thanks! It worked!

0 Votes 0 ·

It worked thanks

0 Votes 0 ·
Sajjankiran-1568 avatar image
0 Votes"
Sajjankiran-1568 answered

First go to the file explorer's Toolbar, click on View and check the box for hidden files.
Then go to the project folder's location and delete the hidden .vs directory (since it is a hidden file, it has a lighter text color).

Don't forget to restart Visual Studio and then rebuild the project, in order to see the changes.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

chalkboardninja-7746 avatar image
1 Vote"
chalkboardninja-7746 answered chalkboardninja-7746 commented

I'm using .NET 5.0
When the error came up, I thought of restarting Visual Studio
I did it and it worked. So definitely try to restart Visual Studio if the error comes up

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks, i try this and it finally worked.

1 Vote 1 ·

Nice!

0 Votes 0 ·