Skip to main content
Inspiring
May 7, 2010
Answered

Unable to read WSDL from URL after upgrade to CF9

  • May 7, 2010
  • 1 reply
  • 2035 views

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

    This topic has been closed for replies.
    Correct answer Adam Cameron.

    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

    1 reply

    Adam Cameron.Correct answer
    Inspiring
    May 9, 2010

    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

    bobk1Author
    Inspiring
    May 10, 2010

    Thanks Adam, you're correct - it was a file permissions problem. Strange that it worked for CF 7 though

    Bob