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

Telerik.Web.UI.Skins.dll locks up pc

3 Answers 184 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 21 May 2013, 06:40 PM
I started another thread here:
http://www.telerik.com/community/forums/aspnet-ajax/calendar/skin-error-when-deploying.aspx
But now I have a different problem.

Now it locks up the PC and will not let me publish the project.  I have deleted all of the project files on the server and tried several times to publish and it stops on the bin folder but gives no error.  I can't delete the dll from the bin folder because it says it's in use.

I've had it.  I really like the Telerik controls but it seems between all our developers they are nothing but trouble.  I'm not the first to have this problem.  My other developer has to publish his project to his PC, then hand copies the files up.  Now he refuses to use any of the controls.
As Sr. developer for our plant I'm starting to agree.

My new error from the web server is this when I try to run the project after uploading:
Could not load file or assembly 'Telerik.Web.UI.Skins' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

I have rebooted my pc and tried again.  The problems started when I added a reference to the Telerik.Web.UI.Skins.dll so I could use a skin.

What exactly are the steps please to getting these skins to work?  And please don't point me to the tutorials.  We've read them and have tried them all.  Are missing a step?

Here's what we did:
I added the datetime picker control to the project.  When I try to select a skin it tells me I need to go copy the dll from another place on the drive to by bin folder. (Why this isn't automatic, I don't know)
I go to c:\program files....  and finally get the skin dll file and copy it to my project's bin filder.
Then it will let me add the skin.
Now when I publish the project it can't find the skin again on the server and it tells me to add a reference to the dll in visual studio.
I add the reference to the dll in the bin folder.  (Now the trouble begins)
The project refuses to publish correctly and the dll gets tied up somehow so I rebooted my PC.
Nothing helps until I remove the reference and throw away the skin.  Then maybe it starts working again.

Where did we go wrong?

3 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 24 May 2013, 07:04 AM
Hello Gary,

It seems that your Developement Server is using the DLL and sometimes it locks it up, so you can't replace it. Kill the WebDev process or restart your machine, and you will be able to deploy.

Regards,
Vasil
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Gary
Top achievements
Rank 1
answered on 24 May 2013, 01:44 PM
Thanks, Vasil.
Is there any other way around this?  When I reboot my development machine (not the server) and remove the database from the server, then I can publish and recreate the entire process.
Our dev server is also our production box because we're a small company.

Can I copy out the css and apply it for the skin I need, or create the skin from scratch?  We have a color scheme that we use on all our products we create.  Your controls are nice and I love the radgrid, but using a skin makes life hard.
0
Vasil
Telerik team
answered on 27 May 2013, 06:58 AM
Hi Gary,

I can't be sure what exact process is holding the DLL that you are unable to copy. Perhapsh there is faster/easier way, but first you will need to determinate the process that you should kill/restart, to avoid restarting the whole machine.
See this forum that might be helpful;
http://stackoverflow.com/questions/225802/how-to-determine-which-process-is-holding-a-file-in-windows

If the problem is happening when you copy the files to the directory that is hosted using your IIS, try to stop the particular site only in the IIS manager, then copy the files and then start it again.
You can copy a skin and to modify it further, as actually suggested in our documentation. Check out the Telerik Visual Style Builder that can be useful for creating new skin: http://stylebuilder.telerik.com/New.aspx

Regards,
Vasil
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Calendar
Asked by
Gary
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Gary
Top achievements
Rank 1
Share this question
or