500.19 on IIS 7, Cant log on local

I do not know where I ask this ...

I saw this problem, and I think that the answer should be close to me, but it seems that I still can not do it.

It's funny that the same thing (I think) was done by me on another server with IIS 7 years ago or so, without further problems. It may also be that I do not remember so much of it. I have an Apache server running on port 80 (this cannot be changed)

Here is what I did:

Integrated AppPool was a problem on another server that I placed, so I tried changing

  • AppPool by default for classic .Net
  • WebApp pool in classic .Net

The user is also required for the web service, so I host a service account that represents any anonymous (or not) user who can access it, so I have

  • Service Counter as Administrator wwwroot and subfolders
  • ServiceAccount as the default impersonation of the default website
  • ServiceAccount as an impersonation in every web application I need
  • Distributed a railway folder with ServiceAccount

Also

  • I checked access, and both authorization and authentication work just fine.
  • I reloaded the application, site and IIS several times unsuccessfully.
  • I checked the event log without finding anything useful.
  • Modified applicationHost.config got into more trouble than solutions.

This is what I get when I try to see application settings on IIS7

--------------------------- Application Settings --------------------- ------

An error occurred while performing this operation.

Details:

File Name: \? \ C: \ Windows \ system32 \ inetsrv \ config \ applicationHost.config

Line Number: 165

Error:% SystemDrive% \ inetpub \ wwwroot cannot be logged on locally as user MyDOMAIN \ MyUser with a virtual directory password

--------------------------- OK ---------------------- -----

This is what I see when I go to my page (asmx)

HTTP Error 500.19 - Internal Server Error. The requested page is not available because the corresponding configuration data for this page is not valid.

Error Details IIS Web Core Module Notification Unknown Handler Not yet defined

Error Code 0x80070569

Configuration error Unable to locally log into C: \ inetpub \ wwwroot as user MyDOMAIN \ MyUser with virtual directory password

Configuration file not available (configuration isolation)

The requested URL is http: // localhost: 8080 / myApp / MyWebService.asmx

Physical path

Login method not yet defined

Login user not yet defined


@Edit: 0x80070569 I understood that the service account should not be logged in as a service (as it should be), nor as a batch process.

This was a security setting that you need to touch, the GPO must be configured for the account (in the example MyDOMAIN\MyUser ). And this is access that only the IT security domain can provide.

Even when this changed, the problem remained in place.

+11
source share
2 answers

In fact, it was a secpol.msc policy that blocked access to the network. ServiceAccount was not a service.

Like in the editing I posted, IT Security granted me privileges to install it * s Service Account *, but that just wouldn't do the trick.

In advanced website settings

The type of login to the physical path account, the Batch logonMethod option is selected.

And the service account still did not have privileges to run as a batch process .

And that’s all.

Not only a service account is required, but also β€œRun as a batch job”.

+6
source

This solution did not work for me. But when I follow the previous steps, my problem has been resolved. I am sharing this for users for whom the above solution does not work.

  1. Go to your IIS manager.
  2. Click on sites
  3. Right-click the default websites, go to the "Website Management" section, and then click
    Advanced settings
  4. Set physical path credentials for a specific user with credentials
  5. Reboot IIS

Note. You may also need to re-enter your credentials in the application pool if the system password has recently been changed.

Hope it helps.

+28
source

All Articles