jump to navigation

Martin Hatch – Blog: How to configure your Office365 public website to use the SharePoint Publishing Infrastructure June 10, 2012

Posted by John Ruby in Microsoft, Server, Sharepoint, Software, Solutions, Troubleshooting & Knowledge Bases.
add a comment

 

This is something that has bugged me for a LONG time .. I cannot possibly understand why SharePoint Online (with one of the most powerful Web Content Management Systems) was so thoroughly limited by cutting back to a really basic template editor. I can only think of 2 reasons:

  1. Microsoft assumes the average user won’t know how to use SharePoint, so wanted to provide a simpler user interface. This is fair enough, and if this IS the reason there should be no reason why I can’t go "behind the scenes" and setup the site any way I like (at my own risk .. as it were).
  2. Microsoft is trying to protect revenue from "SharePoint 2010 Server Internet Facing Sites" licenses. These are VERY expensive and a lot of companies will happily get rid of their on-premise install to put in a £80 a year Office 365 E1 plan to host their website.

Now .. if it is case (1) then we should be good to go. If it is case (2) then they probably have terms and conditions specifically stopping someone from doing this… so first off lets get the disclaimer out of the way 🙂

Martin Hatch – Blog: How to configure your Office365 public website to use the SharePoint Publishing Infrastructure

Createsiteinnewdb: Stsadm operation (Office SharePoint Server) June 9, 2012

Posted by John Ruby in Microsoft, Server, Sharepoint, Software, Solutions, Troubleshooting & Knowledge Bases.
add a comment

 

Description

Creates a site at the specified Uniform Resource Locator (URL) and creates a new content database using the user name and password you specify. If you do not specify a template to use, the owner can choose a template when he or she first browses to the site.

Createsiteinnewdb: Stsadm operation (Office SharePoint Server)

SharePoint Foundation 2010: How to Create Site Collection with a separate content database? June 9, 2012

Posted by John Ruby in Microsoft, Server, Sharepoint, Software, Solutions, Troubleshooting & Knowledge Bases.
Tags: , , , , , , , , , , , , , , , , ,
add a comment

 

How to Create Site Collection with a separate content database?

Hi All,

one of the "Stsadm operations" is creating site collection with a separate content database. it’s very direct command and will help you to maintain your sites & its db.
createsiteinnewdb: will Create a site at the specified Uniform Resource Locator (URL) and create a new content database using the user name and password you specify. If you do not specify a template to use, the owner can choose a template when he or she first browses to the site.
Example:
stsadm -o createsiteinnewdb -url http://siteurl/sites/site1 -owneremail owner@sharepoint.com -ownerlogin spuser1  -sitetemplate STS#0 -title “site 1” description "site 1 desscription" -databaseserver "DBServer" -databasename “DB_Site1”

SharePoint Foundation 2010: How to Create Site Collection with a separate content database?

How to hide Recycling bin and View All Site Content May 31, 2012

Posted by John Ruby in Microsoft, Server, Sharepoint, Software, Solutions, Troubleshooting & Knowledge Bases.
Tags: , , , , , , , , , , , , , ,
add a comment

 

Hiding Recycle Bin and All site content in sharepoint 2010 is very simple do the following steps:

1) open site in sharepoint designer 2010

2) Click all files, then masterpage, then checkout the master page

3) go to

  <SharePoint:UIVersionedContent UIVersion="4" runat="server" id="PlaceHolderQuickLaunchBottomV4">
     <ContentTemplate>
      <ul style="display:none" >
       <li>
        <SharePoint:ClusteredSPLinkButton

4) add statement in bold

5) check in save

6) you can use this master page in your solution & provision it

How to hide Recycling bin and View All Site Content

Change the Masterpage of the Search Center May 27, 2012

Posted by John Ruby in Microsoft, Sharepoint, Software, Solutions, Troubleshooting & Knowledge Bases.
Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
add a comment

 

This is a bit of a sticky situation. The default master is set to v4.master, but the default site page is built on a layout page which doesn’t use the default master. The layout page is assigned the master page by the Microsoft.SharePoint.Publishing.PublishingLayoutPage class, which hardcodes the master page as the custom master. There is a way to work around this and assign a different master page for the page layout, but the end result would probably not work very well.
Instead of changing the master page, I would suggest adding the top navigation bar to the page layout. This can be done by adding the following code to the SearchMain.aspx Page Layout. Edit it in Advanced Mode. Insert the following code right after this existing code (around line 100):
EXISTING CODE:
</ContentTemplate>
</SharePoint:UIVersionedContent>
<SharePoint:UIVersionedContent UIVersion="4" runat="server">
<ContentTemplate>
ADD THIS CODE:
  <div class="s4-lp s4-toplinks" style="background-image:url(/_layouts/images/selbg.png); background-repeat:no-repeat;
  repeat-x:left top; background-color:#f6f6f6; vertical-align:middle; min-height:25px; border-top:1px solid #e0e0e0;
  border-bottom:1px solid #b8babd">
         <SharePoint:AspMenu
           ID="TopNavigationMenuV4"
           Runat="server"
           EnableViewState="false"
           DataSourceID="topSiteMap"
           AccessKey="<%$Resources:wss,navigation_accesskey%>"
           UseSimpleRendering="true"
           UseSeparateCss="false"
           Orientation="Horizontal"
           StaticDisplayLevels="2"
           MaximumDynamicDisplayLevels="1"
           SkipLinkText=""
           CssClass="s4-tn"/>
         <SharePoint:DelegateControl runat="server" ControlId="TopNavigationDataSource" Id="topNavigationDelegate">
          <Template_Controls>
           <asp:SiteMapDataSource
             ShowStartingNode="False"
             SiteMapProvider="SPNavigationProvider"
             id="topSiteMap"
             runat="server"
             StartingNodeUrl="sid:1002"/>
          </Template_Controls>
         </SharePoint:DelegateControl>
     </div>
