- Msdatasetgenerator Failed While Processing The File Specified
- Msdatasetgenerator Failed While Processing The Files
- Msdatasetgenerator Failed While Processing The File Is Missing
- Msdatasetgenerator Failed While Processing The File Download
The custom tool 'MSDataSetGenerator' failed while processing the f.NET Framework Forums on Bytes. I get this message when trying to create a schema from an xml file. I am looking to see if the xml file is malformed, but just in case it isn't, has. Discusses that the setup fails, and you receive a 'FindLatestProfile failed (0x80070003)' error message if you manually delete the user profile during a Windows 7. The custom tool 'MSDataSetGenerator' failed while processing the f.NET Framework Forums on Bytes. I get this message when trying to create a schema from an xml file. I am looking to see if the xml file is malformed, but just in case it isn't, has. Custom Tool 'MSDataSetGenerator' Failed - Unable To Convert Input Xml File Content To A DataSet Jul 13, 2006 I'm using Visual Studio 2005 Team System For Software Developers.
A team member informed me that one of our Windows Server 2008 (not 2008 R2) based MSSQL Servers had begun to generate CAPI2 Event ID 513 Errors in the Application Event Log:
A little PowerShell reveals that the issue started back on 08/06/14 and primarily seems to occur after 22:00 on a daily basis:
Curious no? I wonder what the System Writer Object is used for? Shadow Copy! Oh duh! I started doing VSS-based Application Aware backups of this virtual machine using Veeam this month. Naturally the backup process starts at 22:00 which explains the repeated frequency instead of the the error just occurring at 'random' times.
Interestingly enough Veeam did not register this as a failed backup attempt which makes me wonder if the Restore Points are actually transaction consistent. Regardless, I did a quick search through the Veeam Backup Logs and did not find anything obviously wrong but it is probably worth reviewing them closer and confirming that a recovery from those Restore Points is transaction consistent.
The Event ID 513 TechNet reference recommended Resolution indicates a NTFS permission issue could be at fault, however the
C:WindowsRegistration COM+ registration folder has the appropriate permissions.
Ideas?Mathias R. Jessen
Mathias R. Jessen got me pointed in the right direction, the ever famous WinSxS folder. However I did not see any of the VSS errors in the Event Log which made me a little hesitant to just nuke all the NTFS permissions lest I break something else.
I went back and read Event ID 513 TechNet reference again and noted that under the Verify section it was recommended that I check to see the
System Writer was available as VSS writer using
vssadmin list writers and sure enough it was NOT. Lesson Learned #1: Read the whole KB/TechNet/Blog
Doing a bit more researching I came across Missing System Writer Case Explained which seemed to indicate the issue was originating with Cryptographic Services. I found that I could reproduce by
CAPI2 error at will by stopping and starting the
CryptSVC service. Lesson Learned #2: Try to figure out a way to reproduce your error at will.
At this point, I pretty much followed the post's instructions. I located the PID of which instance of
svchost was wrapping
CryptSVC using Task Manager. You could alternatively force
CryptSVC to run as its own process using sc config if you can reboot the server in question. Depending on how deep you get into ProcMon it is worth isolating services under a single PID just to cut down the amount of events you have to sort through.
From here it is back to good old ProcMon. Setup a filter to exclude all PIDs that are not the one used by the
svchost process that is wrapping
I applied my trusty first pass filter which is to exclude all events that have the results of
SUCCESS. This reduced the events from 31,118 to a much more manageable 139 and at the bottom I found the
ACCESS DENIED event I was looking for, not surprisingly in the
WinSxS folder (
C:WindowswinsxsFileMaps$$.cdf-ms). Lesson Learned #3: Learn to use and love ProcMon
Now what? KB2009272 that Mathias linked has the solution but now I know why. Lesson Learned #4: Don't guess, know!
The resolution is exactly as explained in KB2009272. Take ownership and reset the permissions of the
FileMaps folder and then restart
and... we have lift off! The
System Writer is now available as a VSS writer. No need to change the permissions for the
PendingRename folder. Lesson Learned #5: Start with the smallest changes and work your way out to changes that effect more things.
Msdatasetgenerator Failed While Processing The File Specified
CryptSVC at will no longer produced the
CAPI2 error and after a day or two of monitoring it looks resolved.