Copy link to clipboard
Copied
We've just upgraded our ColdFusion server from MX 7 to version 9 and now we can no longer call local web services. Instead we get an error "Unable to read WSDL from URL ... Error: 401 Unauthorized."
I tried this:
<cfhttp url="http://dw3/test/sayhello.cfc?wsdl"/>
<cfdump var="#cfhttp#">
and get this result:
<h1>You are not authorized to view this page</h1>
You do not have permission to view this directory or page due to the access control list (ACL) that is configured for this resource on the Web server. <hr> ...
<h2>HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on the requested resource.<br>Internet Information Services (IIS)</h2>
We haven't changed any of the permissions. on directories. and I've tried running the cfc's from other directories without luck.
We upgraded by uninstalling MX7 and doing a new install of CF9 in the same location (mutliserver config in both cases). Wonder if that may have something to do with it.
Any ideas?
Windows server 2003, IIS 6.
Thanks
Bob
The Hospital for Sick Children
Sounds like an IIS config issue rather than a CF one: that's IIS refusing to serve the file, not CF. As per the error msg, have you checked there's nothing untoward with the file system permissions?
--
Adam
Copy link to clipboard
Copied
Sounds like an IIS config issue rather than a CF one: that's IIS refusing to serve the file, not CF. As per the error msg, have you checked there's nothing untoward with the file system permissions?
--
Adam
Copy link to clipboard
Copied
Thanks Adam, you're correct - it was a file permissions problem. Strange that it worked for CF 7 though
Bob