I grabbed the inline styles from corev4.css. You can change those as you please to get your desired look. Also, if you’d rather have all of the pages with minimal.master inlcude the top link, you can add the nop nav to minimal.master instead. Look at v4.master for the placeholder tags that I had to remove for insertion in the page layout. (asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server"> and <asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server">).

Change the masterpage of the search center

SharePoint Training Team Blog: SharePoint 2010 Local Website Access – Loopback Fix May 1, 2012

Posted by John Ruby in Solutions, Troubleshooting & Knowledge Bases.
add a comment

 

Cause
Windows Server 2003 SP1 introduced a loopback security check. This feature is also present in Windows Server 2008 R2.
The feature prevents access to a web application using a fully qualified domain name (FQDN) if an attempt to access it takes place from a machine that hosts that application. The end result is a 401.1 Access Denied from the web server and a logon failure in the event log.
Another problem is that the search crawler failing
Resolution

Apply the fix mentioned in http://support.microsoft.com/kb/896861 only for DEV environments.
Method 2: Disable the loopback check
To set the DisableLoopbackCheck registry key, follow these steps:

  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  3. Right-click Lsa, point to New, and then click DWORD Value.
  4. Type DisableLoopbackCheck, and then press ENTER.
  5. Right-click DisableLoopbackCheck, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Quit Registry Editor, and then restart your computer.

SharePoint Training Team Blog: SharePoint 2010 Local Website Access – Loopback Fix

Remotely Managing Windows 2008 Server Core Settings through MMC Snap-ins April 25, 2012

Posted by John Ruby in Solutions, Troubleshooting & Knowledge Bases.
add a comment

 

Step #1: Enable remote management from any MMC snap-in through the firewall

  1. To enable remote management from any MMC snap-in, type the following:
    netsh advfirewall firewall set rule group="Remote Administration" new enable=yes

    You can always run the following command in order to disable this option:

    netsh advfirewall firewall set rule group="Remote Administration" new enable=no

If you’re performed the tasks listed in the "Remotely Managing Windows 2008 Server Core Firewall" article, then you will be able to enable the Remote Administration rule from a remote computer, by opening the Windows Firewall snap-in for the Server Core machine.

Remotely Managing Windows 2008 Server Core Settings through MMC Snap-ins

How to use unattended mode to install and remove Active Directory Domain Services on Windows Server 2008-based domain controllers April 25, 2012

Posted by John Ruby in Solutions, Troubleshooting & Knowledge Bases.
add a comment

 

This article describes the syntax that you use to build answer files to perform unattended installations of Active Directory Domain Services on Windows Server 2008-based domain controllers. You can also use the answer files to remove AD DS in unattended mode.

How to use unattended mode to install and remove Active Directory Domain Services on Windows Server 2008-based domain controllers

What Is IPSec?: Security Policy; Security Services April 25, 2012

Posted by John Ruby in Microsoft KBs, Troubleshooting & Knowledge Bases.
add a comment

 

Internet Protocol security (IPSec) is a framework of open standards for helping to ensure private, secure communications over Internet Protocol (IP) networks through the use of cryptographic security services. IPSec supports network-level data integrity, data confidentiality, data origin authentication, and replay protection. Because IPSec is integrated at the Internet layer (layer 3), it provides security for almost all protocols in the TCP/IP suite, and because IPSec is applied transparently to applications, there is no need to configure separate security for each application that uses TCP/IP.

IPSec helps provide defense-in-depth against:

  • Network-based attacks from untrusted computers, attacks that can result in the denial-of-service of applications, services, or the network
  • Data corruption
  • Data theft
  • User-credential theft
  • Administrative control of servers, other computers, and the network.

What Is IPSec?: Security Policy; Security Services

Installing a server role on a server running a Server Core installation of Windows Server 2008 R2: Overview April 25, 2012

Posted by John Ruby in Microsoft KBs, Solutions, Troubleshooting & Knowledge Bases.
add a comment

 

Installing a server role on a server running a Server Core installation of Windows Server 2008 R2: Overview

After the Server Core installation is complete and the server is configured, you can install one or more server roles. The Server Core installation of Windows Server 2008 R2 supports the following server roles:

  • Active Directory Certificate Services
  • Active Directory Domain Services
  • Active Directory Lightweight Directory Services (AD LDS)
  • DHCP Server
  • DNS Server
  • File Services (including File Server Resource Manager)
  • Hyper-V
  • Streaming Media Services
  • Print and Document Services
  • Web Server (including a subset of ASP.NET)

Installing a server role on a server running a Server Core installation of Windows Server 2008 R2: Overview