Posts

Showing posts from July, 2011

When IE7 just doesn't go away

Image
Internet Explorer and Compatibility Views seem to be messing up our environments, forcing lower rendering modes when upper modes are available. If we hit F12 we can see what browser mode and document mode our page is using. We'll probably figure out IE7 is being used when IE8 or IE9 is installed. We can do two things now: - Disable "Display intranet sites in Compatibility View" (Tools -> "Compatibility View settings") - And change X-UA-Compatible attribute in the master page Turns out Microsoft ships v4.master in SharePoint with IE8 as standards mode. <meta http-equiv="X-UA-Compatible" content="IE=8"/> We can either set it to IE9, <meta http-equiv="X-UA-Compatible" content="IE=9"/> to the latest available mode, <meta http-equiv="X-UA-Compatible" content="IE=EDGE"/> or none at all, <!--<meta http-equiv="X-UA-Compatible" content="IE=8"/>-->

DNN5 Unable to generate a temporary class

Error: Unable to generate a temporary class (result=1). error CS2001 Solution: Give IIS_IUSRS Full Access to Windows\Temp folder

Fix boot and master boot record XP/Vista

Most hard drive issues are due to unexpected rebooting or sudent power failure. This, in turn, usually prevents the operating sytem from booting, even if the disk is not actually damaged. Botting trough an OS install disk, we can open a repair command-line to try some things that may fix the boot system. In XP/W2K: fixmbr fixboot In Vista/7: bootrec /fixmbr bootrec /fixboot

Orchard | Allow ashx files

Add this handler to system.webserver, handlers section of Web.config to allow theme/modules to open up ashx files: http://orchard.codeplex.com/discussions/260500