.NET 3.5 SharePoint 2007 SP1 x64 A fatal error occurred while creating an SSL server credential. Authentication failed because the remote party has closed the transport stream 

Tags:

The error does not occur on SharePoint Servers 2007 x86 with .NET 3.5. It does not occur on Servers running  .NET 3 on x86 or x64 whether a mixed x86 / x64 environment or not. However, when accessing SharedServices that resides on an x86 or x64 Load Balanced environment with .NET 3.5 you will be unable to access search settings from the x64 servers in the farm, you will still be able to access SSP via the x86 servers. Note: if you install .NET 3.5 after you have installed SharePoint 2007 then you will not have this issue

In a pure x64 environment you will need to use the ServerName:PortNumber as the SSP to mange Search Settings. This is due to after .NET 3.5 is installed and the "Office Server Web Services" website certificate generated is missing the ProvName and has a provType of "Unknown". These values should be  "Microsoft Strong Cryptographic Provider" and PROV_RSA_FULL.


Work Around

selfssl.exe /T /N:CN=ServerName/K:1024 /V:9999 /S:951338967 /P:56738.

SharedServices will need to be ServerName:PortNumber and is not load balanced. In my case I used the Application Server hosting Central Administration with the Windows SharePoint Services Web Application service started.

Some of the errors

Note: The ULS Logs are not in time sequence with the event logs

ULS Logs

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.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, 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)

Could not create a database session. The database connection string is not available.   (0xc0041228)

ConnectionString: 'Server=wahoo;Database=SharedServices_DB;Trusted_Connection=yes;App=Windows SharePoint Services;Timeout=15'    ConnectionState: Closed ConnectionTimeout: 15             

System and Application Event Logs

Event Type:        Error

Event Source:    Schannel

Event Category:                None

Event ID:              36871

Event Type:        Error

Event Source:    Office Server Search

Event Category:                Gatherer

Event ID:              2424

Event Type:        Warning

Event Source:    Office Server Search

Event Category:                Gatherer

Event ID:              2436

Details:

Event Type:        Error

Event Source:    Schannel

Event Category:                None

Event ID:              36871

-Ivan

 
Posted by Ivan Sanders on 10-Feb-09
0 Comments  |  Trackback Url  |  Link to this post | Bookmark this post with:        
 

Links to this post

Comments

Name

Url

Email

Comments

CAPTCHA Image Validation