Administrator Privileges in Windows Server 2008

31. March 2009 16:14 by sashashev in Server Configuration  //  Tags: ,   //   Comments (0)
By default, you do not have Administrative privileges if you're logged on as a user (other than the built-in Administrator account) even if this user was added to the local Administrators group on the machine (this is a new security feature in Windows Server®2008 with-IIS 7.0, called LUA).

Make sure to either log-on as the built-in Administrator account, or explicitly invoke applications as the built-in Administrator as needed, using the "runas" cmd-line tool. For example, to launch notepad.exe you could run this command: "runas /user:administrator notepad.exe".

You will be prompted for the password of the Administrator account. It is useful to have a cmd-box shell that is already elevated, by running "runas /user:administrator cmd.exe".

Every application you run from that cmd-box will be elevated as well, and you will not need to use the "runas" syntax from that cmd-box.

Excerpted from:

Access denied entering Shared Services

31. March 2009 16:12 by sashashev in Shared Services  //  Tags: , ,   //   Comments (0)

There are 2 types of Access Denied errors when trying to access Shared Services.

This first solution deals with not being able to access Shared Services at all and No 2 deals with being able to get in but when you click on anything like "User Profiles and Properties" you get Access Denied.


If this happens to you go to Site Collection Administrators in Application Management in Central Admin.

Change both or just the secondary administrators in here to your user for the Shared Service site collection.

I found this solution here:




Assign yourself lot's of permissions. Go on. You know you deserve it!

Uploading Images in Sharepoint Content made easier.

31. March 2009 16:04 by sashashev in CMS, Third Party Tools  //  Tags: , ,   //   Comments (0)

For anyone who has ever had to edit content in Sharepoint and asked themselves why is it so hard to insert an image, this is for you.

By default to insert an image into a wiki or blog for example, you have to do something like upload images to a Sharepoint picture library and link to image by copying and pasting a URL to the Image. 


Does Microsoft know what year this is?

Anyway there is a Solution but it requires a little effort. The telerik MOSS editor which also comes in free lite version.


See -

Uing the RAD editor you can browse to image folders directly while editing content and create folders for storing images on the fly.

A few gotchas to watch:

Make sure you follow the installation instructions that come with the download package as the online instructions seem to be out of date.

You need to have either AJAX or .Net 3.5 installed on the server.

You dont need to edit the masterpages as the instructions say you do.

To modfiy properties of the editor you need to modify the ListConfigFile.xml located in
/Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/

(ListConfig as opposed to Config.xml as most content is kept in Lists. Lists, Wikis, Blogs, etc. are Sharepoint Lists)

Missing items in “Site Actions” menu

31. March 2009 15:58 by sashashev in CMS  //  Tags: , , ,   //   Comments (0)
If you are expecting to see more items in your “Site Actions” menu such as the “Navigation” menu item then you probably need to activate “Office Sharepoint Server Publishing” from Site Settings > Site Features .



The new menu items that appear allow you to control Navigation and add and edit CMS pages.

You may also notice you have different items in your top menu which is another topic that we will discuss when we talk about Sharepoint navigation.

Creating custom landing pages in SharePoint Part 1 - TheTable of Contents Webpart

The mission: Create a default landing page for each publishing site to aid in navigation.

The landing page should contain 2 sections.

  1. A section that lists all sites directly below the site you are on (1 level)
  2. A section that lists all the pages in the pages folder.
To pretty things up we may want to show images and/or descriptions for sites and pages.
The images and descriptions should be pulled from the image and description field the user enters when creating the new subsite or page.

Method No 1- Using the Table Of Contents Webpart

Note: Please read conclusion of this article to see why this solution didn't meet my requirements.

An obvious place to start is to see what we can do using the built in Web Part purpose built for our task.

The table of contents webpart provides a quick an easy method to display a Table of Contents. (Believe it or not)

It has cool features such as..

  1. Pick from which level to start the TOC
  2. Style your TOC 
  3. How many levels to show

