Archive for the ‘Configuration’ Category
Login failed for user ‘DOMAIN\MACHINENAME$’
Posted by: admin in ASP.Net, Configuration, IIS 7.0 on September 16th, 2011
NETWORK SERVICE and LocalSystem will authenticate themselves always as the correpsonding account locally (builtin\network service and builtin\system) but both will authenticate as the machine account remotely.
If you see a failure like Login failed for user 'DOMAIN\MACHINENAME$' it means that a process running as NETWORK SERVICE or as LocalSystem has accessed a remote resource, has authenticated itself as the machine account and was denied authorization.
Typical example would be an ASP application running in an app pool set to use NETWORK SERVICE credential and connecting to a remote SQL Server: the app pool will authenticate as the machine running the app pool, and is this machine account that needs to be granted access.
When access is denied to a machine account, then access must be granted to the machine account. If the server refuses to login ‘DOMAIN\MACHINE$’, then you must grant login rights to ‘DOMAIN\MACHINE$’ not to NETWORK SERVICE. Granting access to NETWORK SERVICE would allow a local process running as NETWORK SERVICE to connect, not a remote one, since the remote one will authenticate as, you guessed, DOMAIN\MACHINE$.
If you expect the asp application to connect to the remote SQL Server as a SQL login and you get exceptions about DOMAIN\MACHINE$ it means you use Integrated Security in the connection string. If this is unexpected, it means you screwed up the connection strings you use.
Source
If the error still appearing try the below by adding it in the web.config
<system.web>
<identity impersonate=”true” />
</system.web>
IIS Error with “Unexpected Error 0x8ffe2740 Occurred” Error Message When You Try to Start a Web Site
Posted by: admin in .NET, Configuration, II7, IIS 7.0 on April 27th, 2010
It means that the port is already in used by other services. Use “netstat -a” in the command prompt to check the open ports and you can change the port number used by the IIS
For more information about IIS port binding
How to Access IIS 7.0 Remotely
Posted by: admin in .NET, Configuration on May 4th, 2009
To access IIS 7.0;
- Install IIS 7.0 Management Tool
- Open Server Manager, Goto Roles->Web Server-> click Add Role Services
- Find and Select Management Service then click install button.
- Goto Management Service Page in IIS Manager, check the Enable Remote Connections (Make sure the Management Service is not running because you cannot make changes in it).
How to Set the Default Page of the Website
Posted by: admin in Configuration, IIS 7.0 on April 22nd, 2009
There are two ways to Set the default page of the website In IIS 7.0
1. Directly on the IIS 7.0 Manager
-
1. Open IIS Manager
-
2. Select your web site directory
-
3. Make sure Feature View is selected
-
4. On center page, under HTTP Feature select Default Document
-
5. Type the Default Page you want.
2. By using Web.Config file, just add to following line to your web.config file
-
<configuration>
-
<system.webServer>
-
<defaultDocument>
-
<files>
-
<add value="index.php" />
-
</files>
-
</defaultDocument>
-
</system.webServer>
-
</configuration>
Other Resources:
NetOMatrix | IIS Net