Running Photoshop CS3 on Windows 2003

If you have ever tried to install Photoshop on a Windows Server machine you may have seen a warning that refuses to install on anything but Vista or XPsp2. I'm sure this is massively unsupported; But if you have a temporary need, its a passable solution:

  • Browse to: Adobe CS3\Photoshop\Adobe CS3\payloads\AdobePhotoshop10en_US_volume\AdobePhotoshop10en_US_volume.proxy.xml
  • Edit in notepad and find "Server2003"
  • Change "Server2003":{"Exclude":true} to "Server2003":{"Require":true}
  • Save the file
  • Re-run Setup.exe

You should now be able to install the software, I'm sure some things will work poorly, but this is the price you pay.

Disabling Themes on Custom Master Pages

Ran into an interesting problem where I wanted my custom master page to NOT show my theme. I only wanted the theme to show on the _layouts pages and anywhere else not styled by my custom master page. You would think this would be as easy as simple removing this line from the master page:

<sharepoint:theme runat="server">


The problem I ran into was even with this line removed, SharePoint would still show my theme on the custom master page after I applied it. Turns out SharePoint adds this line to your code:

<meta name="Microsoft Theme" content="Breeze2 1011,
default">


This ends up telling SharePoint to just go ahead and load the theme. The next maddening thing I found was that some master pages weren't having the theme applied. Turns out, the key to having SharePoint NOT apply the theme automagically is to have a master page that is NOT customized (or one that is ghosted if you prefer that lingo). If you apply your custom master page from a Feature instead of customizing it with SharePoint designer, SharePoint will no longer add the meta tag and thus will not load the theme. So, there you have it, one more reason not to customize master pages in production.

IE7 "Operation Aborted" Error on Many Sites

All of the sudden my IE7 was going crazy visiting many popular blogging services including Lifehacker and Gizmodo. It pops up this "Operation Aborted" error and then immediately clears the page when you click OK (which is super annoying). After trying to turn off and on my plugins and going a little bit crazy, it turns out that this is a problem that the IE8 team is aware of and have fixed in the latest beta. Its related to javascript page rewrites after the page has loaded. Apparently SiteMeter, a popular website traffic analysis tool was throwing this error all over the web for the past few days. So rest assured the problem most likely isn't your PC, its probably SiteMeter or some other Javascript.

http://www.inquisitr.com/2097/site-meter-causing-internet-explorer-failure/

http://blogs.msdn.com/ie/archive/2008/04/23/what-happened-to-operation-aborted.aspx

Turning on Detailed Error Messages in SharePoint 2007

This post is not really that novel but I link to other peoples blogs for this topic constantly, so I might as well make my own post with this information:

When customizing SharePoint its fairly easy to make an error or omit something… if and when you do, an out-of-the-box SharePoint site will simply respond by displaying a page that says “An unexpected error has occurred”. I don’t need to tell anyone that this is less than helpful when you are trying to debug something (though it makes total sense for a default setting from a security and usability point of view). In order to see detailed error messages you need to make some very simple changes to the web.config file located on the server that hosts your SharePoint site. Here are the steps:

  1. Login to the Windows server that hosts your SharePoint site and navigate to the website root folder (typically a subdirectory of C:\Inetpub\wwwroot\wss\VirtualDirectories).
  2. Edit the file named “web.config” with Notepad or any other text editor.
  3. Find the line of code that contains the word “CallStack”, which should look like “” and change both the CallStack and AllowPageLevelTrace settings from “false” to “true”.
  4. Next find the line of code that contains the word “Errors”, you should see a line that looks like “”. Change the mode from “On” to “Off”.
  5. Save and close the file.

Warning: this will cause IIS to restart the web application that your SharePoint site lives in (so don’t just do it randomly on a site that other people are using… also it’s probably not a great idea to turn on detailed errors on a production machine for any long period of time).

Once you have made these changes, the error message should now provide a lot more helpful information such as “Cannot find ContentPlaceHolder 'PlaceHolderPageImage' in the master page '/_catalogs/masterpage/custom.master', verify content control's ContentPlaceHolderID attribute in the content page”.