FedAuth cookie expiration ADFS in SharePoint 2010
I have the follow situation: TokenLifetime on ADFS STS for SharePoint setted for 10 hours and the LogonTokenCacheExpirationWindow on SharePoint setted to 1 minute.
But I see from time to time that after 2 hour user may be redirected to ADFS STS. We have NLB on our solution, may be SPTokenCache not adopted to work with NLB? The Affinity on the NLB Servers is set with single. We have users
randomly be redirected back to a login page. We make use of Persistent cookies.
Sometimes the users end up in an authentication loop that causes ADFS to halt the request because of a perceived denial of service (DOS) attack, as the note states.
If i look at a trace of the activity, i see SharePoint setting the fedauth cookie has an expired value, and start making the requests again to ADFS, which then, for reasons which are still unclear to me, either won’t issue
you a non-expired cookie, or SharePoint looks at and transforms it to an expired cookie. That’s what kicks off that DOS cycle I described above.
I don't get it because i USE SINGLE AFFINITY WITH WINDOWS LOAD BALANCER! Please help :(
jtjscholten
Hi jtjscholten,
Before sending a new FEDAUTH cookie back to the user’s browser, SharePoint calculates the expiration of the cookie with the following formula:
SAML Token Lifetime – Logon Token Cache Expiration Window
For example, if ADFS sets the SAML Token Lifetime to 10 minutes and Logon Token Cache Expiration Window is set in the STS as 2 minutes then the overall SharePoint session lifespan is 8 minutes.
And if (TokenLifeTime - LogonTokenCacheExpirationWindow) =< 0 then you get a loop.
For your issue, please take steps as below:
Try below command on ADFS server:
Add-PSSnapin Microsoft.ADFS.PowerShell
Set-AdfsRelyingPartyTrust –TargetName "[ourrelayingpartytrustreference]" –TokenLifeTime 10
Stop and start the ADFS server(do not restart it. Manually stop and start it)
Then run below command on sharepoint server
$sts = Get-SPSecurityTokenServiceConfig
$sts.LogonTokenCacheExpirationWindow = (New-Timespan -Minutes 1)
$sts.Update()
iisreset
Reference:
http://social.technet.microsoft.com/Forums/en-US/f8d0fa27-2044-47c1-8dbd-0cf6dfb49942/fedauth-cookie-intermittently-set-as-persistent-cookie?forum=sharepointadmin
http://msdn.microsoft.com/en-us/library/hh147183.aspx
http://technet.microsoft.com/en-us/library/jj219795(v=office.15).aspx
Best Regards,
Eric
Eric Tao
TechNet Community Support
Similar Messages
-
Sharepoint 2010: Password Expiration - FBA SQL
Good Day Everyone
We want our sharepoint site to have a password expiration functionality, when the users are logging in on our site, is this possible? if yes how? i'm using a FBA SQL membership and i have a custom login page for my sharepoint site.
thanks and regards.Hi,
According to your post, my understanding is that you want to achieve a password expiration functionality in SharePoint 2010.
You can take a look at the solution below with source code provided:
SharePoint 2010 FBA Pack
http://sharepoint2010fba.codeplex.com/documentation
Here is another solution for you to take a look at:
SharePoint Password Change & Expiration
http://www.sharepointadd-ons.com/sharepoint-password-change-expiration
Best Regards
Dennis Guo
TechNet Community Support -
FedAuth Cookie intermittently set as persistent cookie
I have a following situation. Have a Sharepoint 2013 farm with 8 Front end servers with 2 of them allocated for Central
Adimin. I have to setup the fedAuth cookie as session cookie to ensure, the session get removed when the user closes the browser.
Ran the following PS script to configure session cookies.
$sts = Get-SPSecurityTokenServiceConfig
$sts.UseSessionCookies = $true
$sts.Update()
iisreset
Even after this configuration, I see FedAuth is being set as Persistent cookie with an expiration date. FedAuth cookie
is setup as Persistent cookie intermittently. Any insight on this intermittent behavior will be very helpful.Hi moothi_na,
i hope this explanation can be help to understand
"The default behavior of SharePoint is to store this persistent cookie on the user’s disk, with fixed expiration date"
as Inderjeet Singh Jaggi posted before, you may need to set addtitional requirements steps to fix this expiration date as you need.
http://blogs.technet.com/b/speschka/archive/2010/08/09/setting-the-login-token-expiration-correctly-for-sharepoint-2010-saml-claims-users.aspx
http://msdn.microsoft.com/en-us/library/hh446526.aspx
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
March 2015 TechNet Guru Awards! See who's boss in SharePoint 2010! It could be YOU!
The results for March's
TechNet Guru competition were posted!
http://blogs.technet.com/b/wikininjas/archive/2015/04/17/the-microsoft-technet-guru-awards-march-2015.aspx
Below is a summary of the medal winners for December. The last column being a few of the comments from the judges.
Unfortunately, runners up and their judge feedback comments had to be trimmed from THIS post, to fit into the forum's 60,000 character limit, however
the full version is available on TechNet Wiki.
Some articles only just missed out, so we may be returning to discuss those too, in future blogs.
BizTalk Technical Guru - March 2015
Steef-Jan Wiggers
BizTalk Server 2013 R2 Instrumenting an orchestration with ETW
Sandro Pereira: "Really nice article, I love it, nice use of the BizTalk CAT Instrumentation Framework. And once again, the article well detailed and excellent formated in terms of images and text format. Good work Steef-Jan."
Ed Price: "Fantastic depth in the Introduction, Scenario, and Wrap Up!"
Steef-Jan Wiggers
View BizTalk Send Port Subcriptions
Sandro Pereira: "Really useful script! Good job Steef-Jan."
Ed Price: "Good context setting in the introduction (the image helps a lot)!"
Forefront Identity Manager Technical Guru - March 2015
Tracy Yu-MSFT
The Ultimate Tools to work ith RCDC in FIM
Søren Granfeldt: "Very nice and a great help for all of us struggling with RCDC's"
AM: "Thanks for posting Tracy! RCDCs can be very frustrating to troubleshoot."
Wim Beck
FIM2010: Protect passwords in configuration files
Søren Granfeldt: "Nice technical explanation and good approach"
AM: "Far too many FIM environments I find plain text passwords stored in scripts - great contribution.
Another helpful resource"
Microsoft Azure Technical Guru - March 2015
saramgsilva
Avoid Nightmares Using EF First Migration in Azure Mobile Services
JH: "Another nice one from Sara. Definitely worth a look."
Ed Price: "I love the use of embedded links to the related library articles! And the article is rich with descriptions, well-formatted code with great commenting, and clarifying images. Plus a link to the source code. Fantastic job on
this!"
Alan Carlos: "Great! Very detailed!"
Ken Cenerelli
Creating an Microsoft Application Insights resource
Alan Carlos: "Great article!"
Ed Price: "Incredibly thorough how-to article!"
JH: "Application Insight is something everybody should have on his radar. Ken provides a nice article to get started."
Prashant Mahajan
Azure: MVC application to refer js from blob
JH: "Nice alternative on deploying JavaScript on Azure. Worth a look in some deployment scenarios
Ed Price: "This is a great topic! Could be improved on with code formatting and a See Also section. Good article!"
Miscellaneous Technical Guru - March 2015
XAML guy
Convert and Edit Microsoft Office Live Meeting Recordings
Alan Carlos: "Thanks XAML guy! Very yseful!"
Durval Ramos: "This article was "welcome", but "a little late". Simple and clear. Well done, Peter!"
Ed Price: "Fantastically crafted instructional guide!"
Richard Mueller: "Great information. Good use of article guidelines. I like the images."
Andy ONeill
Silverlight: Trouble Shooting Installs
Alan Carlos: "Cool Andy!"
Durval Ramos: "This article is very detailed, has a demo and use description in different browsers, but could change sections order or maybe split article: "What's Silverlight?" and "Trouble Shooting Installs". Well,
one more time... Good job Andy!"
Ed Price: "Incredibly exhaustive with a lot of great supporting sections!"
Richard Mueller: "Good use of article guidelines, like "See Also" and TOC."
Tom Mohan
Zen coding with Visual Studio
Durval Ramos: "It would be welcome if added images and references about your use in VS"
Ed Price: "Great topic with some great code formatting! Could benefit from section headers and a See Also section. Very helpful article!"
Richard Mueller: "Very interesting. This tool could prove useful, once you get used to it."
SharePoint 2010 / 2013 Technical Guru - March 2015
Murugesa Pandian
Simple understanding on SharePoint Provider Hosted App Model
Jinchun Chen: "Nice article"
Hezequias Vasconcelos: ""
KB: "Please correct typos. I like the explanation on difference between app only permissions and user permissions"
Ed Price: "Great explanation! The diagrams are very helpful!"
Margriet Bruggeman: "Interesting start, but I feel this article needs a lot more work to become really useful. Not because the article is bad, but because of the fact that the topic is so complex."
Melick
JSOM List Operations in SharePoint Apps in a proper way (Provider
Hosted and SharePoint Hosted)–CRUD
Margriet Bruggeman: "Clean implementation of a very useful JS library. I really like this approach"
Hezequias Vasconcelos: "The sound is great content for development in SharePoint"
Ed Price: "Good topic with helpful code snippets! Could benefit from Headers, a TOC, and a See Also section. "
Michaelle de las Alas
Expandable/Collapsible Headers Solution for SharePoint Pages
Hezequias Vasconcelos: "The page management and scheduled SharePoint content is a great resource."
Ed Price: "It's simple, well-written, and very helpful for the community! Could benefit from headers, a TOC, and a See Also section. Great topic!"
Margriet Bruggeman: "I like it. A useful idea that is easy to implement."
Small Basic Technical Guru - March 2015
Philip Munts
Small Basic and the Raspberry Pi
Michiel Van Hoorn: "Wonderful idea and good write up. Would be cool so have something running with the "regular" Raspbian."
RZ: "This is incredible. Detailed step-by-step instructions and pictures/screenshots. Makes me want to jump up and try it myself now. But I will save it for a nice rainy day project to work with my boy. I am sure he will be all in awe!"
Yan Grenier
Small Basic: Timeline for the games
Michiel Van Hoorn: "Great advance article on timelines. Very usefull to those looking for more complex games."
RZ: "This is a difficult topic, especially for beginners. But Yan explained it very well with details and examples!"
Ed Price - MSFT
Small Basic on TechNet Gallery
Michiel Van Hoorn: "Very useful "baseline" for those who want to blog / post."
RZ: "Very nice explanation of the TechNet Gallery"
SQL BI and Power BI Technical Guru - March 2015
Jens Vestergaard
SSIS Script Task and Proxy Auto Configuration (PAC) Script
RB: "Great article, that applies to any kind of web content."
PT: "Good quick reference example. Thanks for submitting it."
Ricardo Lacerda
SSIS: Data maintenance with Microsoft Azure SQL Database
PT: "This is a very complete tutorial on setting up CDC which makes the process quite clear. Thnaks"
RB: "Great article !"
SQL Server General and Database Engine Technical Guru - March 2015
Visakh16
Parsing Out Data From Flat File With Inconsistent Delimiters in SQL Server
Durval Ramos: "Very useful. Good job !"
Ed Price: "Fantastic job on the code formatting, in-depth descriptions, and robust use of images!"
AM: "Thanks for presenting multiple approaches to solve the problem. It would be good to see a second part describing the format file."
DRC: "This is a good article which provides different ways to import the data to SQL, But this article needs some modifications. Suggestions: • It would be helpful, if mentioned on which version of SQL server and Visual studio scenario
was tested • We might encounter errors while using the format files, for example we get the below error if the format file doesn’t have blank space (character ) at the end of each line Msg 4862, Level 16, State 1, Line 10 Cannot bulk load because the file
"C:\temp\good.fmt" could not be read. Operating system error code (null). • So it will be helpful if you can provide a sample format file and TSQL script along with the possible output which can be tested and compared. • The sample query and the
format file is not yielding the right output. Screenshots shown in the article has invalid values (for example ID coulmn has invalid values). Format file need to be fixed to get the right data. • The format file under section “Files With Text Qualifiers” is
also invalid and the data is not imported properly. • Implementation of import using the SSIS package needs more details about how to make the delimiter consistent, Attaching a sample package would be helpful. "
System Center Technical Guru - March 2015
Noah Stahl
Make System Center Orchestrator Text Faster than a Teenager using PowerShell
and Twilio
Ed Price: "Wow, I love the breakdown of sections. As Alan wrote in the comments, "Wow! Great article!""
Mr X
How to educate your users to regularly reboot their Windows computers
Ed Price: "I love the table and use of code snippets and images! Great article!"
Transact-SQL Technical Guru - March 2015
Saeid Hasani
T-SQL: How to Sort a Column that Contains Character-Separated Numbers
Durval Ramos: "Great article! The samples in this article are very enlightening."
Richard Mueller: "Good use of guidelines. Good images. Grammar needs work."
Saeid Hasani
T-SQL: Troubleshooting When a Column Alias that
Created in the SELECT Clause Cannot be Used in the ORDER BY Clause
Richard Mueller: "Great use of article guidelines. I like the images and "See Also". Good explanation of an advanced topic."
Durval Ramos: "An interesting topic and also have T-SQL script on TNGallery, about related issue in MS Connect. Good job!"
sql-pro
T-SQL: SQL Server Agent Job Execution Status
Durval Ramos: "This article has interesting content, but needs to be better worked."
Richard Mueller: "A great idea. We may need more references/links."
Visual Basic Technical Guru - March 2015
Reed Kimble
Simple Multi-User TCP/IP Client & Server using TAP
Durval Ramos: "This article offers a complete description about an TAP implementation and has a download code on MSDN Code. Good job!"
Richard Mueller: "I liked this article a lot. Good use of article guidelines. A lot of useful links, but some could be collected in an "Other Resources" section."
.paul.
Factorizing Quadratic Equations (practice and solver)
Durval Ramos: "Very good. Well formatted article and has images that clarify how to work equations. "
Richard Mueller: "A fun article with good images."
Visual C# Technical Guru - March 2015
Isham Mohamed
Setting custom Messages in user defined Exceptions
Carmelo La Monica: "Good articles and sample code!"
Jaliya Udagedara: "A short and to the point article. Answers a common problem."
Tom Mohan
.NET: Equality Features
Jaliya Udagedara: "Great article. Has links to MSDN when needed. Definitely enjoyed reading."
Carmelo La Monica: "Article very detailed in all parts, congrats!"
Vithal Wadje
Constructors and Its Types in C#
Carmelo La Monica: "Well done in all its content , and very exhaustive of the types of constructors of a class"
Jaliya Udagedara: "Explains Constructors in detail. Please do format the code as Andy suggested."
Wiki and Portals Technical Guru - March 2015
Davut EREN
Turkish Ninjas Team Council Center
Durval Ramos: "Great collection of Turkish articles!!!"
Richard Mueller: "Amazing collection of links."
Ed Price: "Great job in using this article to build out Turkish content and encourage the community!"
Alan do Nascimento Carlos
TechNet Wiki - Images
Durval Ramos: "Very useful for use in "Wiki Ninjas" Blog posts."
Richard Mueller: "A great collection of fun images."
Ed Price: "I can see this article being well used as we leverage these images in blog posts!"
Windows Phone and Windows Store Apps Technical Guru - March 2015
Damien Allan
Make a Styled Button in XAML for Windows Universal Apps
JH: "Styling has always been special in XAML-based applications. This article shows nicely how to style a button in Blend in universal apps."
Ed Price: "Great explanations and how-to content, with helpful images and code!"
Carmelo La Monica
Part four: The control Maps on Windows Phone 8.
JH: "Another article about working with the maps control in Windows Phone 8. Nice to see another one in this series."
Ed Price: "Fantastic and exhaustive explanation of the Maps control!"
Windows PowerShell Technical Guru - March 2015
Noah Stahl
Make System Center Orchestrator Text Faster than a Teenager using PowerShell
and Twilio
Alan Carlos: "Wow! Great article! Congratulations!!!!"
Ed Price: "What a powerful solution with great details and helpful images!"
Richard Mueller
PowerShell Script to Search Active Directory
Ed Price: "This article is amazing, due to great details, a couple of helpful tables, lots of supporting images, and a plethora of related links at the end!"
Alan Carlos: "Very useful!!!"
Dan Christian
Add MSG file metadata to a SharePoint list using PowerShell
Alan Carlos: "Excellent!"
Ed Price: "I love the supplemental video and helpful images!"
Windows Presentation Foundation (WPF) Technical Guru - March 2015
Andy ONeill
Uneventful MVVM
Ed Price: "Amazing depth on this article! I love the See Also and Other Resources sections! Astonishingly great article!"
Peter Laker: "Supurb article Andy. Nice work again."
Magnus (MM8)
WPF: Implementing Global Hot Keys
Ed Price: "I love the breakdown of sections and clear descriptions!"
Peter Laker: "Excellent topic and well explained Magnus!"
Tom Mohan
Asynchronous data binding using IsAsync and Delay
Peter Laker: "Great tip Tom, thanks for your contribution!"
Ed Price: "Very valuable topic!"
Windows Server Technical Guru - March 2015
Pierre-Alexandre Braeken
Active Directory - Clone a Domain Controller in Windows Server 2012
with Hyper-V (VM-GenerationID)
Mark Parris: "The principals of cloning a DC."
JM: "This is an excellent article on cloning a DC, nice work and thanks for the contribution."
Richard Mueller: "Excellent topic and great images."
Mr X
Netstat for Beginners
JM: "This is a great article on netstat, thanks for your contribution."
Richard Mueller: "Very good tutorial on this important tool. I like the images and tables."
Mark Parris: "Good Insight"
Pierre-Alexandre Braeken
Set up a virtual infrastructure at home with Windows 8 + Hyper-V
Manager and a Synology DS412j
Mark Parris: "Nice how to article."
JM: "Although not aimed at Windows Server users, this is also an excellent article."
Richard Mueller: "Extensive documentation for all the steps."
As mentioned above, runners up and comments were removed from this post, to fit into the forum's 60,000 character limit.
You will find the complete post, comments and feedback on the
main announcement post.
Please join the discussion, add a comment, or suggest future categories.
If you have not yet contributed an article for this month, and you think you can write a more useful, clever, or better produced wiki article than the winners above,
here's your chance! :D
Best regards,
Pete Laker
More about the TechNet Guru Awards:
TechNet Guru Competitions
#PEJL
Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to
TechNet Wiki, for future generations to benefit from! You'll never get archived again, and
you could win weekly awards!
Have you got what it takes o become this month's
TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!Congrats to Muguresa, Melick, and Michaelle!
SharePoint 2010 / 2013 Technical Guru - March 2015
Murugesa Pandian
Simple understanding on SharePoint Provider Hosted App Model
Jinchun Chen: "Nice article"
Hezequias Vasconcelos: ""
KB: "Please correct typos. I like the explanation on difference between app only permissions and user permissions"
Ed Price: "Great explanation! The diagrams are very helpful!"
Margriet Bruggeman: "Interesting start, but I feel this article needs a lot more work to become really useful. Not because the article is bad, but because of the fact that the topic is so complex."
Melick
JSOM List Operations in SharePoint Apps in a proper way (Provider
Hosted and SharePoint Hosted)–CRUD
Margriet Bruggeman: "Clean implementation of a very useful JS library. I really like this approach"
Hezequias Vasconcelos: "The sound is great content for development in SharePoint"
Ed Price: "Good topic with helpful code snippets! Could benefit from Headers, a TOC, and a See Also section. "
Michaelle de las Alas
Expandable/Collapsible Headers Solution for SharePoint Pages
Hezequias Vasconcelos: "The page management and scheduled SharePoint content is a great resource."
Ed Price: "It's simple, well-written, and very helpful for the community! Could benefit from headers, a TOC, and a See Also section. Great topic!"
Margriet Bruggeman: "I like it. A useful idea that is easy to implement."
Also worth a mention were the other entries this month:
JSOM List Operations in SharePoint Apps in a proper way (Provider Hosted
and SharePoint Hosted) – Search (Part2) by
Melick
Margriet Bruggeman: "Good stuff - interesting approach for a JS API for JSOM"
Ed Price: "Good breakdown of methods. Could benefit from more context and a See Also section at the end."
SharePoint Online: How to change primary administrator for all site collections
using Powershell by
Arleta Wanat
Margriet Bruggeman: "complete discussion of this problem"
Ed Price: "An incredibly valuable topic!"
SharePoint 2013 : Displaying sum for calculated column in a list view using JSLink by
Jaydeep Mungalpara
Jinchun Chen: "Helpful"
Margriet Bruggeman: "This is very useful, I've seen people ask for a solution like this"
Ed Price: "Good descriptions and use of images. Great to have the code download!"
THE PROVIDED APP DIFFERS FROM ANOTHER APP WITH THE SAME VERSION
AND PRODUCT ID in SharePoint 2013 App Development by
Melick
Margriet Bruggeman: "Excellent explanation of the thought process behind solving this problem"
Ed Price: "Great topic and use of images! Could benefit from more contextual explanation and a See Also section."
SharePoint Hosted Apps - Create Enterprise WIKI page using REST API by
Kashif Pervaiz Butt
Ed Price: "Good intro, reference, and code formatting! Could benefit breaking out the code more and explaining each piece. Good to have the Reference link!"
Margriet Bruggeman: "Great if you're looking for this exact code, but doesn't do much to explain what is going on."
SharePoint 2013: Deleting Orphaned SharePoint Databases by
Matthew Yarlett
Jinchun Chen: "It is useful in mose cases."
Ed Price: "Great job on the code formatting and explaining each part! "
Margriet Bruggeman: "Handy, but I'm missing some insights why this has happened"
SharePoint 2010 : Batch Updates on List Items using SharePoint Designer Workflow by
Murugesa Pandian
Hezequias Vasconcelos: "The SharePoint Workflow is one of the most sought by the community resources."
Margriet Bruggeman: "I guess I expected some more depth, the intro is really nice and then the solution is presented and over before you know it."
Ed Price: "Good descriptions and great use of images! Could benefit from Headers and a TOC. "
Configure a SharePoint server in non domain(Workgroup) environment by
Inderjeet Singh Jaggi
Margriet Bruggeman: "Didn't know that that was even possible, so cool! Although I feel this has limited usefulness."
Ed Price: "Good topic, but it could benefit from code formatting, Headers, a TOC, and a See Also section. The images help with clarity!"
Access SQL server database of any version of SharePoint Standalone farm by
Inderjeet Singh Jaggi
Ed Price: "Good use of images, with clear steps and good to have the Reference. Would benefit from a Reference section."
Margriet Bruggeman: "I feel there is a limited audience for this, and the complexity if the article is aslo limited. I do like the angle about sharepoint in a non-AD environment though, it's just not for me"
ADFS signout issue for SharePoint site in IE browser due to FedAuth Cookie by
Inderjeet Singh Jaggi
Margriet Bruggeman: "Very useful info, clear focus and article gets right to the point."
Ed Price: "Good write up. It's important to write articles in a Wiki perspective rather than a blog tone. Good description of the problem! Could benefit from code formatting."
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
FedAuth cookie not geneatred in SP2013 with SiteMinder as Trusted Identity Provider
Hello,
We have configured Site Minder (with SAML 1.1) as trusted identity provider in SP2013. We have mapped Email Address as claim type. But we found in Fiddler that FedAuth cookie is not getting generated so users are not able to access the site and redirects
to sign in page again.
Any help provided here much appreciated.
Thanks
ShitalHi Shital,
The default expiration time of the FedAuth cookie is 10 hours, you could change the expiration time of the FedAuth cookie per the link below:
http://dotnetfollower.com/wordpress/2013/07/sharepoint-how-to-change-the-expiration-time-of-the-fedauth-cookie/
Fiddler you will not be able to see these cookies as they are generated client side.
http://blogs.msdn.com/b/mcsnoiwb/archive/2012/06/10/lost-authentication-cookies-in-sharepoint.aspx
If you are using load balancing solution, don’t forget affinity:
http://blogs.technet.com/b/speschka/archive/2011/10/28/make-sure-you-know-this-about-sharepoint-2010-claims-authentication-sticky-sessions-are-required.aspx
For more information:
http://fredericloud.com/2011/01/11/connecting-to-sharepoint-with-claims-authentication/
Regards,
Rebecca Tu
TechNet Community Support -
We are currently trying to integrate SharePoint 2010 server with OAM 11g with 10g webgate. In our environment SharePoint site is configured with Claims based authentication with LDAP provider for membership. We have performed all the configurations based on the Oracle documentation with validation mode as OAMHttp.
We are seeing the following behavior after this integration.
1) The user requests access to an SharePoint Site
2) Webgate protecting the site intercepts the request, determines if the resource is protected, and challenges the user.
3) The user enters their OAM credentials; Webgate contacts the OAM Server, which verifies the credentials from user store and authenticates the user. Webgate generates the OAM native SSO cookie (ObSSOCookie), which enables single sign-on and sets the User ID (to username) header variable in the HTTP request and redirects the user to SharePoint site.
Here, instead of taking user to the home page of the site, the SharePoint login page is displayed again.
=================================================================================================
Looking into the debug logs i found the following error.
Date ProcessId ThreadID ManagesThreadId ClassName MethodName Message
=================================================================================================
5/4/2012 4:16:19 AM 7648 3604 7 Oracle.CustomMembershipProvider Initialize validationMode^OAMHttp
5/4/2012 4:16:19 AM 7648 3604 7 Oracle.OAMHttpValidator .ctor Method Entered
5/4/2012 4:16:19 AM 7648 3604 7 Oracle.OAMHttpValidator .ctor ValidationURL configured validationUrl^http://wtv-sea-spapp01.chemd.net:8086/ValidateCookie.html
5/4/2012 4:16:19 AM 7648 3604 7 Oracle.OAMHttpValidator .ctor validationHost^wtv-sea-spapp01.chemd.net
5/4/2012 4:16:19 AM 7648 3604 7 Oracle.OAMHttpValidator .ctor OAMAuthUserCookieName^OAMAuthCookie
5/4/2012 4:16:19 AM 7648 3604 7 Oracle.OAMHttpValidator .ctor Method Exited
5/4/2012 4:16:19 AM 7648 3604 7 Oracle.CustomMembershipProvider Initialize Setting Validation Type OAMHttp
5/4/2012 4:16:19 AM 7648 3604 7 Oracle.CustomMembershipProvider ValidateUser Entering ValidateUser : username^IDG2M
5/4/2012 4:16:19 AM 7648 3604 7 Oracle.OAMHttpValidator ValidateUser Method Entered
Exception Caught InValidateUser
The remote server returned an error: (403) Forbidden. at System.Net.HttpWebRequest.GetResponse()
at Oracle.OAMHttpValidator.ValidateUser(Dictionary`2 creds)5/4/2012 4:16:19 AM 7648 3604 7 Oracle.OAMHttpValidator ValidateUser Exiting AuthStatus^AuthZFail
5/4/2012 4:16:19 AM 7648 3604 7 Oracle.CustomMembershipProvider ValidateUser OAMauthStatus^AuthZFail
5/4/2012 4:16:19 AM 7648 3604 7 Oracle.CustomMembershipProvider ValidateUser Method Exited returnCode^False
If anyone have integrated OAM 11g with SharePoint 2010 earlier, appreciate your inputs in this regard.Each license is platform specific, you can't backwards apply or forwards apply licenses from one version of SharePoint to another.
If you do have MSDN access, you'll have access to all current versions of SharePoint, across the current and retired server products.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
SharePoint 2010 - Claims Based Authentication - Access Denied for AD Group members
We're in the process of migrating our SharePoint 2003 system to 2010 and have used Metavis to migrate the data. We had to do the data migration in a lab environment and then move/attach the content database to our production server. The database attached successfully
and I, as a site collection administrator, can see all sites and the data therein. We are using claims-based auth with ADFS 2.0 as the provider.
My users, however, get access denied trying to go anywhere on the site. I have added the Active Directory groups to the appropriate SharePoint groups and have confirmed the groups are appearing with the c:0-.t|adfs|group_name syntax. If I add them as individual
users (i:05.t|adfs|[email protected]) they can authenticate fine, but not by AD group membership.
I enabled ADFS tracing and I see that the claim being provided includes the SIDs for all the groups the user belongs to. Using ULS Viewer I can see that SharePoint sees the correct number of claims (it doesn't show what those claims are, just the number) but
it doesn't seem to be connecting the SIDs passed to the group name used in the permissions list. I have also updated the portalsuperreader and portalsuperuser accounts after the database was moved, just in case there was something weird there.
The ADFS and SharePoint servers are all in the same AD domain, so they should be able to resolve SIDs ok. I suspect the issue is somehow related to the migration of the content database from a separate
environment (different domain), but I can't figure out for the life of me how to get the group authentication to work.
Thoughts?Brilliant idea. Unfortunately that didn't work - I can get to the new site as the site collection owner, but members of groups to which I assigned permissions still get Access Denied. :-(
-
SharePoint 2010 TechNet Gurus Announced for June 2014!
The Results are in! and the winners of the TechNet Guru Competition June 2014 have been posted on the
Wiki Ninjas Blog.
Below is a summary, heavily trimmed to fit the size restrictions of forum posting.
BizTalk Technical Guru - June 2014
Steef-Jan Wiggers
BizTalk Server: Custom Archiving
TGN: "This one was my favorite this month. Archiving is a topic that is brought up often. Well done explaining it simply and how to do it according to best practice"
Sandro Pereira: "Love the topic, well explain and with everything you need, my favorite."
Mandi Ohlinger: "Another great addition to the Wiki. "
boatseller
BizTalk: Reducing and Consolidating WCF Serialization Schema Types
TGN: "Very good, keeping the code clean, and only referencing what you need and consolidate it is important!"
Mandi Ohlinger: "Great solution to somewhat-annoying behavior. Nice addition to the Wiki!"
Sandro Pereira: "Great article."
Murugesan Mari Chettiar
How to Implement Concurrent FIFO Solution in BizTalk Server
Ed Price: "Incredibly thorough in your explanations! Great formatting. Good job!"
TGN: "First in, first out. Great article Murugesan!"
Sandro Pereira: "Good additional to the TechNet Wiki, good work."
Forefront Identity Manager Technical Guru - June 2014
Remi Vandemir
Custom Reports in FIM2010R2
AM: "Great step-by-step guide for generating custom reports. Thanks for taking the time to put this together."
PG: "Nice article, in an area that is less known!"
Søren Granfeldt: "Very comprehensive."
Ed Price: "Great job on the intro, and a lot of images really help clarify all the steps!"
GO: "Thank you "
Eihab Isaac
FIM 2010 R2: Review pending export changes to Active Directory using XSLT
Ed Price: "Great introduction, great steps, and great job on the image and code formatting!"
GO: "An introduction, a sample code, images, a TOC and a conclusion. Nothing here to preserve the GOLD medal!"
PG: "Nice article!"
Søren Granfeldt: "Nice and precise"
Scott Eastin
A Practical Alternative to the PeopleSoft
AM: "Thank you for sharing. Great (and probably superior) alternative for those using PeopleSoft as import-only data source."
GO: "Amazing article, love it so much"
PG: "Would like to see more elaborated details in this article."
Søren Granfeldt: "A little more technical stuff would be nice"
Ed Price: "Some good community collaboration in removing blog-like personalization. This is a great topic with some good holistic thinking!"
Microsoft Azure Technical Guru - June 2014
Mr X
Configuration of WATM (Windows Azure Traffic Manager) for Web Portals hosted
on Azure VMs
JH: "Two simple words: Love it! The detailed explanation on how Traffic Manager works is awesome."
Ed Price: "Wow! Incredibly well written, with beautiful diagrams and a great use of images and tables! Great topic!"
GO: "This is a great article! Thanks Mr.X"
Mr X
How to use Windows Azure as Traffic Manager for Web portals
hosted in multiple on-premise datacenters
JH: "Very detailed! Great explanation at the beginning followed by a good step-by-step guide."
Ed Price: "A much needed article! Great job on the formatting and images!"
GO: "Thanks again, MR.X"
Mr X
How to connect Orchestrator to Windows Azure
GO: "I really enjoyed reading this article, clever and well written. Lovely done!"
JH: "Great article! I especially love the amount of pictures provided in the article."
Ed Price: "Good procedural article! Great use of images!"
Microsoft Visio Technical Guru - June 2014
Mr X
How to open Visio files without Visio
AH: "This Article is pretty basic and lacks details. Visio Viewer doesn't just open in IE but also in Outlook and File explorer. The writer should include the link to http://blogs.office.com/2012/11/28/download-the-free-microsoft-visio-viewer/
this blog which has lot more details "
Ed Price: "Good. I think the SEO on the title will drive more awareness of the Visio Viewer."
GO: "Thanks you Mr.X! Again a great article!"
Miscellaneous Technical Guru - June 2014
Ed Price - MSFT
Yammer: Announcements Feature
TGN: "Wow, not only is this a good way on how to write annoncments on Yammer, but in generel. Really, really great write-up Ed! T"
GO: "Tord says on the comment section: "Very nice article, Ed. I really enjoyed reading it and you had a great set of tips. Thanks for sharing!".. I only can respond AMEN! Thanks Ed!"
Margriet Bruggeman: "Good discussion of announcements feature."
Anthony Caragol
Backing Up and Restoring Lync 2013 Contacts
Margriet Bruggeman: "Short & Sweet"
GO: "Great article, but I'm missing, examples, images, definitions etc for a huge section like "backup and restore""
TGN: "Very good, Lync has eaten up the market and is a key product in most companies, articles like this is very valuable. Great work Anthony!"
SharePoint 2010 / 2013 Technical Guru - June 2014
Geetanjali Arora
SharePoint Online : Working with People Search and User Profiles
Benoît Jester: "A very good article, a must-read for those interested by SharePoint Online and the use of search and user profile API."
Jinchun Chen: "Excellent. Just a tip, if you would like to improve the performance, please use the Search Service to search user profiles"
Craig Lussier: "Good walkthrough and code example for getting started with People Search!"
Margriet Bruggeman: "Good starter for working with search and profiles"
Jaydeep Mungalpara
Creating Bookmarks in Wiki Pages - SharePoint Rich Text Editor Extension
Margriet Bruggeman: "Really cool! In the past, I was actually looking for this and its a nice implementation of this functionality. This article gets my vote!"
Craig Lussier: "Great solution for extending out of the box functionality. I like the synergy between the TechNet Wiki and TechNet Gallery!"
GO: "Simple but powerfull. We should all take an example about how this article has been written. This article has a TOC, headings and even a code! Well done!"
Jinchun Chen: "Nice. "
Benoît Jester: "A simple button which can save a lot of time!"
Dan Christian
PowerShell to copy or update list items across SharePoint sites and farms
GO: "The best artice for June! Thanks Dan, you deserve the GOLD medal!"
Benoît Jester: "A good article with useful scripts, as they can be used fior many scenarios (data refresh, migration tests, ...)"
Jinchun Chen: "Good and low-cost solution. To be automatic, we can use EventHandle instead. "
Craig Lussier: "Nice PowerShell script solution and explanation of the scenario. Consider using functions with parameters for easier reuse so input parameters are not hard coded."
Margriet Bruggeman: "This script can be useful, although typically migration scenarios are more complex than this. Having said that, I probably end up using this script some time in in the future"
Small Basic Technical Guru - June 2014
litdev
Small Basic: Sprite Arrays
Ed Price: "An important topic that's well described with fantastic examples! Great article!"
Michiel Van Hoorn: "Great starter for Sprite Fundamentals and how to handle them. Briljant start point for greating you 2D shooter"
Jibba Jabba
Small Basic - Monthly Challenge Statistics
Ed Price: "Jibba Jabba brings us astonishing insights and data about LitDev's Small Basic Monthly Challenges!"
RZ: "This is very nicely done and showed all the statistics visually"
Nonki Takahashi
Small Basic: Challenge of the Month
RZ: "This is very nicely done and organized all challenges of the month in one place"
Ed Price: "Although this is very basic, it's incredibly helpful to get all these in one list and to access all the great challenges!"
Michiel Van Hoorn: "Good explainer on fundamental structures."
SQL BI and Power BI Technical Guru - June 2014
Anil Maharjan
Using Power Query to tell your story form your Facebook Data
Jinchun Chen: "Interesting. I liked this best"
PT: "Plenty to like here"
Ed Price: "Great! I love to see Power Query articles like this! Great formatting and use of images!"
Tim Pacl
SSRS Expressions: Part 1 - Program Flow
PT: "A very comprehensive article about program flow expressions. Nice job. I'm sure many will benefit from this article. Just a little feedback about some terminology that could be more clear: The entire statement that
is typically used to set a property value for an object in an SSRS report is an "expression". Each of the three programming constructs you've mentioned (e.g. IIF, SWITCH & CHOOSE) are "functions" and not expressions or statements."
Jinchun Chen: "Perfect! Good article for SSRS newbie."
Ed Price: "The table and images help bring it more value. Great job!"
Anil Maharjan
How to Schedule and Automate backups of all the SSAS catalogs within the
Server Instance
PT: "This is a very useful article about automating multiple Analysis Services database backups using an SSIS package and the SQL Server Agent. Nice job."
Jinchun Chen: "Good."
Ed Price: "Good use of images. Could be improved with better code formatting. Good job!"
SQL Server General and Database Engine Technical Guru - June 2014
Shanky
SQL Server: What does Column Compressed Page Count Value Signify
in DMV Sys.dm_db_index_physical_stats ?
DB: "Interesting and detailed"
DRC: "• This is a good article and provides details of each and every step and the output with explanation. Very well formed and great information. • We can modify the create table query with “DEFAULT VALUES". CREATE TABLE [dbo].[INDEXCOMPRESSION](
[C1] [int] IDENTITY(1,1) NOT NULL, [C2] [char](50) NULL DEFAULT 'DEFAULT TEST DATA' ) ON [PRIMARY]"
GO: "Very informative and well formed article as Said says.. Thanks for that great ressource. "
Durval Ramos
How to get row counts for all Tables
GO: "As usual Durva has one of the best articles about SQL Server General and Database Engine articles! Thanks, buddy!" "
Jinchun Chen: "Another great tip!"
PT: "Nice tip"
Ed Price: "Good topic, formatting, and use of images. This would be far better if the examples didn't require the black bars in the images. So it would be better to scrub the data before taking the screenshots. Still a good article. Thank
you!"
System Center Technical Guru - June 2014
Prajwal Desai
Deploying SCCM 2012 R2 Clients Using Group Policy
Ed Price: "Great depth on this article! Valuable topic. Good use of images."
Mr X
How to introduce monitoring and automatic recovery of IIS application
pools using Orchestrator
MA: "Good job Mr X, However I would like to see this runbook integrated as a recovery task with Operations Manager IISapppools Monitors in order to maintain a standard way of notifications and availability reporting."
Ed Price: "Good formatting on the images, and great scenario!"
Prajwal Desai
How to deploy lync 2010 using SCCM 2012 R2
Ed Price: "Great job documenting the entire process!!!"
Transact-SQL Technical Guru - June 2014
Saeid Hasani
T-SQL: How to Generate Random Passwords
JS: "I loved the article, well structured, to the point. Not missing any caveats that might occur, really good in the end. I would suggest changing the function to accept a whitelist / blacklist as well as a length of
the password to be created. This would be the cherry on the pie :-)"
Samuel Lester: "Very nice writeup for a real world problem!"
Richard Mueller: "Clever and apparently well researched. I liked the detailed step by step explanations."
Jinchun Chen: "Excellent!"
Manoj Pandey: "A good and handy utility TSQL that I can use and levarage if I have to use similar feature in future."
Hasham Niaz
T-SQL : Average Interval Length
Richard Mueller: "A good article, but I need more explanation of the concepts."
Manoj Pandey: "A handy TSQL script that I can use and levarage if I have to use similar feature in future."
Visakh16
T-SQL: Retrieve Connectionstring Details from SSIS Package
Manoj Pandey: "Good shortcut by using TSQL with XML to read metadata information from SSIS XML file."
Samuel Lester: "Handy trick, thanks for posting!"
Richard Mueller: "Good code, but more explanation needed. Could use a See Also section."
Visual Basic Technical Guru - June 2014
The Thinker
Better to Ask for forgiveness then permission
Richard Mueller: "Good use of images and code. The humorous title might be better in a blog."
MR: "Great topic!"
GO: "Well, to be honnest, many people worked on that article, but still, the owner "the thinker" should receive the credits! muchos gracias "The Thinker" for the Most Revised Article"
Visual C# Technical Guru - June 2014
Jaliya Udagedara
Entity Framework Code First - Defining Foreign Keys using Data Annotations
and Fluent API
Ed Price: "Wow. Good descriptions, great code snippets, and great job highlighting sections on your images!"
GO: "Thank you."
Wiki and Portals Technical Guru - June 2014
XAML guy
History and Technology Behind the TechNet Wiki Ninja Belt Calculator
Ed Price: "It's amazing to see all the details of what this tool does. Great job on the descriptions and formatting the images and text!"
Richard Mueller: "Great documentation. Good links to explain everything."
GO: "I love your articles XAML guy! Always clear and always a pleasure to read! Thanks for you help and commitment for this tool."
Durval Ramos
HTML5 Portal
Ed Price: "This is great to see this HTML5 resource!"
Richard Mueller: "A great contribution to our collection of portals"
GO: "The HTML5 Portal is A-W-E-S-O-M-E !"
João Sousa
ASP.NET Portal
Ed Price: "Good job on this portal! The Return to top links are helpful!"
Richard Mueller: "More should be done to distinguish this portal from
here."
GO: "Thanks Joao!"
Windows Phone and Windows Store Apps Technical Guru - June 2014
Dave Smits
Theming of your application
Peter Laker: "Another great article from the mighty Dave. Very useful. Not sure if MS like us want us to work around the accents so much though ;)"
Ed Price: "Very useful topic and great formatting on the code! Could benefit from more explanation on the code toward the bottom and a See Also section. Great article!"
saramgsilva
Creating Windows Phone and Window 8.1 applications using Microsoft App Studio
Peter Laker: "A great introduction! Nice walkthrough, and plenty to look at!"
Ed Price: "This is good. I love the narrative and use of images! Good conclusion!"
Carmelo La Monica
Create Universal Application with Windows Phone App Studio (en-US).
Peter Laker: "Sensational article. A real attention grabber and written very clearly."
Ed Price: "Fantastic job on the narrative and images. Some amazing articles this month!"
Windows Presentation Foundation (WPF) Technical Guru - June 2014
Magnus (MM8)
WPF: How To Tab Between Items In a ListBox
KJ: "This article seemed very useful to me. The kind of thing that I might need and here's the answer."
GO: "Thanks for that great article!."
Ed Price: "Another amazing article from Magnus! Great job on the topic choice (very needed scenario), formatting, code, explanations, and See Also section. Fantastic article!"
Sugumar Pannerselvam
Lets forget about limitations and temprorary fix... Think about 4.5 features
KJ: "Wish there were code samples and more flushed out scenarios"
GO: "Why second place? the layout and way to explain didn't convince me. Doesn't mean that the article is bad. The article is awesome; but it's missing something."
Ed Price: "Short and sweet. Could benefit from adding in some code snippet examples and images. Good topic choice."
Windows Server Technical Guru - June 2014
Mr X
DHCP on Windows Servers – Why are the expired IP addresses not getting re-assigned?
JM: "This is an excellent article, thanks for your contribution."
Richard Mueller: "Important information with good explanation. Needs a See Also section."
Philippe Levesque: "Good article ! I like how it's explained versus Windows Server. An image with the DHCP's process could be a good addition for reference. (DHCP OFFER, DHCP ACK, etc..)"
Mr X
How to force a DHCP database cleanup for expired leases in a specific scope
GO: "I'm actually thinking that nobody can defaut you Mr.X"
Philippe Levesque: "Good article ! I would add that changing the lease time to be shorted could help too."
JM: "A very good article, however you might consider adding this content as a section in your article about expired IP addresses in DHCP"
Richard Mueller: "More good information. Should be linked to the other DHCP article."
GL: "This is OK but a better solution for a highly utilized DHCP scope would be to shorten the lease time and/or configure a superscope."
Hicham KADIRI
Windows Server Core 2012 R2 - Initial configuration
GL: "This is good required information. I would really like to see information added about how to add a server role. You might consider providing PowerShell alternatives to the netsh and other commands."
JM: "This is a great to-the-point article on how to configure a Core install of Windows Server, nice work."
Richard Mueller: "A great collection of useful tools. Some could use images, more detail, or examples. The example sections could be added to the Table of Contents."
GO: "Well, our new french MVP! Well written Hicham! Do not forget to pray attention for the layout! It's capital for readers and judges!"
Philippe Levesque: "I like the article, a good resumé of the command you need to do to configure a server."
Don't forget the full version, with runners up is available
here.
More about the TechNet Guru Awards:
TechNet Guru Competitions
How it works
#PEJL
Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to the one and only
TechNet Wiki, for future generations to benefit from! You'll never get archived again!
If you are a member of any user groups, please make sure you list them in the
Microsoft User Groups Portal. Microsoft are trying to help promote your groups, and collating them here is the first step.Congrats to Geetanjali, Jaydeep, and Dan! Great articles from all the contributors!
SharePoint 2010 / 2013 Technical Guru - June 2014
Geetanjali Arora
SharePoint Online : Working with People Search and User Profiles
Benoît Jester: "A very good article, a must-read for those interested by SharePoint Online and the use of search and user profile API."
Jinchun Chen: "Excellent. Just a tip, if you would like to improve the performance, please use the Search Service to search user profiles"
Craig Lussier: "Good walkthrough and code example for getting started with People Search!"
Margriet Bruggeman: "Good starter for working with search and profiles"
Jaydeep Mungalpara
Creating Bookmarks in Wiki Pages - SharePoint Rich Text Editor Extension
Margriet Bruggeman: "Really cool! In the past, I was actually looking for this and its a nice implementation of this functionality. This article gets my vote!"
Craig Lussier: "Great solution for extending out of the box functionality. I like the synergy between the TechNet Wiki and TechNet Gallery!"
GO: "Simple but powerfull. We should all take an example about how this article has been written. This article has a TOC, headings and even a code! Well done!"
Jinchun Chen: "Nice. "
Benoît Jester: "A simple button which can save a lot of time!"
Dan Christian
PowerShell to copy or update list items across SharePoint sites and farms
GO: "The best artice for June! Thanks Dan, you deserve the GOLD medal!"
Benoît Jester: "A good article with useful scripts, as they can be used fior many scenarios (data refresh, migration tests, ...)"
Jinchun Chen: "Good and low-cost solution. To be automatic, we can use EventHandle instead. "
Craig Lussier: "Nice PowerShell script solution and explanation of the scenario. Consider using functions with parameters for easier reuse so input parameters are not hard coded."
Margriet Bruggeman: "This script can be useful, although typically migration scenarios are more complex than this. Having said that, I probably end up using this script some time in in the future"
Also worth a mention were the other entries this month:
Social Data Timer Job is not running, Recycle warning in progress, job will
not be run immediately by
Waqas Sarwar
Margriet Bruggeman: "Nice problem description and solution, very clear"
GO: "Thanks buddy!"
Benoît Jester: "Thanks for the tip!"
Craig Lussier: "Thanks for the troubleshooting tip - I am sure this will help others in the field."
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Issue while accessing the SharePoint site - SharePoint 2010 - after Password update
SharePoint site is working until we update the password(as it is expiring, we have created a new password) .
We have updated the password in central admin.
After password update, getting the below
error.
Exception
Details: System.InvalidOperationException: Operation is not valid due to the
current state of the object.
[InvalidOperationException: Operation is not
valid due to the current state of the object.]
Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext
context) +26890024
Microsoft.SharePoint.Utilities.SPUtility.DetermineLayoutsUrl(SPWeb overrideWeb,
HttpContext context, Boolean includeLCID, Boolean doNotInitWeb) +252
Microsoft.SharePoint.Utilities.SPUtility.DetermineRedirectUrl(String
urlProposed, SPRedirectFlags flags, HttpContext context, SPWeb overrideWeb,
String queryString, String& urlRedirect) +616
Microsoft.SharePoint.Utilities.SPUtility.Redirect(String url, SPRedirectFlags
flags, HttpContext context, String queryString) +98
Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(HttpContext context)
+1077
Microsoft.SharePoint.IdentityModel.SPFederationAuthenticationModule.OnEndRequest(Object
sender, EventArgs args) +693
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)
+171
We have gone through different articles and did below steps but there is no resolution for us
1) Verified all the SharePoint services in central admin and configured the updated service account to all the services.
2) Removed the SharePoint content DB and attached it again.
Could you please provide any pointers?
Marulasiddappa SB (Swamy)Hi,
Please refer to Justin’s blog and see if it helps:
http://www.justinkobel.com/post/2012/04/30/SharePoint-2010-Claims%E2%80%93Operation-is-not-valid-due-to-the-current-state-of-the-object.aspx
As suggested by Alex, please provide more information about your process of changing password.
Here is an article for updating passwords on SharePoint 2010:
http://blogs.technet.com/b/seanearp/archive/2011/01/25/updating-passwords-on-sharepoint-2010.aspx
Regards,
Rebecca Tu
TechNet Community Support -
User profiles with multiple login accounts in SharePoint 2010
Hello,
Consider the following scenario:
We have Active Directory that is accessible inside our network. Except the sites, accessible from the corporate network, we are exposing SharePoint sites from the same farm on the internet, using claims based authentication with ADFS 2.0 using the same
AD instance as in the intranet.
The problems is that the claims based accounts are not linked to the profiles, that are created for the users by the User Profiles Synchronisation service.
Is there a way to configure the user profiles so if our users are signing in from internet, to access the same profiles that they have, when accessing the SharePoint sites from intranet?
(I've searched a lot, I didn't find excat solution. I've found something related to SPCLaims properties and had confugred them to sync with the AD using the "claims" trusted connection, but the problem remains.)
This is simmilar to allow our users to login using their Facebook, Google, OpenID identity or the identity in our AD. How can this be done?SharePoint user profiles are not populated automatically when using claims-based authentication methods. You must create and populate these profiles yourself, typically in code. Users that map to existing accounts when you migrate to claims-based authentication
will use any existing profile information, but other users and new users will not have profile information. For information about how you can populate user profiles when using claims-based authentication, see "Trusted Identity Providers & User Profile
Synchronization" at
http://blogs.msdn.com/b/brporter/archive/2010/07/19/trusted-identity-providers-amp-user-profile-synchronization.aspx.
The same limitation occurs when using SharePoint Audiences. You cannot use user-based audiences directly unless you create custom code to support this, but you can use property-based audiences that make use of claims values. For information, see "Using Audiences
with Claims Auth Sites in SharePoint 2010" at
http://blogs.technet.com/b/speschka/archive/2010/06/12/using-audiences-with-claims-auth-sites-in-sharepoint-2010.aspx.
From: http://msdn.microsoft.com/en-us/library/hh446523.aspx -
How to Archive a list in sharepoint 2010
Hi
I think large list is the inevitable trend and will be a very common issue faced by everyone. We are a medium business using sharepoint 2010.
For past 3 years, one of our SharePoint lists is over 20000 items.
From my end:
1. I have indexed some important columns and created filtered views but it does not help much.
2. I have increased the list threshold value to 25000( Even though the best practice is 5000).
3. Also, I have set the list template size to 500MB
4. When I try to save the list as a template, SharePoint throws an exception error.
5. I tried working on the code
mentioned in the link
below but it looks complicated for me.
http://spboom.com/sharepoint-development/moving-sharepoint-list-items-to-archive-list/
What I need:
I need to archive old items in the list. After archiving, I might need to refer to the archived items from time to time.
As I'm newbie to SharePoint, it would be great, if someone can elaborate in detail with what can be done.
Again your help in this is much appreciated.
Thanks & Regards,
SweRWhat vesion of SharePoint are you using? If you want to move items across from one list to another (as per your prefered option), something like: -
Create a list template of you list with no content
Recreate it on the same level as the main lis
Create an SPD workflowthat'll copy an item to the new list and delete the original. Make sure it doesn't have a triggering action
Use an Expiration Information Rights Policy to triger the workflow.
Please note that this won't preserve the original author / create metadata as Alex has already said.
Cheers,
Steven Andrews
SharePoint Business Analyst
Blog:
Steve's SharePoint Space Twitter:
LinkedIn:
Facebook:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Error when attaching workflows to Sharepoint 2010 lists
Hi,
I am getting an error when trying to attach an approval workflow to any SharePoint 2010 list on my development server. From the below error in the log I remember that I got this
same error in Sharepoint 2007 MOSS. It occurs because I have underscores in the server name. I know that I can get around this by either changing the server name or using alternative access mappings to access the server without the underscores. Does anyone
know of a way to fix this so that the srever name can have underscores which I believe are viable characters in a server name.
System.ArgumentNullException: Value cannot be null. Parameter name: g at System.Guid..ctor(String g) at Microsoft.Office.Workflow.WrkAssocPage.AssociationOnLoad(EventArgs
ea) at Microsoft.Office.Workflow.CstWrkflIPPage.OnLoad(EventArgs ea) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) b06aa203-3cbe-4180-806a-4ed994fbbee9I think you are referring to the following KB about special characters.
http://support.microsoft.com/kb/905231
This is not the reason we are experiencing the workflow problem though. It is related to Internet Explorer security which changed.
Issues after you install updates to Internet Explorer or Windows
http://support.microsoft.com/kb/325192
"Cookies on ASP pages are blocked if the server name contains characters that are not supported by Domain Name System (DNS). For example, you cannot use underscore characters (_) in the server name. This behavior is by design."
Resolutions include:
Removing underscore from server name
Use Alternate Access Mappings
Extend and map using a web application that uses a URL path that does not use the servername
Decrease the security level in IE on the Security tab (not recommended)
Uncomment a line in the web.config which is commented by default (not recommended)
<add name="Session" type="System.Web.SessionState.SessionStateModule" />
Hope this makes the issue more clear. I have updated the SharePoint KB to point to the Internet Explorer KB so people will be aware that the IE change does affect SharePoint behavior. This is not a SharePoint issue however.
Fred Ellis - MSFT -
Hi,
I was working with SharePoint 2010 in one of my Virtual machines.Now that the lease for my Virtual Machine is going to expire, I want to shift the entire contents of the project to another machine (local) with SharePoint 2010. Also, I want the pages
in the other machine to be editable.
How can I copy the solution files to the other machine? And I want the exact path where the files are located, so that I can shift them to the other machine.
Thanks in advance....that's not a good approach.
Deploying customisations can be as simple as files being copied onto the file system. Most of the time however there is a lot more happening behind the scenes and simply copying the files won't work.
Also that is assuming that you mean solutions rather than the pages themselves (or the contents of document libraries) in which case you want to copy databases, not just files.
SharePoint isn't a simple thing to move, you may need to look at this a bit harder. -
SharePoint 2010 Application server has SQL timeout problem
Hi All,
Our SharePoint has App & WFE servers, and the SQL server is always on. BTW, App server sometimes has timeout problem as follow, has any idea on it? This problem does not occur timing, our SP 10 is RTM version.
Error Log:
01/29/2015 17:25:29.96 OWSTIMER.EXE (0x0A78)
0x0B08
SharePoint Foundation Monitoring
nasq Medium
Entering monitored scope (Timer Job job-workflow)
5a91b888-0f2e-46fe-9ee0-96c81c6581bf
01/29/2015 17:25:50.98 OWSTIMER.EXE (0x0A78)
0x0B08
SharePoint Foundation Database
880i High
System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean
breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) at
System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket() at System.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(Boolean
encrypt, Boolean trustServerCert, Boolean& marsCapable) at System.Data.SqlCl...
5a91b888-0f2e-46fe-9ee0-96c81c6581bf
01/29/2015 17:25:50.98* OWSTIMER.EXE (0x0A78)
0x0B08
SharePoint Foundation Database
880i High
...ient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) at
System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String
host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString
connectionOptions, String newPassword, Bo...
5a91b888-0f2e-46fe-9ee0-96c81c6581bf
01/29/2015 17:25:50.98* OWSTIMER.EXE (0x0A78)
0x0B08
SharePoint Foundation Database
880i High
...olean redirectedUserInstance) at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean
redirectedUserInstance) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection
owningConnection, DbConnectionPool pool, DbConnectionOptions options) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection
owningObject) at System.... 5a91b888-0f2e-46fe-9ee0-96c81c6581bf
01/29/2015 17:25:50.98* OWSTIMER.EXE (0x0A78)
0x0B08
SharePoint Foundation Database
880i High
...Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.SharePoint.Utilities.SqlSession.OpenConnection()
5a91b888-0f2e-46fe-9ee0-96c81c6581bf
01/29/2015 17:25:50.98 OWSTIMER.EXE (0x0A78)
0x0B08
SharePoint Foundation Database
880k High
at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand
command, CommandBehavior behavior) at Microsoft.SharePoint.Administration.SPDatabase.get_IsReadOnly() at Microsoft.SharePoint.Administration.SPContentDatabaseLockManager.CanProcessContentDatabase(SPContentDatabase contentDatabase)
at Microsoft.SharePoint.Administration.SPWorkItemJobDefinition.Execute(SPJobState jobState) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService,
Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(Time...
5a91b888-0f2e-46fe-9ee0-96c81c6581bf
01/29/2015 17:25:50.98* OWSTIMER.EXE (0x0A78)
0x0B08
SharePoint Foundation Database
880k High
...rJobExecuteData& data, Int32& result)
5a91b888-0f2e-46fe-9ee0-96c81c6581bf
01/29/2015 17:25:50.98 OWSTIMER.EXE (0x0A78)
0x0B08
SharePoint Foundation Database
880j High
SqlError: 'Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.' Source: '.Net SqlClient Data Provider' Number: -2 State: 0 Class: 11 Procedure: '' LineNumber: 0 Server:
'spsql' 5a91b888-0f2e-46fe-9ee0-96c81c6581bf
01/29/2015 17:25:50.98 OWSTIMER.EXE (0x0A78)
0x0B08
SharePoint Foundation Database
3355 Critical
Cannot connect to SQL Server. spsql not found. Additional error information from SQL Server is included below. Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
5a91b888-0f2e-46fe-9ee0-96c81c6581bf
01/29/2015 17:25:50.98 OWSTIMER.EXE (0x0A78)
0x0B08
SharePoint Foundation Database
tzku High
ConnectionString: 'Data Source=spsql;Initial Catalog=WSS_Content;Integrated Security=True;Enlist=False;Asynchronous Processing=False;Connect Timeout=15' ConnectionState: Closed ConnectionTimeout: 15
5a91b888-0f2e-46fe-9ee0-96c81c6581bf
01/29/2015 17:25:50.98 OWSTIMER.EXE (0x0A78)
0x0B08
SharePoint Foundation Database
85t4 High
An error occured while attempting to verify that the database is read only for database WSS_Content. The error contained the following message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not
responding. 5a91b888-0f2e-46fe-9ee0-96c81c6581bf
01/29/2015 17:25:51.00 OWSTIMER.EXE (0x0A78)
0x0B08
SharePoint Foundation Monitoring
b4ly High
Leaving Monitored Scope (Timer Job job-workflow). Execution Time=21043.2150707921
5a91b888-0f2e-46fe-9ee0-96c81c6581bf
Thnaks.
BenWhat is the latency (measured via ping) between the App and SQL Server? SharePoint 2010 RTM hasn't been supported for quite some time. Upgrade to SP2 and see if it resolves the issue.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Hi,
I have a .NET application that uses SSRS ReportViewer 2012 control to render reports deployed on SSRS 2012 integrated with SharePoint 2010. I am getting error "the report execution '' has expired or not found". The same code works when I connect
to SSRS 2008 R2 integrated with SharePoint 2007. I investigated the issue and it seems the JavaScript that pings the SSRS server before it expires is missing from rendered HTML.
Let me know if there is a way to fix this issue.
following is the code:
ASPX:
<formid="form1"runat="server">
<rsweb:ReportViewerAsyncRendering="true"
KeepSessionAlive="true"ID="test"runat="server"></rsweb:ReportViewer>
<asp:scriptmanagerrunat="server"></asp:scriptmanager>
</form>
Code Behind:
if(!IsPostBack)
this.Session.Clear();
test.Reset();
test.ProcessingMode =
ProcessingMode.Remote;
test.KeepSessionAlive =
true;
test.ServerReport.ReportServerUrl =
newSystem.Uri("https://webappname/_vti_bin/reportserver/");
test.ServerReport.ReportPath =
https://webappname/RS_Reports/REportEngineTest.rdl;
ReportServerCredentialscred =
newReportServerCredentials();
test.ServerReport.ReportServerCredentials = cred;
report server credentials:
publicICredentialsNetworkCredentials
get
// Use default identity.
returnnewNetworkCredential("user",
"pwd",
"domain");What's the meaning of webappname, are you mean the sharepoint site?
I think this issue can be caused by the incorrect url. You can refer to the following link:
http://msdn.microsoft.com/en-us/library/ms154497(v=sql.110).aspx
Familyabc
Maybe you are looking for
-
How to disable "Enter Parameter Values" for optional paramters?
I'm having issues getting the Crystal Reports .NET Viewer to suppress the "Enter Parameter Values" dialog for optional parameters. I have templates created using Crystal Reports 2008 and am linking against the CR for VS 2010 runtime. Within the repo
-
Is there a way to avopid my iMac opening all my previously used applications everytime I start up the computer every morning. It's especially annoying if I have clients with me who I dont want to see what I have been previously working on. This appli
-
Get the file directory/location using JFileChooser
Dear, How to get the file directory and it location with using JFilechooser after select the indicate file? Thanks
-
20 seconds from end of song, sometimes a "click"
I am hearing a single "click" which happens apparently at random, about 0% of the time, when I play a song. The click always happens precisely 20 seconds from the end of a song, if it happens at all. It can happen with any song from the MP3s on my ha
-
Kid locked ipod. New CP at home. Unable to sync to itunes. how do i unlock?????