bdubon Posted July 28, 2004 Posted July 28, 2004 My VB solution references several sub projects. Whenever I modify a class in one of these projects I get the following error message: "Unable to write to output file .....\obj\Debug\Data Access Tier.dll': System Error &H80070020&". The only work around I've found is to quit VS and manually delete the dll and PDB files in this projects debug folder ie the dll above and its PDB. Can anyone suggest what might be causing these errors and possible fixes? Quote
puma Posted July 28, 2004 Posted July 28, 2004 Most likely that file is in use. Make sure that no process from your application is running. If not, try closing and reopening the solution. Quote
VBAHole22 Posted July 28, 2004 Posted July 28, 2004 Are you using VSS by any chance? If so it may be the way you are checking the file out. Quote Wanna-Be C# Superstar
bdubon Posted July 29, 2004 Author Posted July 29, 2004 Thanks But... I'm not using VSS...There are no other apps that use this project so I don't see that another process is using it!?!. The problem only occurs when I make a change to a class within the project and try to build it. My VB solution references several sub projects. Whenever I modify a class in one of these projects I get the following error message: "Unable to write to output file .....\obj\Debug\Data Access Tier.dll': System Error &H80070020&". The only work around I've found is to quit VS and manually delete the dll and PDB files in this projects debug folder ie the dll above and its PDB. Can anyone suggest what might be causing these errors and possible fixes? Quote
Administrators PlausiblyDamp Posted July 29, 2004 Administrators Posted July 29, 2004 If you do a rebuild rather than a build do you still get this error? Have you recently removed sub projects and then added them to a new solution? Happened to me recently and after doing a rebuild the problem seemed to go away. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
bdubon Posted July 31, 2004 Author Posted July 31, 2004 Yes, I've rebuilt several times... The project in question was taken from a previous solution, and copied to the current solution. I occasionally get a dependency error reported when I get the main build error. The said project does not have any dependecies (it's the last tier!). Don't know if that helps... If you do a rebuild rather than a build do you still get this error? Have you recently removed sub projects and then added them to a new solution? Happened to me recently and after doing a rebuild the problem seemed to go away. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.