Wednesday, November 18, 2009

Helicon Ape (Apache emulator for Microsoft IIS)

It literally implements Apache configuration model (like .htaccess and httpd.conf files) and all most demanded Apache modules in a single IIS add-on, not only making IIS compatible with Apache, but also extending it’s functionality by a number of highly essential features.

Source : www.helicontech.com/ape/

Monday, November 16, 2009

How to add a Windows group in the SharePoint Farm Administrator’s group

I know what’s your gone say: “it’s easy just add the Windows group in the Farm Administrator’s group from Central Admin”. You’re almost right.

Here’s the thing :

One of our developers created a custom  “Self-Service Site Creation” application. Has you know, to be able to create a new site collection you must be a member of the “Farm Administrator’s group”, so his application has to do an impersonate with an account that is a member of that group.

We always prefer to use Windows Groups (when possible), so we have created a new windows group “SharePoint Farm Admins”, added the impersonated user in that group and added that group to the SharePoint Administrator’s group.

Here’s the problem :

When the Self-Service Site Creation application try to create a new site collection an error is generated :

Insufficient SQL database permissions for user ‘***** ’in database 'SharePoint_AdminContent_******’ on SQL Server instance ‘****’. Additional error information from SQL Server is included below.  The EXECUTE permission was denied on the object …

Here’s the solution :

Just logon once in Central Admin with your impersonated account and recyle the application pool in IIS.

Here’s the explanation :

I’m not a SharePoint engineer (so I could be wrong), but as I understand it any account that logon to SharePoint must have a profile stored in the database (tables UserInfo and  AllUserData in SharePoint_AdminCoutent DB ). When you logon for the first time through a SharePoint page a new profile is created by SharePoint. When you use system’s API to do an impersonate the new profile doesn’t get created at your first logon, so you get an error.

That’s why you simply have to logon once to Central Admin, your new profile gets created and everything starts to work after that.

Note :

This type of profile is not visible in any Central Admin’s UI pages. You have to dig in SharePoint DB to see it.

Thursday, November 12, 2009

REPORT: VW takes over #1 carmaker slot, sings "Wir sind die Meister, mein Freund"

It was a little more than a year ago when Volkswagen, because of Porsche's stock market finagling, briefly became the most valuable company in the world. This was just after it passed Ford for the number three slot in global sales. Now the big company that could -- powered by the little car that could -- has passed Toyota to take the number one slot as the world's largest automaker.

Source : Autoblog

Wednesday, November 11, 2009

VHD Attach

This is small tool that adds Attach and Detach option to contextual (aka right-click) menu of Virtual disk (vhd) files. That enables those operations to be done without trip to Disk Management console. Detach option is available on hard drive contextual menu also.

Additionally program can be used as classic utility in order to see various information about virtual disk, even without attaching it.

Do notice that this program only works with Windows 7 and Windows Server 2008 R2. Older operating systems are not supported.

vhdattach

Download

Source : Bink.nu

Double click to mount a virtual hard disk (Windows 7 Style)

I have been wanting to come up with a workable solution for mounting virtual hard disks by double clicking on them in Windows 7 for a while now.  The problem is that:

  • There is no easily scriptable API for VHD mounting
  • You need to be elevated (running “As Administrator”) in order to mount a virtual hard disk

The best idea I could think of for a simple solution was to try scripting the DISKPART tool.  Unfortunately – once I got going I got a bit carried away.  The result is this batch file …

Source : Virtual PC Guy's WebLog