Navigation

Showing posts with label server. Show all posts
Showing posts with label server. Show all posts

5/18/2017

IIS: restoring IUSR_computername


On IIS with ASP, got the following error:  Active Server Pages error 'ASP 0115'

Looked like permissions issue with following accounts:  IUSR_computername and IWAM_computername

To recreate these accounts, did these steps:

Click Start, and then click Run.
  1. Type regedit, and then click OK.
  2. Locate the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp
  3. Right-click InetStp, point to
    New, and then click DWORD Value.
  4. Type
    DisableUserAccountRestore. Do not change the default value.
  5. Quit Registry Editor.
  6. Click Start, and then click Run.
  7. Type cmd, and then click OK.
  8. At the command prompt, type iisreset, and then press ENTER. 

support.microsoft.com

9/20/2016

SSL testing for web server

Here is a tool for testing SSL certificates on web servers   https://www.ssllabs.com/ssltest/analyze.html


5/07/2015

Task manager permissions

Trying to set up task in Windows server with local user, and I get this error message:

This task requires that the user account specified has Log on as batch job rights

I needed to give the user rights to login to run batch jobs:

1. Run    secpol.msc /s
2. Select "Local Policies" in MSC snap in
3. Select "User Rights Assignment"
4. Right click on "Log on as batch job" and select Properties
5. Click "Add User or Group", and include the relevant user.

8/04/2014

Listing users on windows shared drive

Ran out of "connections" to a windows file share, logged into server and did the following:


To disconnect a user or all users from a shared folder or drive by using the Windows interface
  1. Open Computer Management.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
  3. In the console tree, click System Tools, click Shared Folders, and then click Sessions.
  4. To disconnect all users, on the Action menu, click Disconnect all users. To disconnect a specific user, in the Details pane right-click the user name, and then click Close Session.

 

To disconnect a user or all users from a shared folder or drive by using a command line
  1. To open an elevated Command Prompt window, click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
  3. Type:
    net session \\<computer> /delete
    
    For example, to disconnect a user on a computer named user_computer, which is connected to a shared folder that you are managing, type:
    net session \\user_computer /delete

From: MS Technet

12/07/2012

IIS HTTP error 404.11 - due to bad filename, plus signs



With URL:    http://server.name.here.com/SIERRA+FUN+FACTS.docx

Got the error message below.  First tried tinkering with mimetype (application/msword) but then decided just to change the filename

http://server.name.here.com/SIERRA-FUN-FACTS.docx

Getting rid of  +  signs solved the problem.




HTTP Error 404.11 - Not Found

The request filtering module is configured to deny a request that contains a double escape sequence.

Detailed Error Information
Module RequestFilteringModule
Notification BeginRequest
Handler StaticFile
Error Code 0x00000000
Requested URL http://255.255.255.255:80/SIERRA+FUN+FACTS.docx
Physical Path C:\libraryfiles\Web Documents\SIERRA+FUN+FACTS.docx
Logon Method Not yet determined
Logon User Not yet determined
Most likely causes:
  • The request contained a double escape sequence and request filtering is configured on the Web server to deny double escape sequences.
Things you can try:
  • Verify the configuration/system.webServer/security/requestFiltering@allowDoubleEscaping setting in the applicationhost.config or web.confg file.