HP Optimized Power Plan on Windows 7
Sunday, February 28 2010 - 0 comments
In the downloads section on the support pages on http://www.hp.com for my HP EliteBook 8730w, I did found that HP is offering something called “System Default Settings for Microsoft Windows 7” One thing that this installs is a new power plan called HP Optimized, which actually replaces the default Balanced power plan. So what differs between the two? I compared them and come to the following differences: Balanced HP Optimized Sleep/Hibernate after/On battery 360 minutes Sleep/Hibernate after/Plugged in: 360 minutes Sleep/Hibernate after/On battery 1080 minutes Sleep/Hibernate...
SharePoint: How to apply ViewStyle in schema.xml
Thursday, February 04 2010 - 0 comments
When you are customizing a SharePoint list with a custom schema.xml file, you may also want to set the ViewStyle for your View. You do that by adding a <ViewStyle ID="xx"/> element within the <View> element. For exampl ID 17 corresponds to the "Shaded" view style. Here's a table with the common ViewStyles available, as defined in the <12 HIVE>\TEMPLATE\GLOBAL\XML\VWStyles.xml 0 Basic Table 12 Boxed, no labels 13 Boxed 15 Newsletter 16 Newsletter, no lines 17 Shaded 20 Preview Pane 0 Default...
Using UserMulti field in the CAML schema
Thursday, February 04 2010 - 0 comments
This was unexpected, and not documented at all in the SharePoint SDK. When you create a UserMulti column, you must also specify Mult="TRUE", otherwise it will fall back to a standard (single select) User column type. <Field ID="{12312312-1234-1234-1234-123412341234}" ... Group="My Group" Type="UserMulti" Mult="TRUE" ......
System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed
Saturday, January 16 2010 - 0 comments
This error can be caused by a variety of reasons. In my case I got it when I published my ASP.NET MVC 2 application to my local IIs instance in IIS 7.5 / Windows 7. As it turns out, I needed to set the application pool account property “Load User profile” to true: That did the trick....
Show all Control Panel settings in Windows 7/Vista. A.k.a “GodMode”
Monday, January 04 2010 - 0 comments
If you want to see all the settings you can adjust in the Control Panel in one window, do the following: On the desktop, create a new folder and name it: All Settings.{ED7BA470-8E54-465E-825C-99712043E01C} When opened, it will show all the possible action you can do in the Control Panel in one large scrollable window: Note that it doesn’t show you anything that you otherwise could not see in the Control Panel. It just show you a list of all available items. So, whoever coined the term “GodMode” apparently didn’t have much high expectations. Taken from Steve Claytons blog...
How to target 32bit and 64bit a .NET applications with WiX and separate MSI packages
Monday, December 28 2009 - 0 comments
This post will explain how you can build msi packages using WiX for both 32bit and 64bit platforms. The goal is to create 2 different msi packages. One for 64bit systems, which will install the program in to c:\Program Files on 64bit, and another msi package that will install the program in to c:\Program Files on 32 bit systems. The .NET application itself will be compiled with CPU target Any, which results in that it will run in 64bit mode on 64bit systems and 32bit mode on 32bit systems. Of course, you could also install the 32bit msi package on 64bit systems, which will end up being installed...
SharePoint: Solution still deployed after retracting it
Saturday, December 05 2009 - 0 comments
You maybe have stumbled upon this scenario: After you have retracted your SharePoint solution in Central Administration, the solution flips back to deployed? The issue seems to be that when you have deployed your solution with –allcontenturls, which means it will be deployed to the Central Administration web application as well, you must specifically retract the solution from the Central Administration web application. So here are the steps to work around this issue: Retract the solution from all content URLs Retract the solution from the Central Administration web application specifically...
A problem occurred when Windows tried to activate. Error Code 0x8007232B
Friday, December 04 2009 - 0 comments
You may have encountered an issue when trying to activate your copy of Windows Server 2008 R2. Select Activate now. Select Activate Windows online now. You get this error message, with Error Code 0x8007232B. To get around this problem, open an elevated command prompt and type the following command: slmgr -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx Where the x’s are your license key. After you have done that, you can active successfully. This information is taken from Microsoft KB929826...
Getting Access denied for User Profiles and Properties
Wednesday, December 02 2009 - sharepoint - 0 comments
If you get access denied when trying to access the User Profiles and Properties page in SharePoint Central Administration, you need to add the account you are using to the Manage Profiles in Shared Service Rights. In Central Administration, go to your Shared Services page. Under User Profiles and My Sites, click on Personalization services permissions. Add the account your are using and select Manage user profiles.How to remove the My Site and My Links in SharePoint
Monday, November 30 2009 - sharepoint - 0 comments
If you want to remove the two links at the top of the page, My Site and My Links, follow these steps: Start the Central Administration web application. Click the "Shared Services Administration" link. Locate the SSP that is managing the My Sites web site and click on it. Go to User profiles and My Sites -> Personalization services permissions. Select the Authenticated Users group and click on Modify Permissions of Selected Users. To disable My Site, un-check the Create personal site checkbox. To disable My Links, un-check the Use personal features checkbox....
.png)
