Category IIS

iis disable debug

In IIS to disable debug do the following. Modify the Web.config File Open the Web.config file in a text editor such as Notepad.exe. Web.config file is typically located in the application directory. Modify the compilation element and set debug=”false” <compilation…

psexec icacls remote computer

Set proper permissions in IIS 7.x on a remote computer We will be using psexec icacls on the remote comptuer Objective: Grant NT AUTHORITY\NetworkService the proper permissions for a particular website on “somecomputer” using credentials “somedomain\someuser somepassword” The Command to…

Trace ASP.NET Application

You’ll need to edit the web.config Web.config Place the following after system.web tag: Trace ASP.NET Application Those options only allow you to see the trace from the server itself. RDP in to the server Connect to:

iisapp find app pool w3svc

Determine the site’s application pool: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>C:\Inetpub\AdminScripts\adsutil.vbs get w3svc/1975602314/root/apppoolid apppoolid : (STRING) “some_app_pool_name” Restart the site’s application pool: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>cscript %SystemRoot%\System32\IIsApp.vbs /a some_app_pool_name /r Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. Connecting to server…

iis 6.0 site running wrong version of .net

Have you ever noticed your IIS 6.0 site is running the wrong version of .net? This post explains how to change the asp.net version of a specific iis 6.0 website to asp.net 4.0 First find your website using C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -lk…

asp.net tab missing iis6

If you’ve got a 64-bit server you can test this out for yourself by following these steps. Install IIS 6.0 on the server and then open the Properties of the Default Web Site. You should see the Asp.Net tab as…

set up asp mvc3 iis6

Original article from If you have a server running IIS 6, ASP.NET 4, and ASP.NET MVC 3 (or even ASP.NET MVC 2. I haven’t tried ASP.NET MVC 1.0), your website should just work with the default extensionless URLs generated by ASP.NET…