Solved

Error

Posted on 2011-02-14
2
366 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
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 Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now