More on the TOC web part can be found here and here

As we want this page to be a template with the contents starting from the current site we use SharePoint Designer.

Page templates reside in the same folder as Masterpages. 

_catalogs >  masterpage


To keep things seperated I have created 2 subfolders. Custom > Layouts and my new layout page is called WelcomeTOC.aspx.

I created this page by making a copy of one of the existing Welcome Pages.(I can't remember which but any layout will do)

I then added a TableOfContentsWebPart into the first WebpartZone. I'm not sure whether you need the ZoneTemplate tags.

<PublishingWebControls:TableOfContentsWebPart runat="server" 
Title="Table of Contents" 
MissingAssembly="Cannot import this Web Part." 
Level1Style="Vertical with descriptions">
<Level LevelNumber="1" Path="/Site1" Title="Site 1" BeginColumn="true">
<Item LevelNumber="1" Path="/Page1" Title="Page 1" />
<Item LevelNumber="1" Path="/Page2" Title="Page 2" />
<Item LevelNumber="1" Path="/Page3" Title="Page 3" />
<Level LevelNumber="1" Path="/Site2" Title="Site 2" BeginColumn="true">
<Item LevelNumber="1" Path="/Page1" Title="Page 1" />
<Item LevelNumber="1" Path="/Page2" Title="Page 2" />
<Item LevelNumber="1" Path="/Page3" Title="Page 3" />
<xsl:stylesheet xmlns:x="" version="1.0" xmlns:xsl="" 
xmlns:cmswrt="" exclude-result-prefixes="xsl cmswrt x"> 
<xsl:import href="/Style%20Library/XSL%20Style%20Sheets/Header.xsl" /> 
<xsl:import href="/Style%20Library/XSL%20Style%20Sheets/LevelStyle.xsl" /> 
<xsl:import href="/Style%20Library/XSL%20Style%20Sheets/TableOfContentsMain.xsl" /> </xsl:stylesheet></Xsl>

The important thing to note here is the

AnchorLocation="" attribute.
This sets the starting location of our links to the current site.
Customising the layout

Customising the layout is similar to customising the layout for other web parts such as the RSS reader or Custom Query web part. You need to do some XSLT.

You can edit 3 files

  • Header.xsl
  • LevelStyle.xsl
  • TableOfContentsMain.xsl

These files reside in Style Library > XSL Style Sheets


You can read more info here -



Basically you can alter the layout but the TOC web part is very limited as it only outputs the @Title, @Description, @LevelNumber and@Path.

This is OK if you just want some basic text but this won't cover our needs to display a possible image for each site or page listed.

A neat trick for verifying this is to add the following to your XSLT transformation in the LevelStyle.xsl file.

This will output the raw XML in between the <rawdata> tags.

That way you can see all the data you have to play with. I suspect this will work in the other xsl files in Sharepoint.

   <xsl:template name="ShowAll" match="Level[@LevelTemplate='ShowAll']">
    <xsl:copy-of select="*"/>

When you view the source of your page you will something like..

<Item Description="I am happy to announce " LevelNumber="1" Path="/News/Pages/mypage.aspx" Title="Title of my page"></Item>

Further reading:
Customizing Styles of Summary Links, Table of Contents, and Content Query Web Parts

Webcoda, SharePoint Consultants & Web Development

SharePoint Development Sydney is a crack team of SharePoint Consultants and SharePoint Developers.

We can't tell you their names or show their faces on TV but if you need a SharePoint job done right, call them on +61 2 9370 3602 or email us at

Persecuted by the Government and shunned by society they developed their SharePoint skills in back streets and labor camps where other programmers wouldn't dare to tread. 

During a trek through the Himalayas they stumpled upon the fabled Mossy Yak who shared his SharePoint knowledge of how to attain Nirvana through a series of Workflows and Event Handlers. Their mission is to spread this knowledge through-out the world to bring peace, harmony and document version control to all .


Month List