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