?
Solved

Error

Posted on 2011-02-14
2
Medium Priority
?
372 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 2000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

801 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