IIS

Using Caspol.exe to grant .NET applications rights to a remote network share

by File in: IIS

When you host a .NET application on a remote network share, you may receive a System.SecurityException exception error message or a security warning message. The Code Access Security Policy tool (CASPOL) enables administrators to modify security policy for the machine policy level, the user policy level, and the enterprise policy level. Caspol is used to […]

Fix: The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://x.x.x.x:80/ for site 1. The site has been disabled. The data field contains the error number

by File in: IIS

Fix for The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://x.x.x.x:80/ for site 1. The site has been disabled. The data field contains the error number. System log Event: 1004 Source: IIS-W3SVC Error received when trying to start the stopped web site:  The process cannot access the file because […]

Howto: Backup IIS 7.0 web server configuration

by File in: backup, IIS

To backup your IIS 7.0 configuration on a Windows 2008 Server, you just need to make a copy of the \windows\system32\inetsrv\config directory (and subdirectories) and save it in a safe location. You can also use the appcmd.exe utility to create the backup via the command line. The syntax to create a backup is: %windir%\system32\inetsrv\appcmd.exe add […]