I am moving my website shared hosting to dedicated hosting but some page stop working and it throws exception The process cannot access the file because it is being used by another process. Line 172: File.Move(ImagePath, System.IO.Path.ChangeExtension(ImagePath, ".jpg")); this happens when I try to upload a file to server. it hasto do something about configuration because this code is working at www.mpazari.com and its hosted in godaddy shared hosting. thanks in advance