Friday, February 24, 2012

How to stop IIS asking authentication for default website on localhost

There are various reasons for this. pl go through the lines below:-
1.   NT file permissions problem. IUSR_ needs to have file system permissions to read whatever file you're requesting (like /inetpub/wwwroot/index.htm). If you still have trouble, check the IIS logs, typically at \windows\system32\logfiles\W3SVC*.
2.
Click Start>control panel>Administrative Tools>Internet Information Services.Expand the left tree, right-click your WebSite>Properties Click on Directory Security, then in "Anonymous access and authentication control" click on Edit Enable Anonymous access>browse> enter the credentials of the admin (like Administrator) (check names),> Click OK. Apply the settings and it should work fine.
3.  It could be because of couple of Browser settings. Try with these options checked. Tools > Internet Options > Advanced > Enable Integrated Windows Authentication (works with Integrated Windows Authentication set on IIS) Tools > Internet Options> Security > Local Intranet > Custom Level > Automatic Logon Worst case, try adding localhost to the Trusted sites. If you are in a network, you can also try debugging by getting a network trace. Could be because of some proxy trying to authenticate.
4. IIS uses Integrated Authentication and by default IE has the ability to use your windows user account...but don't worry, so does Firefox but you'll have to make a quick configuration change.
1) Open up Firefox and type in about:config as the url
2) In the Filter Type in ntlm
3) Double click "network.automatic-ntlm-auth.trusted-uris" and type in localhost and hit enter
4) Write Thank You To Blogger
As Always, Hope this helped you out.5.  Is the UserID IUSR_computername?  If so ... Click Start>Administrative Tools>Internet Information Services. Expand the left tree, right-click your WebSite>Properties. Click on Directory Security, then in "Anonymous access and authentication control" click on Edit. Tick "Allow IIS to control password", then OK and come out of IIS.

Wednesday, January 4, 2012

Screen repeatedly flashes to a blank text-mode screen when you build from the development environment in Visual


On Windows NT, Windows Server 2000, Windows XP (32-Bit), or Windows Server 2003

Steps to reset default configuration of all command prompts

On Windows NT:
  1. Go to the Windows NT Control Panel.
  2. Double-click the Console icon.
  3. Click the General Settings or Options tab.
  4. Select Window under the Display Options group.
  5. Click OK.
On Windows Server 2000, Windows XP (32-Bit), Windows Server 2003, and Windows Vista (32-Bit):
  1. Run Regedt32, which is located in the \System32 subfolder of the Windows NT root folder.
  2. Open the \HKEY_CURRENT_USER\Console branch of the registry tree.
  3. Set the FullScreen value to 0.
  4. Exit the registry editor.

    On Windows 95, Windows 98, and Windows Me:

    Steps to reset configuration of _Default.pif

    1. In the Explorer, right-click the _DEFAULT file with the MS-DOS icon next to it in your Windows directory.
    2. Choose Properties.
    3. Click the Screen tab.
    4. Choose the Window option and click Apply, then OK.