Solved

Error

Posted on 2011-02-14
2
371 Views
Last Modified: 2012-08-14
I am try to rebuild my WPF project and every time I rebuild it it give the follwing error

Warning      2      Unable to delete file "C:\Users\HP\Desktop\2010\first lessaon\vb_spcail\Wpf-Data-Entry_VB\WpfDataEntry_VB\WpfDataEntry\bin\Debug\OMS_log.ldf". The process cannot access the file 'C:\Users\HP\Desktop\2010\first lessaon\vb_spcail\Wpf-Data-Entry_VB\WpfDataEntry_VB\WpfDataEntry\bin\Debug\OMS_log.ldf' because it is being used by another process.      WpfDataEntry


and also next error

Error      3      Unable to copy file "C:\Users\HP\Desktop\2010\first lessaon\vb_spcail\Wpf-Data-Entry_VB\WpfDataEntry_VB\WpfDataEntry\OMS_log.ldf" to "bin\Debug\OMS_log.ldf". The process cannot access the file 'bin\Debug\OMS_log.ldf' because it is being used by another process.      WpfDataEntry


The error happen if I change table or try to add new fields to table or add datagrid and prevent me to complete my training test sample


0
Comment
Question by:abdallah1973
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
rajeshjamnadas earned 500 total points
ID: 34888245
in your solution explorer find OMS_log select that node right click on that select property.
in property window of that there is build action select none and ur problem will get resolved.
0
 

Author Closing Comment

by:abdallah1973
ID: 34888547
EXcellent
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question