Script Component timing out


i have been doing some customisations for a customer on their test system and want to move these across by using the component manager - each time i try to script the component out it takes ages (around 45 mins) and then times out and displays a page showing page cannot be displayed

is there anyway of fixing this? ive had a look in the log files and cannot see any errors, ive also took a copy of the db and restored in a virtual server and get the same issue

any help would be much appreciated