jump to navigation

Anonymous Access, SharePoint not ‘Forcing’ an Automatic Sign In June 21, 2012

Posted by vmaceda in Uncategorized.
Tags: , ,
add a comment

If for what ever reason (read disclaimer at end) you need anonymous access enabled on a SharePoint site that is using windows authentication, you will notice that even as an authorized user you are not signed in automatically. The anonymous ‘experience’ will always take precedence over the users credentials.

This is the way the HTTP protocol works so IIS and SharePoint are off the hook for this issue.

If you do want to be a recognized user then you will  need to click on the ‘Sign In’ link at the top of the site. Depending on your browser security settings you will either be signed in automatically or prompted for credentials. 

Solution:

This is less of a solution and more of a work around but it will achieve the desired result. To force an auto-sign in under SharePoint you need a page that has unique permissionsto force the challenge/response for credentials. This can then be provided to the authenticated users as the ‘authenticated’ homepage url.

There are a few limitations with this method:

  • Anonymous users will not be able to access this page
  • To be more useful the page will probably need some redirection, i.e. To pass the user back to a global home page, and this provides its own set of challenges
  • Unless the authenticated user hit this page first, i.e. They follow direct links to somewhere else in the site, they will not be signed in 

Approaches to Search-Based Applications using SharePoint, FAST and 3rd-Party tools June 12, 2012

Posted by vmaceda in Uncategorized.
Tags: , ,
add a comment

Error When Creating an Appointment in Nintex Workflow 2010 June 7, 2012

Posted by vmaceda in Uncategorized.
Tags: , ,
add a comment

When you run the workflow, you get the error:

Failed to invoke web service. Error returned from server: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

To solve the problem:

1.) Add the root certificate of the web service.  For more details look at:

 http://connect.nintex.com/forums/thread/1433.aspx

2.) Run

foreach ($cert in (Get-ChildItem cert:\LocalMachine\Root)) { if (!$cert.HasPrivateKey) {New-SPTrustedRootAuthority -Name $cert.Thumbprint -Certificate $cert } }

For more details: http://connect.nintex.com/forums/post/19080.aspx

Detail Tool Tip for Room Manager Calendar for SharePoint 2010 June 4, 2012

Posted by vmaceda in Uncategorized.
Tags: , ,
add a comment

My developer and I have been working on a custom tool tip for a calendar for Room Manager which is a third party Room Booking Solution for SharePoint 2010.  What the tooltip does, is it does an ajax call to the details page of the room booking and display it in a tool tip.  We used the sample javascript found in http://sharepointjavascript.wordpress.com/2012/02/12/list-view-preview-item-on-hover-sharepoint-2010/ and tweeked it a bit.  The solution is two part: PreviewItemOnHovertest.js and a content web part on the calendar page.

PreviewItemOnHovertest.js:
https://skydrive.live.com/redir?resid=9F717AF2A2401F0F!5088

If you want to customize what fields participates in the hover (e.g. using Sharepoint Calendar WebPart), modify the calAddHover function.

Content Web Part:
https://skydrive.live.com/redir?resid=9F717AF2A2401F0F!5089

Business Process Management Notation Cheat Sheet Poster May 28, 2012

Posted by vmaceda in Uncategorized.
Tags:
add a comment

The latest version of the popular modeling language for business processes is in the final stages. There are new modeling constructs and two additional diagram types available in 2.0.

The new BPMN 2.0 Poster gives you a handy overview over the new constructs. It was created by the “Berliner BPM-Offensive” and is available for download for free.

http://www.bpmb.de/index.php/BPMNPoster

Scoped Site not being indexed or crawled in SharePoint 2010 May 7, 2012

Posted by vmaceda in Uncategorized.
Tags: ,
add a comment

To resolve this:

Site Settings->Search and Offline Availability

Under Indexing Site Content  select “Yes”

 

Related Error:

This item and all items under it will not be crawled because the owner has set the NoCrawl flag to prevent it from being searchable .

SharePoint 2010 Search Center Master Page with v4master look May 7, 2012

Posted by vmaceda in Uncategorized.
Tags: ,
add a comment

Thank God for this:

http://sharepointbrian.com/2011/04/sharepoint-2010-search-center-master-page-with-navigation/

 

Increase WebService call TimeOuts in Nintex Workflow 2010 May 2, 2012

Posted by vmaceda in Uncategorized.
Tags: ,
add a comment

 

If the web service call times out you may be able to correct this by increasing the timeout value using the SetCallWebServiceTimeout NWAdmin operation. This operation is used to specify how long every call web service action should wait before causing an error due to a timeout. Note that having many workflows that remain processing in memory for a long time (for example, while waiting for a web service response) is not recommended.

Usage

NWAdmin.exe –o SetCallWebServiceTimeout –milliseconds numberOfMilliSeconds

Parameters

Name    Description

– milliseconds     The number of milliseconds the call web service action should wait before timing out. The default is 100,000 milliseconds (100 seconds).

 Full details of the using NWAdmin can be found on Connect: http://connect.nintex.com/files/folders/technical_and_white_papers_nw2010/entry12004.aspx

Display Unique Permissions in a SharePoint 2010 Site May 2, 2012

Posted by vmaceda in Uncategorized.
Tags: ,
add a comment

  http://<SiteCollectionURL>/_layouts/uniqperm.aspx

Error 404 when browsing SharePoint 2010 May 2, 2012

Posted by vmaceda in Uncategorized.
Tags: ,
add a comment

To troubleshoot further:

If a page element is missing—either a user control hasn’t been deployed or something else that needs to be in place for the page to compile dynamically is awol—you might be the proud owner of a 404 even though the page itself does exist.

HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

After setting the SafeMode element’s CallStack element true in web.config, turning off CustomErrors, and setting the debug=”true” attribute on the compilation element, you’re possibly looking at a beautiful ASP.NET error message with no stack trace and not a lot to go on