0XC00D0FB7

NS_E_WMPXML_ATTRIBUTENOTFOUND (0xC00D0FB7): Fix for Windows Media Player XML parsing

You'll see this when Windows Media Player can't read a music file's metadata. Corrupt tags or broken XML structure in the file trigger it.

You're in the middle of a playlist, and then it hits: 0xC00D0FB7. Windows Media Player stops dead on a single file. The error text says "NS_E_WMPXML_ATTRIBUTENOTFOUND" — which sounds scary but isn't. What's actually happening here is that WMP tried to read the file's metadata (artist, album, track number, etc.) and found an XML attribute tag that's missing or malformed. This almost always happens with MP3 or WMA files that had their tags edited by a buggy tag editor, or were downloaded from a source that didn't write proper ID3v2 headers. I've seen it trigger on files ripped from old CDs with CDDB data that was half-baked. The good news: the file itself plays fine in other players like VLC. WMP is just being picky about its XML parsing.

Why you're seeing this

WMP stores its library data in a local database (Windows Media Player Library), but it also reads embedded metadata directly from the file. When WMP parses the XML header inside the file, it expects specific attributes to exist. If the file has a ID3v2 tag with a custom frame or a broken frame (like a missing 'album' attribute in a proprietary XML block), WMP throws this error instead of gracefully skipping it. The real fix isn't to repair the file — it's to remove the corrupt entry from WMP's library and re-add it cleanly, or to strip the broken metadata.

The fix: Step by step

Step 1: Find the offending file

WMP won't tell you which file caused the error. You'll need to narrow it down. Open Task Manager (Ctrl+Shift+Esc), go to the "Details" tab, look for wmplayer.exe. If the error persists, note the last file you added or played. Alternatively, sort your music folder by "Date modified" and look for files recently edited or added. Typically, the culprit is the last file you tried to play when the error popped.

Step 2: Remove the corrupt entry from the WMP library

Open Windows Media Player. Click "Organize" > "Manage libraries" > "Music". Note the folders WMP is watching. Go to one of those folders, find the file, and temporarily move it to your Desktop. Back in WMP, hit Ctrl+3 to switch to Library view. If the file still appears, right-click it and select "Delete" > "Delete from library only" (do NOT delete from disk). The reason step 2 works is that WMP caches metadata — moving the file forces it to re-scan next time. If the file doesn't appear, you might have found it already. If it still errors after moving, you missed the file.

Step 3: Strip the broken metadata from the file

Now that you've isolated the file, you need to clean its tags. I recommend MP3tag (free, portable). Open it, load the file, select all tags, and hit Delete to remove every tag. Then re-add just the basic ones: Artist, Title, Album. Save. Move the file back to your music folder. The reason this fixes it: WMP's XML parser is strict — a frame with missing required attributes (like a custom XML field that references an album that doesn't exist) makes it choke. Stripping all tags and rewriting them cleanly bypasses the broken structure.

Step 4: Rebuild the WMP library

Open WMP, go to "Organize" > "Options" > "Library" tab. Click "Configure sharing" to ensure it's off (sharing sometimes locks the database). Then, close WMP. Open Run (Win+R), type %LOCALAPPDATA%\Microsoft\Media Player, hit Enter. Delete all files inside that folder (they'll be rebuilt). Restart WMP — it'll take a minute to rebuild your library. This step is overkill for a single file, but if you've been dealing with multiple corrupt files, it's the nuclear option that clears out all cached XML metadata.

Step 5: Test the file

Launch WMP, navigate to the file, double-click it. If the error's gone, you're done. If it returns, the file was not the right one — repeat Step 1.

What to check if it still fails

First, make sure the file isn't DRM-protected or corrupted at the container level (not just the tags). Check the file's format: WMP might throw 0xC00D0FB7 on a file that claims to be MP3 but has a broken sync header. Use ffprobe (from FFmpeg) to verify:

ffprobe -v error -show_format yourfile.mp3
If it returns any error, the file itself is corrupt — delete it and re-rip or redownload. Also, check if you're using a third-party codec pack (like K-Lite) that might inject its own XML parsing. Uninstall the codec pack temporarily to test. In rare cases, the issue is a corrupted Windows Media Player database across multiple libraries — try creating a new Windows user account and test the file there. If it works under a new account, your user profile's Media Player database is toast. Migrate your music folder, but expect to rebuild playlists manually.

Related Errors in Windows Errors
0XC0000097 STATUS_TOO_MANY_PAGING_FILES (0XC0000097) — quick fix 0X8029010F TPMAPI_E_INVALID_KEY_SIZE (0X8029010F) Fixed 0XC00D1BE6 NS_E_TRANSFORM_PLUGIN_INVALID (0XC00D1BE6) Fix 0X00000534 Fix ERROR_NONE_MAPPED (0X00000534) – No mapping between account names and SIDs

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.