This is a migrated thread and some comments may be shown as answers.

Copy Telerik.Web.UI.dll

3 Answers 356 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eng.Bassel Samman
Top achievements
Rank 2
Eng.Bassel Samman asked on 15 Aug 2010, 01:43 PM
Dears,
We are developing an ASP.net application under VS 2008 using Telerik ASP.net AJAX Controls, of caurse we have added an refernace to Telerik dlls.
When we try to open the project on more than one PC, and try to build the project we got the following error:

Unable to copy file "C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q1 2010\Bin35\Telerik.Web.UI.dll" to "bin\Telerik.Web.UI.dll". The process cannot access the file 'bin\Telerik.Web.UI.dll' because it is being used by another process.

which is fired becuase one of us is debugging the project.

Best Regards

3 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 18 Aug 2010, 10:46 AM
Hi,

This problem is expected if more than one person is working in the same project folder. One instance of Visual Studio will lock the binaries (Telerik.Web.UI.dll) and you will not be able to modify (rebuild) them from another instance. The workaround is for each person to have a copy of the project on their own computer and if you want to keep changes in sync, use a revision control system (source control). There is nothing that we can do to fix the problem from our side, since this is not related to the Telerik.Web.UI.dll reference, but to Visual Studio in general.

Sincerely yours,
Lini
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Yohan
Top achievements
Rank 1
answered on 05 Oct 2011, 04:34 PM
I am having the same issue too. Telerik.Web.UI.dll is locked out by another user. We using Team Foundation Server so basially we all get the latest from TFS and do our tasks on a daily basis. Now, this only started last week that this DLL is locked. If say so...this is the Visual Studio issue then why not other DLLs are not having such behaviour? we use our custom DLLs and some other third party DLLs...... Please advise me.. 

Version number:  2010.3.1317.40

With regards.
0
Jayesh Goyani
Top achievements
Rank 2
answered on 05 Oct 2011, 06:02 PM
Hello,

Reason for this issue:
1.May be some one check in this DLL in tfs so now it was in read only mode.
when we run the project , project need to edit/update this DLL so it was ask for check-out every time.

Solutions:
1.Delete this DLL from project and add again in your project but make sure not check in DLL and before Delete the DLL take back of them.
2. Make ALL DLL in writable.(Remove Read only from DLL)

Let me know if any concern.

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Eng.Bassel Samman
Top achievements
Rank 2
Answers by
Lini
Telerik team
Yohan
Top achievements
Rank 1
Jayesh Goyani
Top achievements
Rank 2
Share this question
or