Configuring ASP.NET MVC on IIS6

23. March 2010 08:30 by Danny Gershman | Comments (4) | Permalink

Finding PID for IIS Application Pool

This is pretty simple.

Create a batch file, call it app-pool-pid.bat for instance.

Edit it and add the following lines into the file:

@echo off

cscript.exe c:\windows\system32\iisapp.vbs

pause

9. September 2009 05:48 by Danny Gershman | Comments (2) | Permalink

Enabling ASP Errors on Vista/Windows 7 (IIS7-7.5)

Pretty tricky, the title says it all

cscript %systemdrive%\inetpub\adminiscripts\adsutil.vbs set w3svc/AspScriptErrorSentToBrowser true      (to allow error message send to client)

On a x64 OS (I run Windows 7 RC x64)

cscript C:\Windows\winsxs\amd64_microsoft-windows-iis-legacyscripts_31bf3856ad364e35_6.1.7100.0_none_4b5800ce84aa413c\adsutil.vbs set w3svc/AspScriptErrorSentToBrowser true

13. August 2009 09:27 by Danny Gershman | Comments (0) | Permalink

Self Signing SSL into IIS

I’ve done this a million times, I just found it useful to publish it for easy reference

C:\Program Files\IIS Resources\SelfSSL>selfssl /T /N:CN=www.tempuri.org /K:1
024 /V:5000 /S:232294796 /P:443

/T: is to make it trusted

/N: is the common name

/K: is bit length

/V: is days of validity

/S: it the Site ID, you can get this from the log prepend (see below)

/P: is port

To get the site ID, open IIS, and check the log settings.

image

 

Technorati Tags: ,
29. June 2009 06:49 by Danny Gershman | Comments (0) | Permalink

About dannyg

dannyg has been writing software for the last 12+ years and worked with various languages and programs.  He specializes business process automation, versatile solutions and R&D.