Tag Archives: iis

X-UA-Compatible

i had a problem with my super simple asp.net site… designed in locally with style sheets and looked cool 🙂 but after putting it on the IIS7 it looked completly different… wtf? after trying everything, renaming stuff, reconfigure the IIS, swear a lot… i found:

<meta http-equiv=”X-UA-Compatible” content=”IE=100″ />

ok it didnt really help, put it is the solution… 🙂

the X-UA-Compatible defines the render version browser of given website… so if IE=7, every newer browser tries to render the website with the IE7 rendering mechanism… every older browser renders it with its own rendering mechanism… so if set to 100 the browser renders it with his mechanism… as long as Microsoft doesnt release the IE101, when i hopefully do not create html anymore… …

but the meta-tag was not the solution in my case… IIS7 stores the X-UA-Compatible localy for every application… which can be set on the IIS7 in the http-header… that was the solution 🙂

read more

Process ID IIS

currently i need to debug my sourcecode remotly. but its an IIS and normaly runds three w3p3.exe with different AppPools… so how in hell can i figure out which process is mine?

actually there is an app for that 🙂

  1. open cmd
  2. goto systemroot\system32\inetsrv
  3. run: appcmd list wp
  4. tada… 🙂

source

or create a .bat file:

systemroot\inetsrv\appcmd list wp
SET /P anykey=[promptString]