Finally it seems that i could solve de problem.
It was a problem with a CGI timeout in IIS. I've changed it and it seems to work correctly. In the follow link you can find how to change this parameter
http://www.murraymoffatt.com/software-problem-0002.html
Thanks for your help!!