Solution: run cmd.exe in administrator mode
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -i
2. Access is denied.Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL
Error message 401.2.: Unauthorized: Logon failed due to server configuration
Solution: allow "Anonymous Authentication" and "Form Authentication" or others
3. Login failed for user 'TDBFG\TDL08120509$'.
Solution: Application Pool Identity corresponds to security of your website whereas running your website under IIS. Application Pool Identity runs your website unique account. Network service is IIS default identity, it doesn't need password so caused low prevailed. You'll reconfigure IIS Application Pool Identities as per your specific demand.
http://www.technologycrowds.com/2013/03/login-failed-for-user-iis.html
4. The server cannot handle directory requests. return pc.ValidateCredentials(userName, password);
The following thread has a similar issue, which turned out that IIS on the server was set up to run as LocalMachine, please change it to NetworkService (the default).
http://stackoverflow.com/questions/3694919/nets-directory-services-throws-a-strange-exception
5. Also need to give permission to NetWorkService Account in SSMS (for above step #4)
Also remember:
- use ASP.Net v4.0 application pool
No comments:
Post a Comment