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
Solved

Error

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.Net - Get ColumnNames of SQL Table 4 15
"Emulate" TAB key when press Enter Key 3 46
How to limit User Input 2 27
Convert Ctime to date time in textfile? 7 30
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

840 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