This issues is because oh hardware problem. i was having it when i was trying to restore my data. thanks for providing solution here. iTunes error 40 is also a hard ware issues and i think both issues should have same fixing steps. is’’t it?