How change layout of AccessDenied.aspx site

Posted by Leszek Polnik | Posted in | Posted on 04:27

0

If You want branding AccessDenied.aspx (_layouts) site You should make modifications in "simple.master". Like most master pages, the simple.master controls the look and feel or more than just a single page. In fact, it controls the look and feel of seven pages in the _layouts folder:

 "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS

 AccessDenied.aspx

Confirmation.aspx

Error.aspx

Login.aspx

ReqAcc.aspx

Signout.aspx

Webdeleted.aspx


 Any changes could have impact to application level or for one site collection only.

Precisely how to change "simple.master" and contraindications are written in Microsoft article. Please see here:

http://support.microsoft.com/kb/944105/en-us

Content Query Web Part - RSS feed not working on non publishing site

Posted by Leszek Polnik | Posted in | Posted on 07:45

0

Our client created site collection with using Team Site template and later they want some extra features. Therefore they activated “Office SharePoint Server Publishing Infrastructure” feature and add to root site Content Query Web Part with RSS feed enabled. But when they gave click on RSS feed button they recived below error:

 
Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). at System.Guid..ctor(String g) at Microsoft.SharePoint.Publishing.Internal.CodeBehind.FeedPage.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

Http Error 401.1 error when accessing MOSS 2007 site from Web Front End

Posted by Michał Juśkowiak | Posted in | Posted on 04:53

0

When you've finished configure all farm settings after new installation check if your web applications are accessible from your's Web Front Ends. If you receive below error:
"HTTP Error 401.1 – Unauthorized: Access is denied due to invalid credentials" don't be sad, because Microsoft have two solutions for this type of issue. I have always use method 1.

How to move content database to new disk

Posted by Michał Juśkowiak | Posted in | Posted on 04:31

0

Prerequisite

The URL of the application will be the same after content moving
There is no infrastructure changes during the backup and restore process

 

The essential steps of the content db moving

1.Site collection backup

The stsadm command which make the backup is the following:
stsadm -o backup -url <site collection url> -filename <backup filename>

 

Script which automatically unlock site collection - Sharepoint powershell

Posted by Leszek Polnik | Posted in | Posted on 04:36

0

If you need to check or unlock site collection(s) automatically you can use this script. You can also add it at the end of any stsadm backup script by adding:

  powershell.exe "& 'c:\folder\Get-SiteLock.ps1' -unlock"
 
This way it will check all site collections of all web applications for read-only locks and unlocks them if found. Post SP2 site collection backup sets the site collection as read-only during the backup but sometimes doesn't unlock them correctly after the backup.

How quickly check memory usage / status in SQL Server 2005 2008

Posted by Leszek Polnik | Posted in | Posted on 23:39

0

Run below query in SQL:
DBCC MEMORYSTATUS
Explanations of headers:
  • Memory Manager: shows overall memory consumption by SQL Server
  • Memory node Id: usage for each memory node: summary of memory usage
  • MEMORYCLERK_SQLGENERAL: aggregate for each memory node: aggregate memory
  • Buffer distribution: the distribution of 8-kilobyte (KB) buffers in the buffer pool
  • Buffer Counts: Buffer pool details from sys.dm_os_buffer_descriptors
  • Procedure cache: Size and type
  • Global memory objects: size of the global memory objects
  • Query memory objects: snapshot of the query memory usage: the workspace memory
  • Optimization Queue: summary of the users who are trying to optimize queries at the same time
  • MEMORYBROKER_FOR_CACHE: control cached memory, stolen memory, and reserved memory

SharePoint Dispose Checker Tool

Posted by Pol | Posted in | Posted on 01:22

0

SPDisposeCheck is a tool to help you to check your assemblies that use the SharePoint API so that you can build better code. It provides assistance in correctly disposing of certain SharePoint objects to help you follow published best practice. This tool may not show all memory leaks in your code. Further investigation is advised if you continue to experience issues.


http://code.msdn.microsoft.com/SPDisposeCheck

How to check what hotfixes updates we have installed in windows 2003

Posted by Leszek Polnik | Posted in | Posted on 02:50

0

Open a Command Prompt window by typing CMD.EXE in Start, Run dialog. Then type the following command in the prompt:

How recognize which template is in use on sharepoint site

Posted by Leszek Polnik | Posted in | Posted on 00:41

0

  1. Create txt file in directory
    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS
    with content as follows:

Sharepoint 2007 Windows SharePoint Services 3 Event ID 27745

Posted by Leszek Polnik | Posted in | Posted on 17:52

0


Received error:

The description for Event ID ( 27745 ) in Source ( Windows SharePoint Services 3 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer.