ezekiel
ezekiel

Reputation: 187

Http Error 404:14 - Forbidden

I've installed my web application already in IIS. But when we run it, it contains HTTP Error 403.14 - Forbidden. I've researched about the solutions.

  1. Enabled Directory Browsing. -But enabling directory browsing is not allowed.

  2. Add Defalut Document -I already have a default Document.

So now, I'm practically lost on how to solve this issue.

Upvotes: 1

Views: 723

Answers (2)

ezekiel
ezekiel

Reputation: 187

I've already solved this issue. There's just something wrong with my default document in my web.config. I used ~/Login.aspx instead of Login.aspx.

<defaultDocument enabled="true"> <files> <clear /> <add value="Login.aspx" /> </files> </defaultDocument>

Upvotes: 1

TheProvost
TheProvost

Reputation: 1893

Have you already registered the framework for iis in the computer?

C:\windows\Microsoft.NET\Framework64\v4.0.30319> .\aspnet_regiis.exe -ir C:\windows\Microsoft.NET\Framework64\v4.0.30319> iisreset

run that in command prompt

Note: Path will of course change depending on your local drive

Upvotes: 1

Related Questions