Solved

Error

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 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

19 Experts available now in Live!

Get 1:1 Help Now