Msdatasetgenerator Failed While Processing The File

29.12.2019by
  1. Msdatasetgenerator Failed While Processing The Files
  2. Msdatasetgenerator Failed While Processing The File Specified
  3. Msdatasetgenerator Failed While Processing The File Is Missing
  4. Msdatasetgenerator Failed While Processing The File
  5. Msdatasetgenerator Failed While Processing The File Download
Active2 years, 7 months ago

The Custom Tool 'MSDataSetGenerator' Failed While Processing The File Feb 10, 2007. Nutty VS2005 error. I know I have an error in my dataset file (XSD file), but none. Warning 1 The custom tool 'MSDataSetGenerator' failed while processing the file 'MyDataSet.xsd'. I am still open to suggestions at this point. I'd really hate to have to re-create my entire dataset (7 tables, 30-some queries).

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:

I get a warning 'The custom tool 'MsDataSetGenerator' failed while processing the file '*.xsd'.' And no *.Designer.cs file is created. When building the project, I get errors because the files are not generated. However, when I manually right click the xsd-file and do 'Run Custom Tool', it works fine. The Custom Tool 'MSDataSetGenerator' Failed While Processing The File Feb 10, 2007. Nutty VS2005 error. I know I have an error in my dataset file (XSD file), but none. 'The custom tool 'MSDataSetGenerator' failed while processing the file 'dsMain.xsd.' In the VS Solution Explorer I have three dataSet files. + dsMain.xsd dsMain.cs dsMain.xsx If I configure a dataAdapter on a form and from there generate a table-structure to dsMain, another file, dsMain1.cs, appears under dsMain.xsd. While I was following the first hands on example in 'ADO.NET 2.0 StepBy Step,' I got the following errors. Warning 1 0 is not a valid value for Int32. 0 Warning 2 The custom tool 'MSDataSetGenerator' failed while processing the file 'AdoStepByStepDataSet.xsd'. I am not sure how to fix the problem. The completed application seems working fine.

Could someone please help with this nutty VS2005 error. I know I have an error in my dataset file (XSD file), but none of the errors listed after this warning message.


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.

Msdatasetgenerator Failed While Processing The Files

Ideas?

Mathias R. Jessen
23k3 gold badges53 silver badges90 bronze badges
87cd25770a87cd25770a
12.1k15 gold badges63 silver badges100 bronze badges

1 Answer

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.

Using ProcMon

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 CryptSVC:

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 ProcMonDownload for pc games free.

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 CryptSVC:


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


Restarting CryptSVC at will no longer produced the CAPI2 error and after a day or two of monitoring it looks resolved.

Community
87cd25770a87cd25770a

Msdatasetgenerator Failed While Processing The File Is Missing

12.1k15 gold badges63 silver badges100 bronze badges

Msdatasetgenerator Failed While Processing The File

Not the answer you're looking for? Browse other questions tagged windows-server-2008vssveeam or ask your own question.

Msdatasetgenerator Failed While Processing The File Download

