none
How can I get MSCORWKS.PDB? RRS feed

  • Question

  • Hi,
    I can't seem to get debug symbols for mscorwksdll in Visual Studio 2008. The SYMCHK tool gives the output shown below that implies that the PDB isn't available on the MS symbol server.

    Can anyone help?

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>"C:\Program Files\Debugging Tools for Windows\symchk.exe" \WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll /v
    [SYMCHK] Searching for symbols to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll in path SRV*C:\WINDOWS\SYMBOLS*http://msdl.microsoft.com/download/symbols
    DBGHELP: Symbol Search Path: SRV*C:\WINDOWS\SYMBOLS*http://msdl.microsoft.com/download/symbols
    [SYMCHK] Using search path "SRV*C:\WINDOWS\SYMBOLS*http://msdl.microsoft.com/download/symbols"
    DBGHELP: No header for C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll.  Searching for image on disk
    DBGHELP: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll - OK
    SYMSRV:  C:\WINDOWS\SYMBOLS\mscorwks.pdb\B2CE92BECF03480DA2A561F3B0F4D2FB2\mscorwks.pdb not found

    SYMSRV: 
    http://msdl.microsoft.com/download/symbols/mscorwks.pdb/B2CE92BECF03480DA2A561F3B0F4D2FB2/mscorwks.pdb not found
    DBGHELP: mscorwks - no symbols loaded
    [SYMCHK] MODULE64 Info ----------------------
    [SYMCHK] Struct size: 1672 bytes
    [SYMCHK] Base: 0x79E70000
    [SYMCHK] Image size: 5795840 bytes
    [SYMCHK] Date: 0x4806b75d
    [SYMCHK] Checksum: 0x00583bd6
    [SYMCHK] NumSyms: 0
    [SYMCHK] SymType: SymNone
    [SYMCHK] ModName: mscorwks
    [SYMCHK] ImageName: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
    [SYMCHK] LoadedImage: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
    [SYMCHK] PDB: ""
    [SYMCHK] CV: RSDS
    [SYMCHK] CV DWORD: 0x53445352
    [SYMCHK] CV Data:  mscorwks.pdb
    [SYMCHK] PDB Sig:  0
    [SYMCHK] PDB7 Sig: {00000000-0000-0000-0000-000000000000}
    [SYMCHK] Age: 0
    [SYMCHK] PDB Matched:  TRUE
    [SYMCHK] DBG Matched:  TRUE
    [SYMCHK] Line nubmers: FALSE
    [SYMCHK] Global syms:  FALSE
    [SYMCHK] Type Info:    FALSE
    [SYMCHK] ------------------------------------
    SymbolCheckVersion  0x00000002
    Result              0x00010001
    DbgFilename         mscorwks.dbg
    DbgTimeDateStamp    0x00000000
    DbgSizeOfImage      0x00000000
    DbgChecksum         0x00000000
    PdbFilename         mscorwks.pdb
    PdbSignature        {B2CE92BE-CF03-480D-A2A5-61F3B0F4D2FB}
    PdbDbiAge           0x00000002
    [SYMCHK] [ 0x00000000 - 0x00010001 ] Checked "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll"
    SYMCHK: mscorwks.dll         FAILED  - mscorwks.pdb mismatched or not found

    SYMCHK: FAILED files = 1
    SYMCHK: PASSED + IGNORED files = 0

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>

    Tuesday, June 17, 2008 10:24 AM

Answers

  • I've got it in my symbol cache, 3 different versions of it.  Pre-SP1, x86 and x64 I'd guess.  Impossible to trace how I got them of course.  However, the encoded version strings I've got are different from yours.  Perhaps you have a hotfixed version or an intermediate security update.  The one I've got is 5814784 bytes, dated Jan 5th, 2008.  Quite a bit larger than yours.  Right click the file in Explorer and look at the details tab.  Mine is revision 2.0.50727.1434.
    Hans Passant.
    • Marked as answer by Bruno Yu Thursday, June 19, 2008 5:57 AM
    Tuesday, June 17, 2008 11:53 AM
    Moderator

All replies

  • I've got it in my symbol cache, 3 different versions of it.  Pre-SP1, x86 and x64 I'd guess.  Impossible to trace how I got them of course.  However, the encoded version strings I've got are different from yours.  Perhaps you have a hotfixed version or an intermediate security update.  The one I've got is 5814784 bytes, dated Jan 5th, 2008.  Quite a bit larger than yours.  Right click the file in Explorer and look at the details tab.  Mine is revision 2.0.50727.1434.
    Hans Passant.
    • Marked as answer by Bruno Yu Thursday, June 19, 2008 5:57 AM
    Tuesday, June 17, 2008 11:53 AM
    Moderator
  • My version of mscorwks.dll is 2.0.50727.3031.

    I'm guessing my problem stems from having the 3.5 SP1 Beta installed?

    Hans, many thanks for the help in working out what's going wrong.

    (your message is also marked as 'answered by Bruno Yu' - I'm not sure what's going on there)
    • Edited by innes Monday, June 30, 2008 9:05 AM rewewrerw
    Monday, June 30, 2008 9:02 AM
  • Wow, they must have sent out a ton of hotfixes if they got all the way up to 3031.  But yeah, that's most likely your problem.  Do avoid installing betas on production machines.  
    Hans Passant.
    Monday, June 30, 2008 12:22 PM
    Moderator
  • Well, I uninstalled 3.5 sp1 beta, and now my MSCORWKS version is {drumroll}... 2.0.50727.3031

    2.0.50727.3031 (netfxsp.050727-3000)

    After a bit of research, possibly this is because 3.5 sp1 beta quietly installs the .NET framework 2.0 sp2 beta. There are no instructions given for uninstalling this that I could find (I found a document covering uninstalling vs2008 sp1 but can't now find this), even though they go to the trouble of providing supposed uninstall instructions for 3.5 SP1.

    Looks like another complete system reinstall (see also: Vista SP1 RC1)...



    Interestingly, from the MS website: they make no mention of beta/'can't be uninstalled' status of 2.0 sp2:

    "Microsoft .NET Framework 3.5 service pack 1 is a cumulative update that contains many new features building incrementally upon .NET Framework 2.0, 3.0, 3.5, and includes .NET Framework 2.0 service pack 2 and .NET Framework 3.0 service pack 2 cumulative updates."

    Nice.
    • Edited by innes Thursday, July 3, 2008 12:50 PM Stuff from MS website
    Thursday, July 3, 2008 12:42 PM
  •  
    The latest version of mscorlib microsoft provides source codes for is 2.0 SP1 (Windows Server 2008 and Windows Vista SP1) 2.0.50727.1434.
     
    I seems you installed the sp1 beta for the VS2008 , that is the reason you cannot download the source codes, because they are not available as far as i know. I made already an entry about this in the Source Server Forum and mailled also Shawn Burke about the issue , but i still got no response from them.
     
    Best Regards
    İzzet Kerem Küsmezer
    Wednesday, July 23, 2008 10:31 AM