403 - Forbidden: Access is denied.

Rebal's Avatar

Rebal

23 Jul, 2016 02:25 PM

403 - Forbidden: Access is denied.
You do not have permission to view this directory or page using the credentials that you supplied.
What to do ?
i downloaded the built and all of the files are there , i enabled the directory in ISS and still this problem happens

  1. Support Staff 1 Posted by rune on 24 Jul, 2016 09:18 PM

    rune's Avatar

    Hi,

    What application are you experiencing this issue with?

    Best,
    Rune

  2. 2 Posted by Rebal on 25 Jul, 2016 12:02 AM

    Rebal's Avatar

    I believe i didn't put the application Link
    https://appharbor.com/applications/raateam
    That's the link of my application

  3. Support Staff 3 Posted by rune on 25 Jul, 2016 12:57 AM

    rune's Avatar

    Looks like the reason for the 403 is that it falls back to the static file handler, likely because the .NET/Route handlers aren't configured. The app seems to be missing a Global.asax file, which may be causing this. Do you have this locally?

    You mentioned that you've tried running this locally in IIS - do you mean this build output downloaded from AppHarbor? If so, can you describe the configuration of the application pool you've used?

    Best,
    Rune

  4. 4 Posted by Rebal on 25 Jul, 2016 01:25 PM

    Rebal's Avatar

    Ummmmmm help me a bit i'm new to these kind of things :D

  5. Support Staff 5 Posted by rune on 26 Jul, 2016 12:43 AM

    rune's Avatar

    I'm trying to, but need to know a bit more before I can do so :-) Which one of the questions I asked are you in doubt about?

    Best,
    Rune

  6. 6 Posted by Rebal on 27 Jul, 2016 09:45 PM

    Rebal's Avatar

    The app seems to be missing a Global.asax file, which may be causing this.
    this reason i didn't understand exactly :S

  7. Support Staff 7 Posted by rune on 28 Jul, 2016 02:13 AM

    rune's Avatar

    Hi,

    You can read more about Global.asax and how/what to use it for here (and the linked MSDN article).

    Essentially your app will need to be configured to somehow respond to IIS events. Right now the directly only contain a Web.config, but no routes, handlers or modules are configured in that file.

    You mentioned that you were able to run in IIS -- is that the correct understanding? If so I'd assume that your local configuration and files are different from the ones running on AppHarbor? If they are not it'd be great if you could provide more details about the configuration of your IIS app that works locally!

    Best,
    Rune

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac