Skip to main content
 
Go Search
Home
Categories
Bloggers
SP2010: Fixing User Profile Application Service Connection Error
By: Travis Nielsen | Posted: November 8, 2009 at 4:17 PM

This probably won’t impact folks too much when the public beta of SP 2010 hits, but I thought I’d put this up in-case others out there in the community are having this issue.  After a new build of my virtual machine with a pre-release version of SP2010, I saw the User Profile Application Service was failing with the following error: “User Profile Application’s connection is currently not available. The Application Pool or User Profile Service may not have been started. Please contact your administrator”.

clip_image001

So I did what the error said.  I validated the App Pool was up and running.  No issues there.  I switched up the affiliated Managed Service account.  No effect.  I even deleted and completely re-created the User Profile service.  No dice.

After looking at the Trace log, I saw errors related to the attribute “allowInsecureTransport”.  The specified was client.config, which is found in: c:\program files\common files\microsoft shared\web server extensions\14\webclients\profile.

Lo and behold, the attribute is specified twice.

clip_image002

I did some (very) brief research on this and it appears to be a new .NET 4.0 feature to allow credentials to be passed without SSL.  Something like that.  I would think in most environments you would not want this and since this is a single server development VM, I just commented out both references.  After an IISRESET, the User Profile service kicked in and started importing data.  There was much jubilation.


  Comments   Add Comment   Share It  
  Your Name:
  Your Email: **will not be displayed
  Comment Title:
* Comments:
  If you cannot read the code, please
click here to get a new one. You won't
lose your comments by doing so.
* Security Code:
   
  
  
* Your Name:
* Your Email: **will not be displayed
* Recipient's Email:
* Subject:
  If you cannot read the code, please
click here to get a new one. You won't
lose your comments by doing so.
* Security Code:
  
  
  
What must it look like after the client.config file?
By: Karl | Posted: February 18, 2010 at 3:16 AM
I have the same 'This User Profile Application's connection is currently not available. The Application Pool or User Profile Service may not have been started. Please contact your administrator.' problem. I found your solution but what do I have to comment out? The first paragraph <binding name="ProfileServiceTcpBinding" receiveTimeout="00:00:20" sendTimeout="00:00:20" openTimeout="00:00:20" closeTimeout="00:00:20"> <security authenticationMode="IssuedTokenOverTransport" allowInsecureTransport="true" /> <sslStreamSecurity /> <binaryMessageEncoding> <readerQuotas maxStringContentLength="1048576" maxArrayLength="2097152" /> </binaryMessageEncoding> <tcpTransport transferMode="Buffered" hostNameComparisonMode="StrongWildcard" maxReceivedMessageSize="10485760" /> </binding> or the second? <binding name="ProfileDBCacheServiceTcpBinding" receiveTimeout="00:00:20" sendTimeout="00:00:20" openTimeout="00:00:20" closeTimeout="00:00:20"> <security authenticationMode="IssuedTokenOverTransport" allowInsecureTransport="true" /> <sslStreamSecurity /> <binaryMessageEncoding> <readerQuotas maxStringContentLength="1048576" maxArrayLength="2147483647"/> </binaryMessageEncoding> <tcpTransport transferMode="StreamedResponse" hostNameComparisonMode="StrongWildcard" maxBufferSize="2097152" maxReceivedMessageSize="2147483647" /> </binding> Can you just send the right client.config file? Can I comment out with " or ' or # ...? Thanks
Hotfix for W2K8
By: Travis | Posted: November 19, 2009 at 11:26 AM
I'd recommend folks look here for trying to fix this issue. A hotfix is out for W2K8. I do all my work in W2K8 R2 and will just have to wait for the fix when I create my new SP2010 dev VM: http://blogs.msdn.com/opal/archive/2009/11/16/installation-notice-for-sharepoint-2010-public-beta.aspx
Other possible solution
By: Lionel | Posted: November 18, 2009 at 1:08 AM
In my configuration, I ran the configuration wizard automaticly and did not do it step by step. Furthermore I'm using 1 service account for all the services. I was getting this exact same error. My solution was to go to Application Management, Configure service application associations->Select the webapp, choose Custom(instead of default) in the Edit the following group of connections. Select all the services you need, make sure you select the user profile service application. Voila problem fixed(for me)
By: Adam | Posted: November 17, 2009 at 6:04 AM
Hi Travis. Ive gone through my logs and commented out all the insecure transport definitions and recreated the profile service, yet I still get the good looking red text :)! Any idea?
Not working
By: Travis | Posted: November 16, 2009 at 9:29 AM
No. I didn't do anyting with SSL. Try deleting the current User Proflie service application and the associated proxy and re-creating them. Make sure "allowInsecureTransport" is commented out after you do this. And be sure to look at the trace log for details.
SSL connection
By: Joe | Posted: November 14, 2009 at 12:58 AM
this didn't work for me. did you have to create an SSL certificate for localhost to make this working?
 

 About Travis Nielsen

ArchitectTravis Nielsen is an architect and founding member of PointBridge. He has over 12 years of experience in the IT industry designing and implementing solutions for the Windows Server platform throughout... [more]

 Tag Cloud

 External Links

 ‭(Hidden)‬ Admin Links