question

JesusObiang-2269 avatar image
0 Votes"
JesusObiang-2269 asked SamWu-MSFT answered

Error HTTP 403.18 - Forbidden jar files

Hi all,

I have an application build in ASPNET Core. It is hosted on IIS 6. the application works except when trying to access .js files. For example, I have a dropdown component, and when I try to get a value, it is impossible, the drop-down does not get anything. if I put in the URL the path of the jar file I get the error: Error HTTP 403.18 - Forbidden.
I think that my configuration of IIS is correct, the user IIS_USER has all permissions. The authentication mode is Anonymous.

Thank you very much for your help.

Regards,

windows-server-iis
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

If 403.18 is the actuall error page you saw, then your IIS configuration cannot be right ("A custom error page is configured, and the custom error page resides in a different application pool than the application pool of the requested URL.") https://docs.microsoft.com/en-us/troubleshoot/iis/http-status-code

0 Votes 0 ·

1 Answer

SamWu-MSFT avatar image
0 Votes"
SamWu-MSFT answered

@JesusObiang-2269

There are many reasons for 403.18 error:

  • An ISAPI filter or custom module changed the URL to run in a different application pool than the original URL.

  • An ISAPI extension (or custom module) used ExecuteURL (or ExecuteRequest) to run in a different application pool than the original URL.

  • You have a custom error page that is located in one application pool but is referenced by a Web site in another application pool. When the URL is processed, it is determined by IIS that that it should have been processed in the first application pool, not the other pool.

  • The Web site has multiple applications configured. The application this request is configured to run in is set to run in an application pool that does not exist.

Things you can try:

  • If you have an application that is trying to process a URL in another application pool (such as trying to process a custom error), ensure that they both run in the same application pool if appropriate.

  • If you are trying to process a custom error URL that is located in another application pool, enable the custom errors Redirect feature.

  • Verify that the application pool for the application exists.

  • Create a tracing rule to track failed requests for this HTTP status code and see if ExecuteURL is being called.


If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.