| Previous | Next |
| INET_E_REDIRECT_FAILED | INET_E_INVALID_CERTIFICATE |
INET_E_REDIRECT_TO_DIR
INET_E_REDIRECT_TO_DIR is a URL Moniker HRESULT. It means that the URL Moniker operation expected a file-like resource but reached a directory or directory-style target. The server, path construction or relative URL resolution may be directing the operation to the wrong resource type.
What to check
- Verify the final resolved URL and whether the operation expects a file, a directory listing or a default document.
- Correct server redirects, trailing-slash rules and path construction for the intended resource.
- Do not assume that a redirected directory response can be processed as the expected file content.
Looking for a different code? Search another status or error code.