SharePoint By Yagya Shree

User Profiles: “Error while querying for whether the import is in progress: System.Net.WebException:”

leave a comment »

ISSUE:
=======
Errors in ULS log files under C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS

07/14/2009 15:30:43.93  OWSTIMER.EXE (0x06BC)                    0x0080 SharePoint Portal Server       User Profiles                  0 Medium   User Profile Import: Error while querying for whether the import is in progress: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. —> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.     at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)     at System.Threading.ExecutionContext.Run(ExecutionContext executionCo… 
07/14/2009 15:30:43.93* OWSTIMER.EXE (0x06BC)                    0x0080 SharePoint Portal Server       User Profiles                  0 Medium   …ntext, ContextCallback callback, Object state)     at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)     at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)     at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)     at System.Net.ConnectStream.WriteHeaders(Boolean async)     — End of inner exception stack trace —     at Microsoft.Office.Server.Search.Administration.SearchApi.RunOnServer[T](CodeToRun`1 remoteCode, CodeToRun`1 localCode, Boolean useCurrentSecurityContext, Int32 versionIn)     at Microsoft.Office.Server.Search.Administration.SearchApi..ctor(WellKnownSearchCatalogs catalog, SearchSharedApplication application)     at Microsoft.Office.Server.Search.Administration.SearchSharedApplication.get_SearchApi()     at Mic… 

07/14/2009 15:30:43.93* OWSTIMER.EXE (0x06BC)                    0x0080 SharePoint Portal Server       User Profiles                  0 Medium   …rosoft.Office.Server.UserProfiles.SRPSite.IsImportInProgress(String contentSourceName) 

 

RESOLUTION:
===========
–>Go to “c:\windows\system32\reg.exe” and right click on the file, choose “properties” from the drop down

–>Click on “Security” tab

–>Under “Group or user names” click “Add”

–>Now you will get a new window called “Select Users, computers, or groups” [In server 2003]

–>In this window under “From this location”, click on “Location” and select the local computer name

–>Now under “Enter the object name to select”, add [WSS_WPG] and give “READ” as well as “Read and Execute” privileges on the server and click [OK]

–>Performed IISRESET

–>Follow the same steps on all the servers connected to current farm

–>Issue should not occur any more in your environment

Written by Yagyashree

July 15, 2009 at 5:38 am

Leave a comment