TwitterLinkedInBlog

Tuesday, February 11, 2014

Simulate iPhone or iPad with Safari

Safari > Gear icon > Preferences > Advanced > Check 'Show Develop menu in menu bar' > Alt > Develop > User Agent > [Safari iOS 4.3.3 - iPhone | Safari iOS 4.3.3 - iPhone]

Wednesday, January 15, 2014

BackConnectionHostNames Registry Location

BackConnectionHostNames Registry Location:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0

(Used to specify the host names that are mapped to the loopback address and can connect to Web sites on your computer)

Monday, January 13, 2014

Rename Web Application and Alternate Access Mapping Collection

$wa = Get-SPWebApplication | where {$_.Name -match "localhost - 80"}
$wa.Name = "My Web App"
$wa.Update()
$aamc = $wa.AlternateUrls
$aamc.Name = "My Web App"
$aamc.Update()


Resources:
http://www.topsharepoint.com/rename-web-application-in-sharepoint-2010


Monday, December 9, 2013

httpModule

Right-click project > Add > New Item... > Visual C# > Web > ASP.NET Module > Change 'MyModule1.cs' to your own name
 
Reference:
http://go.microsoft.com/?linkid=8101007
http://blog.mastykarz.nl/accessible-404-pagenotfound-in-microsoft-office-sharepoint-server-2007/

Thursday, October 10, 2013

Edit Permissions

http://sample.local/_layouts/editprms.aspx?sel=3

Friday, August 16, 2013

SharePoint 2010 Dev: Reduce DB File Size

IN DEV, NOT PROD:

Reduce Database Log File Size:
USE [DatabaseName]
ALTER DATABASE [DatabaseName] SET RECOVERY SIMPLE WITH NO_WAIT
DBCC SHRINKFILE(LogFileName, 1)
ALTER DATABASE [DatabaseName] SET RECOVERY FULL WITH NO_WAIT

Reset User Profile synchronization:
http://technet.microsoft.com/en-us/library/ff681014(v=office.14).aspx


Resources:
http://troyvssharepoint.blogspot.co.uk/2012/10/sharepoint-user-profile-sync-database.html
http://technet.microsoft.com/en-us/library/cc262731(v=office.14).aspx

Wednesday, August 7, 2013

FIX: SharePoint 2010 Ribbon and IE10 - Screen goes white.

<!-- Fix for ie10 bug where SharePoint Ribbon dropdown causes screen to go white -->
<style type="text/css">
.ms-cui-modalDiv-ie,.ms-cui-glass-ie
{
background-color:transparent !important;
}
</style>


Reference: http://davemcmahon81.wordpress.com/2012/12/11/sharepoint-2010-ribbon-and-ie10-screen-goes-white/