Friday, May 17, 2013

Remember User Name and Password for SharePoint Sites

SYMPTOM: Whenever you browse to your SharePoint site, the little popup dialog box appears asking for your user name and password. If you enter your credentials, it lets you enter the site – it’s just annoying to have to do this again each time you go to your site. If you enter the wrong credentials, leave off the domain name, or type the wrong slash, the box will reappear a total of three times. If you never get it typed correctly, you will receive a generic black and white error message stating that ‘You are not authorized to view this page’ (see example below).



If you are experiencing this combination of symptoms, you probably need to adjust your Internet Explorer Security Settings. Even if you are unsure if your symptoms exactly match – this is a good place to start troubleshooting.



In a nutshell, the SharePoint site(s) must be added to either the Local Intranet zone or to the Trusted Sites zone on the client PC. Most users are familiar with the Trusted Sites zone, and may already use it for some things. However, the default settings in Internet Explorer don’t always allow automatic login in the Trusted Sites zone – especially in IE7. Explorer won’t allow a site to be in both zones, so I recommend a package of settings to make sure that authentication continues to work. The good news is if you have Domain Admin privileges you can control all of these settings centrally by using Active Directory and Group Policy – more on that later.


  1. Open IE on your computer, go to TOOLS > INTERNET OPTIONS, and then choose the Security tab.

  2. Click on the ‘Local Intranet’ zone icon, and then the Sites button.



  3. That will give you a second box, where you must click the Advanced button before entering and adding the site URL(s) – see pictures below.






    If you get an error when you click the Add button, you probably need to uncheck the ‘Require server verification (https:) for all sites in this zone’ box. Then try again.



    You should add each SharePoint portal / web application to this list, or use a domain wildcard entry (http://*.domain) if that is acceptable and relevant in your environment.



    If users are able to type a short NetBIOS style name (without any domain name) for any portal, the short names should also be added.



    If SSL encryption is sometimes used for any portal / web application, you should add the name(s) twice – once with the http: prefix and again with the https: prefix.

  4. Click the Close and OK, and you should find yourself back on the Security tab.

    (If you are looking for a quick fix, this alone might take care of the problem. Again though, I recommend following the rest of these steps to prevent things from ‘breaking’ again later.)

  5. We should now adjust the default security settings for each zone to allow for future user changes. The easiest way to do this is to set the ‘Local Intranet’ and the ‘Trusted Sites’ zones to the Low security level without Protected Mode, the ‘Restricted Sites’ to the High security level with Protected Mode, and the ‘Internet’ zone to the Medium-High level with Protected Mode (click each zone icon and then move the slide all the way down for each – see picture below).






    If you don’t see the slider at all, click the ‘Default level’ button. That should bring the slider back.



    Protected Mode is actually not directly related to the login process, but will simplify the use of some SharePoint integration features. If you uncheck ‘Protected Mode’ for the ‘Local Intranet’ zone, you will likely receive a dire-looking warning box when you click OK. You’ll have to use your own discretion as to whether this setting is appropriate for your end users.



    Some administrators or users may not want to apply the entire package of settings incorporated in the Low setting. You can make a more surgical strike by using the ‘Custom level…’ button. The relevant setting in the Custom box is at the very bottom of the list of options. It’s called ‘Automatic logon with current user name and password (see picture below).

  6. Click OK to exit the Internet Options box, and then close all Internet Explorer windows.

  7. Open a new Explorer window and browse to your SharePoint site. You should be logged in automatically using your Windows credentials.



    If you still receive the login prompt, you apparently have one of the other issues listed at the end of this post.


If you are a Domain Admin, you probably want to apply these settings to all of your users. That way they can quit calling you about it and move on to other problems… This can be done by using Active Directory Group Policies.


  1. Login to your domain controller using an account that has domain admin privileges, and perform the steps listed above to create the appropriate package of settings. The following steps allow you to import that package of settings into Group Policy.

  2. Go to CONTROL PANEL > ADD OR REMOVE PROGRAMS > ADD/REMOVE WINDOWS COMPONENTS > INTERNET EXPLORER ENHANCED SECURITY CONFIGURATION.



  3. Uncheck the Internet Explorer Enhanced Security Configuration option, and click Next until the wizard completes.This option can be re-enabled after step 10??, if you want or if your corporate policy requires it.

  4. Go to START > ALL PROGRAMS > ADMINISTRATIVE TOOLS > ACTIVE DIRECTORY USERS AND COMPUTERS.

  5. Right-click your domain name (or whichever Organizational Unit contains the users to which you wish to apply this fix), and choose Properties.

  6. Click the ‘Group Policy’ tab, and then the New button. Type in a descriptive name for the New Group Policy Object that appears.



  7. Make sure that your new policy is selected and click the Edit button.

  8. Drill down to USER CONFIGURATION > WINDOWS COMPONENTS > INTERNET EXPLORER MAINTENANCE > SECURITY > SECURITY ZONES AND CONTENT RATINGS.

  9. When you click the button labeled ‘Import the current security zones and privacy settings’, you will likely receive a warning about ‘Internet Explorer Enhanced Security Configuration’.






    This is why we disabled the enhanced configuration in step 3, so that this policy would apply to normal workstations. Click Continue.

  10. Close all open windows.



    You can now go back to the ‘Add/Remove Windows Components’ box and re-enable the Internet Explorer Enhanced Security Configuration if you wish.



    The changes will take time to replicate through your entire network or enterprise, depending on your particular Active Directory replication topology. In a single-site network, you may see the changes take effect within 15 to 90 minutes. In multi-site networks, it may take a day or more.

SharePoint 2013 and Hadoop

Excellent article by SharePoint team on HDInsight and SharePoint 2013.

http://blogs.office.com/b/sharepoint/archive/2013/05/16/use-event-click-parsing-to-increase-e-commerce-site-revenue.aspx

Have a great weekend!!


Thursday, June 23, 2011

Enable Developer Dashboard using Powershell

$spDevDash = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$spDevDash .DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand;
$spDevDash .RequiredPermissions = ‘EmptyMask’;
$spDevDash .TraceEnabled = $true;
$spDevDash .Update();


http://www.sharepointinnovations.com

Fantastic 40 Templates on SharePoint 2010

The "Fantastic 40" templates were created for WSS 3.0.

Microsoft has no plans to upgrade them for SPF 2010, however TechSolutions has migrated many of the templates and made them available here http://www.techsolutions.net/Blog/tabid/65/EntryId/18/Fab-40-for-Sharepoint-Foundation.aspx

Thursday, June 16, 2011

Custom MySite Host in SP 2010

If you use the SP 2010 wizard to install SharePoint 2010, you end up getting a site with the name of the server and "my" site collection, all in a single database. The best practice is to delete this web app, which means you will delete the mysite site collection as well.

Steps:

1) Create a new web app - http://sharepoint.mycompany.com
2) Create Site Collection under the web app in step 1
3) Create dedicated MySite Web App - http://mysite.yourcompany.com
4) Create Site Collection My Site Host template under enterprise tab under web app in step 3

Please see more info here -- http://sharepointgeorge.com/2010/configuring-my-site-sharepoint-2010

Enjoy!!!

http://www.sharepointinnovations.com

Wednesday, May 25, 2011

Create a content type search refinement panel in SharePoint 2010

Out of the box there is a refinement panel for ‘Result Type’ however this is different to the content type, e.g. Word as opposed to Proposal. So the challenge was to create a new refinement panel to replace the Result Type refinement panel. Note, it was to replace in my case but there’s no reason why it can’t be in addition to:

Great article on getting this done:

http://www.glynblogs.com/2011/01/create-a-content-type-search-refinement-panel-in-sharepoint-2010.html


http://www.sharepointinnovations.com

Enjoy!

Monday, May 16, 2011

Microsoft SharePoint 2010 Administration Toolkit v2.0

The Microsoft® SharePoint® 2010 Administration Toolkit contains functionality to help administer and manage Microsoft® SharePoint® Foundation 2010 and Microsoft® SharePoint® Server 2010.

SharePoint Diagnostics Studio is awesome!

Download the toolkit from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=718447d8-0814-427a-81c3-c9c3d84c456e&displaylang=en

P.S. Try it on your dev/test farm before moving to production...

Enjoy!

http://www.sharepointinnovations.com