Skip to main content

Posts

Showing posts from June, 2013

How to recover SA password on Microsoft SQL Server 2008 R2

  When you are using MS SQL Server in mixed mode, it is very important that you know your SA password. There can be different reasons you lost the password Person who installed the SQL Server knows the password but has left the building. You did not write down the password in your password file Password file is lost … Steps to recover the SA password Start SQL Server Configuration Manager Stop the SQL services Edit the properties of the SQL Service Change the startup parameters of the SQL service by adding a –m; in front of the existing parameters Start the SQL services. These are now running in Single User Mode. Start CMD on tthe SQL server Start the SQLCMD command. Now you will see following screen Now we create a new user. Enter following commands CREATE LOGIN recovery WITH PASSWORD = ‘TopSecret 1′ (Remember SQL server has default strong password policy Go Now this user is created Now we grant the user a SYSADMIN r

How to enable SSL on a SharePoint 2010 web application

My first task is create a very basic team site with a URL www.sowmyan.com 1.  First I am going to enter a host entry in the DNS in my Domain Controller(you can do it even after creating the site, but here I am going to add a new host entry with name “www”, thus the FQDN will be www.sowmyan.com ) and pointing it to the IP address of my SharePoint server.                    2.   Now create a new web application in SharePoint central administration site. While creating the web application specify the port as 80 and host header as www.sowmyan.com , so while accessing the URL it will be neat and no need to specify port number.                   3.        After creating the web application creating a new site collection at the root.                 4. Once the site got created browse to the site and if there is a loop back check then we can’t successfully login to the site, it may prompt for credentials 3 times and will show blank page. To resolve this