Strange problem when trying to view a doc

it creates the doc no probs but when it tries to open it i get the following error
Internet explorer cannot download… from localhost
Internet explorer was not able to open this internet site. The requested site is either unavailable or cannot be found. please try again later
what makes it strange is that the code we are using is a direct copy from a previous system, and when i run the previous system on my machine all works fine.
if have attached the code that we use.

Hi,
Thank you for considering Aspose.
It has something to do with IIS, not with Aspose.Word. Please try to search the Internet for this error, for example see here:
http://www.experts-exchange.com/Web/Web_Servers/IIS/Q_21605064.html