Intel Visual Fortran - fatal error LNK2023: bad DLL or entry point msobj80.dll

For error messages:
LINK: fatal error LNK2023: bad DLL or entry point 'msobj80.dll'
or 'cannot find msobj80.dll'
or for problems with setting breakpoints in the debugger

You may have encountered a known problem with Visual Studio described here:

It involves the PATH that is visible to the Microsoft program mspdbsrv.exe when it is
started. When it is started for debugging, it will not issue an error message if it
cannot find msobj80.dll. After it is started, mspdbsrv.exe remains active for a period
of time. If this instance is running when the linker is invoked, it will not have
a PATH to msobj80.dll and reports the error.

Copying msobj80.dll to '\Program Files\Microsoft Visual Studio 8\Common7\IDE' is the recommended
work-around. This is the directory where mspdbsrv.exe resides. After msobj80.dll is
copied, you should check with Task Manager to see if the mspdbsrv.exe process is running.
If it is, kill it with 'End Process'. The next time mspdbsrv.exe starts up, it should find

Installing Visual Studio 2005 Service Pack 1 (SP1) usually corrects this problem.


For more complete information about compiler optimizations, see our Optimization Notice.


anonymous's picture

I have the same problem that is mention here. I try to do us you say, but the folder:'C:Program FilesMicrosoft Visual Studio 9.0' has just one folder 'setup'.
The closest folder I find is: 'C:Program FilesMicrosoft Visual StudioCommonMSDEV98BINIDE'

I am using Intel® Visual Fortran Composer XE 2011 & MVS 2008

Hao Jiang (Intel)'s picture

If you are using VS2008 shell provided by IVF 11.1 (or Microsoft Visual Studio 2008, version 9.0), please copy the 'msobj80.dll' file to the "C:Program FilesMicrosoft Visual Studio 9.0Common7IDE" folder.

anonymous's picture

I have had this problem for a while despite having the SP1 pack installed. After some research online, I found that the best way is to search for 'msobj80.dll' file through the explorer, copy and paste it in this folder: 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE'. After I did this, I don't have any issues with compiling in debug mode. I am not sure if it will keep working in the future (some people mention that it starts giving the same error after a while), but it works for now.

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.