Monday, February 05, 2007
  1. Navigate to "~Program Files~\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES" on your SharePoint 2007 Server
  2. Edit the file "VariationsLableMenu.ascx" and uncomment the line <cms:VariationsLabelEcbMenu id ="varlabelmenu1" DataSourceID="LabelMenuDataSource" DisplayText="<%$Resources:cms,VariationLabelMenuTitle%>" IsCallbackMode="true" runat="server" />
  3. Add the tag <%@ Register TagPrefix="PublishingVariations" TagName="VariationsLabelMenu" src="~/_controltemplates/VariationsLabelMenu.ascx" %> to the header of your masterpage.
  4. Add <PublishingVariations:VariationsLabelMenu id="labelmenu1" runat="server"/> in your masterpage to show the standard VariationsLabelMenu.
2/5/2007 1:22:21 PM (Mitteleuropäische Zeit , UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
 Tuesday, January 30, 2007

To show error details like the stack trace, edit the web.config of your web application:

  1. Change <SafeMode CallStack="false" to <SafeMode CallStack="true"
  2. Change <customErrors mode="On" to <customErrors mode="Off"

Now you will see your full exceptions, no more "unexpected" or "undefined" SharePoint 2007 errors.

1/30/2007 2:24:47 PM (Mitteleuropäische Zeit , UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Tuesday, January 23, 2007
Add the following StyleSheets to the header of your masterpage:
 
<SharePoint:CssRegistration name="<% $SPUrl:~SiteCollection/Style Library/~language/Core Styles/Band.css%>" runat="server"/>
<SharePoint:CssRegistration name="<% $SPUrl:~sitecollection/Style Library/~language/Core Styles/controls.css %>" runat="server"/>
 
Use this table to place a formatted version of the authoring menu:
 
<table cellpadding="0" cellspacing="0" width="100%" class="masterContent">
     <tr style="height:0px">
      <td>
       <wssuc:DesignModeConsole id="IdDesignModeConsole" runat="server"/>
      </td>
     </tr>
     <tr>
      <td colspan="2" class="authoringRegion">
         <span class="siteActionMenu">
        <PublishingSiteAction:SiteActionMenu runat="server"/>
       </span>
       <div class="sharepointLogin">
       <!--Authentication for Authors only-->
       <table cellpadding="0" cellspacing="0" >
        <tr>
         <td class="ms-globallinks">
         <!--<SharePoint:DelegateControl ControlId="GlobalSiteLink1" Scope="Farm" runat="server"/>--></td>
         <td class="ms-globallinks">
         <SharePoint:DelegateControl ControlId="GlobalSiteLink2" Scope="Farm" runat="server"/></td>
         <td class="ms-globallinks">
         <wssuc:Welcome id="explitLogout" runat="server"/></td>
        </tr>
       </table>
       </div>
      <div class="console">
       <PublishingConsole:Console runat="server"/>
      </div>
      </td>
     </tr>
    </table>
1/23/2007 6:51:12 PM (Mitteleuropäische Zeit , UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
  1. Enable anonymous access for a web application from the Central Admin.
    - Central Administration Home Page > Application Management > Authentication Providers
    - Select the web application where you want to enable anonymous access
    - Click the "default" Zone
    - Mark the checkbox "Enable anonymous access"
    You don't have to do anything on the IIS Manager. Enabling it from the Central Admin page will also enable it on IIS and modify your web.config.

  2. Explicitly turn it on for the sites you want to be accessed anonymously.
    Browse to your site, click Site Settings > Advanced Permissions > Settings >Anonymous Access and turn on anonymous access for the site.

  3. For further settings search your Sharepoint help for "enable anonymous access".
1/23/2007 6:43:04 PM (Mitteleuropäische Zeit , UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
 Monday, January 22, 2007

If you get this error by browsing video files with Windows Vista, you've  probably installed Nero Burning Rom.
To fix this problem, rename or delete the file "NeVideo.ax", located in "c:\program files\common files\ahead\dsfilter\".


Other possible solution:

http://www.jcxp.net/forums/index.php?showtopic=12152&st=20
Download Directshow filter manager, extract the exe to somehwhere. Open explorer, right click on the extracted exe and select run as administrator, allow the app to run.

Next, click the module column header (so click on module), this will sort the list by directory name (as you would to select a column in excel), scroll down and find the reference to the nero dsfilter folder and nevideo.ax - for example on my pc I looked for c:\program files\common files\ahead\dsfilter\nevideo.ax, I found 2 entries, u may have more or less. Double click each entry and change the filter merit to 00200000 then click set new merit. Close the window and repeat for each entry.

1/22/2007 9:19:32 PM (Mitteleuropäische Zeit , UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Friday, January 12, 2007

1. Navigate to ~Program Files~\Common Files\Microsoft Shared\web server extensions\12\bin.
2. Execute stsadm -o spsearch -action stop
3. Delete your existing search database, e.g. WSS_Search_"your server"
4. Recreate your search database, be carefull to use Latin1_General_CI_AS_KS_WS as collation and your domain account for search service as owner of the DB.
5. Execute stsadm -o spsearch -action start

=> your MOSS 2007 search database will be recreated.

1/12/2007 11:40:00 AM (Mitteleuropäische Zeit , UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
 Tuesday, December 05, 2006

If you customize your master and get a "File not found" error, make sure that the master page ist approved. Else you will get this missleading error message and only administrators can see the page.

Clean master page with all necessary controls:

<%-- Identifies this page as a .master page written in C# and registers tag prefixes, namespaces, assemblies, and controls. --%>
<%@ Master language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="SPSWC" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src="~/_controltemplates/DesignModeConsole.ascx" %>
<%@ Register TagPrefix="PublishingVariations" TagName="VariationsLabelMenu" src="~/_controltemplates/VariationsLabelMenu.ascx" %>
<%@ Register Tagprefix="PublishingConsole" TagName="Console" src="~/_controltemplates/PublishingConsole.ascx" %>
<%@ Register TagPrefix="PublishingSiteAction" TagName="SiteActionMenu" src="~/_controltemplates/PublishingActionMenu.ascx" %>
<%-- Uses the Microsoft Office namespace and schema. --%>
<html>
  <WebPartPages:SPWebPartManager runat="server"/>
  <SharePoint:RobotsMetaTag runat="server"/>

  <%-- The head section includes a content placeholder for the page title and links to CSS and JavaScript files that run on the server. --%>
  <head runat="server">
    <asp:ContentPlaceHolder runat="server" id="head">
      <title>
        <asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server" />
      </title>
    </asp:ContentPlaceHolder>
    <Sharepoint:CssLink runat="server"/>
    <asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server" />
  </head>
 
  <%-- When loading the body of the .master page, MOSS 2007 also loads the SpBodyOnLoadWrapper class. This class handles .js calls for the master page. --%>
  <body onload="javascript:_spBodyOnLoadWrapper();">
    <%-- The SPWebPartManager manages all of the Web part controls, functionality, and events that occur on a Web page. --%>
    <form runat="server" onsubmit="return _spFormOnSubmitWrapper();">
      <wssuc:Welcome id="explitLogout" runat="server"/>
      <PublishingSiteAction:SiteActionMenu runat="server"/> 
      <PublishingWebControls:AuthoringContainer id="authoringcontrols" runat="server">
        <PublishingConsole:Console runat="server" />
      </PublishingWebControls:AuthoringContainer>
      <%-- The PlaceHolderMain content placeholder defines where the page content should go for all the content from the page layout. The page layout can overwrite any content placeholder from the master page. Example: The PlaceHolderLeftNavBar can overwrite the left navigation bar. --%>
      <asp:ContentPlaceHolder id="PlaceHolderMain" runat="server" />
        <asp:Panel visible="false" runat="server">
        <%-- These ContentPlaceHolders are only necessary to ensure all out of the box MOSS 2007 pages render with this master page. If the system master page is set to any default master page, the only content placeholders required are those that are overridden by your page layouts. --%>
<asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea"  runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderLeftNavBar" runat="server"/>
<asp:ContentPlaceHolder ID="PlaceHolderPageImage" runat="server"/>
<asp:ContentPlaceHolder ID="PlaceHolderBodyLeftBorder" runat="server"/>
<asp:ContentPlaceHolder ID="PlaceHolderNavSpacer" runat="server"/>
<asp:ContentPlaceHolder ID="PlaceHolderTitleLeftBorder" runat="server"/>
<asp:ContentPlaceHolder ID="PlaceHolderTitleAreaSeparator" runat="server"/>
<asp:ContentPlaceHolder ID="PlaceHolderMiniConsole" runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderCalendarNavigator" runat ="server" />
<asp:ContentPlaceHolder id="PlaceHolderLeftActions" runat ="server"/>
<asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat ="server"/>
<asp:ContentPlaceHolder id="PlaceHolderBodyAreaClass" runat ="server"/>
<asp:ContentPlaceHolder id="PlaceHolderTitleAreaClass" runat ="server"/>
</asp:Panel>
    </form>
  </body>
</html>

12/5/2006 5:52:42 PM (Mitteleuropäische Zeit , UTC+01:00)  #    Disclaimer  |  Comments [0]  | 

To simulate Ctrl-Alt-Del press Ctrl-Alt-End. Pressing Ctrl-Alt-Del will open the Task Manager on the local machine.

Reboot and restart:
- "shutdown" to shutdown
- "shutdown -r" to reboot
- "shutdown -i" to get a GUI
- "shutdown -l" to logoff

The MS client also allows Ctrl-Alt-Break to switch between viewing the session in a window and on the full screen.

To change the port number of the remote desktop server:
The setting for the Terminal Services port lives in the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp
Open up Regedit, find this key, look for the the PortNumber value and change it to whatever you want.

To connect to a remote server with a non standard port (other than 3389):
Use the computer name, followed by a ":" and the port (e.g. www.mymachine.com:6789)

12/5/2006 9:10:43 AM (Mitteleuropäische Zeit , UTC+01:00)  #    Disclaimer  |  Comments [0]  |