tags:

views:

167

answers:

2

We have a website/webservice running on one of our servers. We hit that webservice once a day with a scheduled .bat scipt.

Just recently the scheduled task started to fail. The log shows "Invalid URI: The hostname could not be parsed."

When we're logged into the server we can reach the website through http://localhost/website, but get an Invalid URI error when we hit the webservice http://localhost/website/ws.asmx.

Any ideas?

Edit:

We'be tried using the servername, the ipaddress, and port numbers (and combinations therein). Any other ideas?

A: 

Try using the IP Address of the machine instead of localhost.

Basically, I'm taking a wild stab that someone ran a lockdown or a service patch was installed that somehow is filtering request resposes to localhost (127.0.0.1).

Kieveli
Yup, tried ipaddress...no joy.
sgwill
A: 

Try using the machine name instead of localhost

Ryan