Why did my Visual Studio start doing this? iisexpress cannot find or open a PDB file

When I first created my project and launched it, I did not receive these messages:

'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_32 \ System.Web \ v4.0_4.0.0.0bb3f5f7f11d50a3a \ System.Web.dll', Failed Find or open a PDB file.

So what have I done with my VS configuration, or perhaps with my project properties that caused this problem?

Before this started, it took a minute or two to start the application, now I wait more than 5 minutes. What a nut, something is wrong with my config somewhere.

+5
source share
2 answers

Most likely reason you started receiving a message

"'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_32 \ System.Web \ v4.0_4.0.0.0bb3f5f7f11d50a3a \ System.Web.dll" Failed find or open the PDB file. "because this DLL is now loaded at run time and has not been loaded before.

However, a missing PDB file is not part of your problem. You can get rid of the warning by receiving this PDB file from Microsoft. But I suggest you focus on what you did so that it began to appear (i.e. when you started loading System.Web.dll). This may help explain why downloading takes longer.

0
source

PDB files (program databases) contain debug information used by Visual Studio.

First I will try to clear your solution, rebuild it in debug mode and see if this solves your problem. This should recreate your PDB for you.

In addition, if you go to Tools-> Options-> Debugging-> Symbols in Visual Studio and select the Microsoft Symbol server, it will try to load the correct PDB for you. Then try rebuilding in debug mode.

0
source

All Articles