Interview Questions

SOAP Toolkit FAQ - Why do I get an Access Denied error?

SOAP Interview Questions and Answers


(Continued from previous question...)

SOAP Toolkit FAQ - Why do I get an Access Denied error?

Keep in mind that a Soap Toolkit application is a Web application. All Web servers have many safeguards to ensure that users are unable to access anything they shouldn't. This means that Access Denied is often the default state for a server application. A few things to check:

* Make sure that the user your application is running as (IWAM_... or IUSR_... etc.) has read access to the WSDL & WSML files—check the file ACL and the IIS configuration.
* Make sure that the Web application user has read and execute permissions for the dll that implements your Soap Service.
* Make sure you virtual root is set up to allow read and execute permissions for the .wsdl extension.
* This often happens when running your server object in the VB debugger. The anonymous user doesn't have sufficient permissions to activate an object in the VB debugger.

This isn't an exhaustive list but it should give you some idea of where to start.

(Continued on next question...)

Other Interview Questions