Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Posted

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.

Posted

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?

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...