Articles for IIS
-
Online tools for security testing
0 commentsRead More
-
How to test to see if an smtp mail server is available using telnet
0 comments Read More -
Installing Classic ASP COM Components
1977 commentsSome tips on installing classic ASP COM objects under IIS7 on Windows 2008 64-bit. App Pool It is important to set up the site with the right app pool settings. These are good settings to use: 1. Enable 32 Bit Components on Win64 = TRUE (essential if using 32 bit COM objects or Access/ODBC data s...
Read More -
Which w3wp process belongs to which App Pool
0 commentsUPDATE: If your App Pools use the Identity "ApplicationPoolIdentity" then the App Pool will name will show up in the process explorer - no need to do anything else. If Windows Task manager shows excessive resource usage (CPU or memory, mostly) for an IIS 7 worker process (w3wp.exe), it’s helpful ...
Read More -
SSL related
10 commentsRequesting and installing a certificate from a provider Step 1: How do I generate a CSR on Microsoft IIS 7.0? https://knowledge.rapidssl.com/support/ssl-certificate-support/index?page=content&id=SO10516 On the root note in IIS 7, click Server Certificates icon. Right click the blank space, cli...
Read More -
Access to the registry key 'Global' is denied
7 commentsA workaround to this issue
Read More -
Awesome network tool - TNM
0 commentsWe use Total Network Monitor - TNM to monitor our sites, servers, client sites, phones, and even local wifi clients.
Read More -
Routing issues in MVC
7 commentsI had an issue when including a warningbar in admin, caused by strange routing behaviour in MVC related to html.renderaction and html.action
Read More -
IIS App Pools and File Permissions
0 commentsWhen setting security permissions on files, you need to know which user to apply the permissions to. Depending on the version of IIS and Windows, there are different defaults for what user the website runs under. IIS7 and App Pool Identities The lastest new idea is running each app pool under a s...
Read More -
Setting up FTP for the first time
1 commentsSetting Up FTP ---------- EDIT: Just use FileZilla - it's so much easier---------- make sure the old native version of FTP is NOT installed Server Manager -> Roles -> Web Server (IIS) -> Remove Role Services -> uncheck FTP Publishing Service find and download ftp 7.5 for your operatin...
Read More -
IIS Connect to Access Database
0 commentsOnce you has classic asp running on your local computer and you want to connect to a local Access Database you need to "Enable 32-bit applications" in the Application Pool for the site. Select the Application Pool in IIS, click on Advanced Settings... in the Actions on the right of the screen. Ch...
Read More -
How to Stop inheritance of web config files
0 commentsYou will need to wrap <system.web> and anything you do not want to be inherited into <location path=”.” inheritInChildApplications=”false“></location> For example: <location path=”.” inheritInChildApplications=”false“> <!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --> <!-...
Read More -
IIS7 ASP Detailed Errors
0 commentsIn IIS7, this is how you set the server to send detailed errors to the browser for Classic ASP. You need to do ALL THREE steps. Note that Enable Server Side Debugging must be set to False. Otherwise, when an error is encountered, no error message will be displayed and the response will just stop ...
Read More -
How to add ftp users
3 commentsGuide for adding FTP Users note: missing images Step 1 - RDP into versa (the login details are in password safe) - Open IIS Manager (there is a shortcut on the desktop) - Left click 'WIN-O4VB8RXHZ9Q' (machine name) - Double click IIS manager users (at the bottom of the main window) - Click Add U...
Read More -
How to fix IIS6 when ASP11 works, and asp 20 does not work
0 commentsHow do you fix an asp site on IIS6 where asp1.1 works fine, and the asp 2.0 version site on the same machine returns a 404. go into 'web service extensions', turn off the default 'prohibit' asp .net 2.0 apps
Read More -
SMTP Server setup
0 commentsYou can run an SMTP Server using microsoft's built in SMTP server. Installation Under server manager, Roles, install the Web Server IIS Role, and within that install: "ODBC Logging Module" (this is required for any kind of logging even text files) IIS 6 Management Console Under server manager, ...
Read More -
FTP 7_5
0 commentsSetting it up You don't have to do this from Win 2008 R2 onwards. It comes as a Role Feature which you just tick. Add ports 20,21,22 to firewall inbound rules. Make sure you set specific Remote IP addresses that are allowed to access this. By default PASV mode doesn't work when you install FTP ...
Read More -
How to disable ASP script execute permissions on iis7
2 commentsOn any website that includes folders with WRITE permissions (eg an uploads folder) it is ESSENTIAL to block scripts from running for that folder. Otherwise a hacker could potentially upload an ASP file or GCI script and then run it. IIS 6 - Directory Properties In IIS6 or below you would open the...
Read More -
Prevent app restarts and site downtime when deploying files
1 commentsAfter a fair amount of searching for the wrong keywords, I finally found two solutions. Solution 1 - httpRuntime > waitChangeNotification setting The waitChangeNotification indicates how many seconds we should wait for a new change notification before the next request triggers an appdomain res...
Read More -
How to upgrade a website to dot NET 4 - Unrecognized attribute ÔÇÿtargetFrameworkÔÇÖ
0 commentsIf you try to run a .NET 4 application (set to .NET 4 in web config) using a .NET 3.5 (or earlier) application pool, you will get the following error: Unrecognized attribute ‘targetFramework’ To associate an IIS application with the .NET Framework 4 in IIS 7.0 In Windows, start Inetmgr (on Wind...
Read More -
TrySkipIisCustomErrors
0 commentsIn a nutshell: If IIS7 is catching your errors and displaying it's own pages instead of your custom ones (or if your custom pages are returning the correct response code - which they should be) then you need to add this: Response.TrySkipIisCustomErrors = true; Check this page for more informa...
Read More