Visual Studio 2005 Edition Released! Is it the same as Visual Studio.Net 2005 ?
Edited by XIIIVisual Studio 2005 Edition Released! Is it the same as Visual Studio.Net 2005 ? Yes. '.NET' part is not actually/officially part of the Visual Studio 2005 name.-- Mike PopeASP.NET User EducationThis posting is provided 'AS IS' with no warranties, and confers no rights. Is it Visual Studio .NET 2003 update version? Does Microsoft change its name? I'm not sure I understand your question exactly -- I'm a little thrown by the word 'update.' Visual Studio 2005 is the new/current version, released on Monday. This product never officially had the word '.NET' in its nam..
can we migrate visual studio .net 2003 project to visual studio.net 2005
Hai friends, I am doing project in ASP.NET(vb language) I have visual studio .net 2003 installed in my pc and i am doing my project in it , because i need to use additional functionality like 'AJAX' , i want to use visual studio .net 2005 or visual studio .net 2008 my project folder name is 'sqls' can i install visual studio .net 2005 or visual studio .net 2008 and migrate this project folder to work in visual studio .net 2005 or visual studio .net 2008 i have uninstall visual studio .net 2003 and install visual studio .net 2005 or visual ..
Loading Visual Studio.net 2003 on a pc with Visual Studio.net 2005 installed
I have recently installed Visual Studio.net 2005 on a pc and have been using it to create a .net 2.0 application. I also have pc running Visual Studio 2003 that I use to support a .net 1.1 application. This pc has broke. Would I be ok loading Visual Studio 2003 on the machine I have running Visual Studio 2005 so I can manage both the .net 1.1 and the .net 2.0 applications? Thanks Danny Hmmm. Not sure if it works in that direction, but I installed VS2005 on a machine that has VS2003 already installed and they se..
Visual Studio 2005 Express Edition beta VS Visual Studio.net 2003
Is Visual C# 2005 Express Edition Beta better than Visual Studio.net 2003 ? HighOnCodingWanna get high! in my opinon no. vs.net 2003 is a released application, and is used for more than just c#. visual studio whidbey beta is pretty cool except it's a little quirky still. I swear I can't wait til august.Kay LeeMySpace.com - http://www.myspace.com/kragieInfrastructure GroupMySpace.com- Code to live, but Live to code. What are the odds of anything actually being released in august? What are the odds of anything actually being released in august? Zero. Is Visual C# 20..
Visual Web Developer Express 2005 and Visual Studio .Net 2005
I have Visual Studio .NET installed and have purchased a textbook for learning that uses examples, cases, and projects which reference use of Visual Web Developer Express 2005 (VWD). I have discovered that there are some nuances of differences between the Web UI in Visual Studio .Net 2005 and VWD. Therefore, I want to install VWD. I downloaded VWD and started to install it but stopped as I noticed the intallation as about to copy all it's files into the same directory the contained Visual Studio. I'm scared I'm going to screw up my Visual Studio installation, so I thought I&..
VS.NET 2005 vs VS.NET 2003
I have used VS.NET 2003 extensively and exploited all features like drag and drop functions for creating components, drag and drop data access components..For example VS.NET 2003 allows creating sqldataadapter for table mapping , stored proc parameters mappings etc.We can drag pretty much any object on component designer..Not it seems like all that gone..VS.NET 2005, there is no way we can drag the typed dataset, sqldata adapter, sqlcommand on forms designer . There is no concept of component. There is no component designer any more..Biggest flaw i found is sqldatasource and..
Visual Studio 2005 vs. Visual Studio 2005 BETA 2
In terms of functionality and features, I was wondering whether there any major differences between Visual Studio 2005 and Visual Studio 2005 Beta2. Thanks From the C# Windows Apps & Web Apps - pecadillos more than anything. I have several sizeable projects in bothe.g. MDI child/parent Mensu/toolstrips no longer automergesome complaints about rafting property that no longer exists in Windows forms controlsIf it was easy, everybody would be doing it. The primary difference was mainly a lot of bug fixes. Two areas that we enhanced were website projects and ..
Visual Studio .NET vs Visual Studio .NET 2002 or 2003?
As an admin, I'm working to determing what systems I need to update with the update on MS08-017, particularly with respect to Visual Studio .NET 2002 and 2003. I've got quite a few systems that appear to have Visual Studio .NET, no 2002 or 2003 mentioned when I view what's there in Add/Remove Programs. Is there a definitive way to determine if I have a 2002 or 2003 version? sandy_wood:Is there a definitive way to determine if I have a 2002 or 2003 version? In add/remove programs it would indicate it VS2003 as Visual Studio 2003. Alternatively launch the applicatio..
from Visual Studio .NET to Visual studio 2005 (VB)
Good evening, i hame one quistion about diffrenece Visual studio 2005 and older version.In Visual studio .NET to work with table from data base i do next steps:1. Create new connection to data base in data explorer2. Push my table from data explorer to my form, and master automatically create two components (SqlConnection and SqlDataAdapter)3. Add to from new object - Dataset for transering data to client application (i amke a web service) and execute command from menu Data Generate DataSet, then in Dialog box i Add this dataset to the designerThat's itThe quistion is how to do this st..
Can I install Visual Basic 6 on my machine which has VS.NET 2003 & VS.NET 2005?
I may have a need to use Visual Basic 6 for a legacy project in the near future. I was wondering if I can install VB6 on my machine which already has VS.NET 2003 & VS.NET 2005 installed on it? I did not know if doing so would cause issues or not so thought I would ask before just leaping and doing. Ira Richard Smith At one time i had to install Visual Basic 6 on my machine with VS.NET 2003 and had 'NO' issues. I would suggest take a backup of your machine or a restore point before you proceed. Please post your experience. I am sure some one would appreci..
VS.NET 2005 vs VS.NET 2003 #2
why there is no datagrid anymore when i drag the tables in design view? it's the gridview,and where is the data adapter. How will i connect the tables now? Here are a couple videos on the new Data model in VS2005. I think you will find it much easier to use. I have watch the first one, but the second is by Fritz Onion. I think there is an Advanced Data Binding Video in the same series done by him as well. ASP.NET HOW DO I Video Series: Data MSDN Webcast: Essential ASP.NET for the Web Developer (Part 5 of 15): Introduction to Data Binding (Level 200) Hope this helpsTh..
Converting windows application using web service from Visual C#.net 2003 to Visual Studio.net 2005
Hello, everyone! I have a solution which contains a windows project,a web service project and several other library projects. These projects were coded under visual c#.net 2003. Now I need to converted them to use Visual Studo.net 2005. Does any one know any article providing step-by-step guide to converting WINDOWS APPLICATION with web service? I can find one under MSDN for converting web project. But I guess I am a little confused if mine should follow this article since I am using web service in my windows application? Thanks a lot in advance. ..
VS.NET 2003 to VS.Net 2005
Hi I just converetd my VS.Net 2003 project to VS.NET 2005 using the convert wizard in Visual Studio 2005 Web Application Project. It compiled with no build errors and a few warnings. When Iam trying to view the project, then it gives me 404 error. Can someone help ? Thanks Could you confirm you are using WAP (Web Application Projects) versus the built-in WSP (Web Site model)? If you have a project file after converting, then you are using WAP. Could you post the actual 404 error you got? Also, did you set your start page in the converted project? -Mike-..
Visual studio 2005 express vs Visual studio 2005 standard or pro
Hi allIm not sure if you will be able to answer my question. Im using express version of visual basic, which has a particular pain in the you no where limitation. I cannot through the database explorer connect to a remote sql express 2005. I no this is a limitation. I have looked at the option of buying Visual studio however I only need the VB module. From what I see you have to buy the whole version, which contains C#, JSP and more. I do not need them. I do not see the point of paying for all the modules but I only use VB. QuestionsCan you buy them seperately.Is there another workaroun..
Comments are closed.