Failed to create a site in iis 8

Asked

Viewed 263 times

1

I am trying to publish my application on a windows server 2012 and IIS 8. I have deployed the files to the appropriate folder. In IIS, when creating a new website and testing the connection, I get the following failure:

inserir a descrição da imagem aqui

How to properly configure IIS to be able to run my application using windows Authentication?

1 answer

0


You have to use a user with read and write privileges to C:/inetpub. Or give your current user privileges to that folder.

In IIS, before having the connection tested you must inform this user: in the option called "Connect As...".

With absolute certainty this is missing permission problem the cited folder.

  • Okay @Fernando! If I pass my user credentials (which are the same ones I used to access the server and IIS) in the "connect how" I get ok authorization in the test Connection. But this still doesn’t allow me to access my site. By testing in the browser with "Anonymous Authentication - Enabled": "Server Error in '/' Application. Access is denied." and using 'Windows Authentication - Enabled' I have "HTTP Error 401.1 - Unauthorized" That is, problems regarding permission still persist...

  • I know this eludes the question a little, but you have some idea of what else I need to check or do @Fernando ?

  • @Pfvictor, as you said, that already another question and another problem, and it seems to me to be a problem in the implementation of the application, if I understood what you said, but without but details it becomes complicated to try to help you in the dark. I recommend you create another issue detailing your problem and the difficulties you are having, don’t forget to be as clear and objective as possible and try to isolate your problem, no one will be able to help you and your question would be closed as outside the scope, for being a specific problem.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.