Last post Jan 28, 2011 07:47 PM by sachingusain
Jan 28, 2011 12:00 PM|manojnavale0405|LINK
When I built my solution I am getting belowed error
Error 19 Cannot copy assembly 'Microsoft.Practices.EnterpriseLibrary.Data.dll' to file 'F:\KISAN\KisanCom18-1-11\trunk\src\ekisan\bin\Microsoft.Practices.EnterpriseLibrary.Data.dll'. Unable to add 'F:\KisanCom\VSS_3\output\Libraries\DBOperationsLibrary\Microsoft.Practices.EnterpriseLibrary.Data.dll'
to the Web site. Unable to add file 'bin\Microsoft.Practices.EnterpriseLibrary.Data.dll'. The process cannot access the file because it is being used by another process.
Error 20 Cannot copy assembly 'Microsoft.Practices.EnterpriseLibrary.Common.dll' to file 'F:\KISAN\KisanCom18-1-11\trunk\src\ekisan\bin\Microsoft.Practices.EnterpriseLibrary.Common.dll'. Unable to add 'F:\KisanCom\VSS_3\output\Libraries\DBOperationsLibrary\Microsoft.Practices.EnterpriseLibrary.Common.dll'
to the Web site. Unable to add file 'bin\Microsoft.Practices.EnterpriseLibrary.Common.dll'. The process cannot access the file because it is being used by another process.
Please Help me .........
Jan 28, 2011 12:14 PM|nilsan|LINK
How did you add the assembly reference in your application? Is any application using that dll?
Jan 28, 2011 07:47 PM|sachingusain|LINK
Looks like those assemblies are locked in by some other process on the system. Are you adding it from a shared folder?
If yes, then someone else might have locked it.