Category: Server 2008 R2


Merhaba,

Server 2008 R2’da gelen aşağıdaki hatanın çözümü için “Net TCP Port Sharing” servisini restart etmek yeterli oldu.Neden başladığı daha detaylı kalıcı çözüm bulunca yazacağım.

An error occurred while dispatching a duplicated socket: this handle is now leaked in the process.

ID: 1096

Source: System.ServiceModel.Activation.TcpWorkerProcess/50468166

Exception: System.ServiceModel.FaultException: The client was unable to process the callback request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from CallbackBehaviorAttribute or from the <clientDebug> configuration behavior) on the client in order to send the exception information back to the server, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the client trace logs.

 

Server stack trace:

at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)

at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)

at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)

at System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)

at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

 

Exception rethrown at [0]:

at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)

at System.ServiceModel.Activation.WorkerProcess.EndDispatchSession(IAsyncResult result)

Process Name: SMSvcHost

Process ID: 3880

 

İyi Günler,

IIS 7.5 FTP Sorunu

Merhaba,

Problem:Server 2008 R2 üzerinde IIS 7.5 da FTP server’a lokal FW açık iken bağlantı kurulamaması.

Yapılanlar:FW’da 21 nolu TCP portuna allow verilmesi.Farklı bir server’dan telnet ile server a erişilebilmesi ama “directory listing” yapılamaması!Durumum Serverda “Connection Chanel” ın çalışması ama TCP 20 “Data Channel” ın çalışmamasına da bağlanabiliyor.

Çözüm:CMD “Run As Admin” ile

sc sidtype ftpsvc unrestricted

komutunun çalıştırılmasından sonra;

net stop ftpsvc & net start ftpsvc

Bu işlemlerden sonra FW devrede iken de FTP bağlantısı sağlanabiliyor.

PCI İşleri

SSLv2.0 (IIS) özelliğini engellemek için registry kayıtları;

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0\Server]

“Enabled”=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server]

“Enabled”=dword:00000000

Zayıf SSL Şifreleme Algoritmalarını engellemek için registry kayıtları

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\DES 56/56]

“Enabled”=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\NULL]

“Enabled”=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 40/128]

“Enabled”=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 56/128]

“Enabled”=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 40/128]

“Enabled”=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 56/128]

“Enabled”=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 64/128]

“Enabled”=dword:0000000

Merhaba,

İlgili serverda WSUS SP2 yükledikten sonra hata ile karşılaşırsak;
“””””HTTP Error 500.19 – Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Module DynamicCompressionModule
Notification SendResponse
Handler StaticFile
Error Code 0x8007007e
Requested URL http://localhost:80/
Physical Path
Logon Method Anonymous
Logon User Anonymous “””””””””””””””””

—-C:\windows\inetsrv\config altındaki ApplicationHost.config dosyasında,
“”””””””””””””””””””””

bölümünü bulmamız gerekiyor.Eğer bu bölüm var ise;

Command Prompt’tan;
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name=’xpress’]

komutunu çalıştırıyoruz.Bu komut WSUS ile yüklenen suscomp.dll disable etmektedir.Eğer bu .dll’i tekrar enable etmek istersek de şu komutu çalıştırabiliriz.

“””””””””””%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+[name=’xpress’,doStaticCompression=’false’,dll=’%windir%\system32\inetsrv\suscomp.dll’]”””””””””””