THE REQUEST FILTERING MODULE IS CONFIGURED TO DENY A REQUEST THAT CONTAINS A DOUBLE ESCAPE SEQUENCE.

 

HTTP Error 404.11 - Not Found

The request filtering module is configured to deny a request that contains a double escape sequence.

 

The request contained a double escape sequence and request filtering is configured on the Web server to deny double escape sequences.

 

Details of the issue is available at:

http://support.microsoft.com/kb/942076/

 

Resolution summary: Would suggest to read the complete article but just for quick reference I am typing the resolution here.

 

%windir%\system32\inetsrv\appcmd set config "Default Web Site" -section:system.webServer/security/requestfiltering - allowDoubleEscaping="true"

 

Or change manually by opening the following file

%windir%\System32\inetsrv\config\applicationHost.config file in notepade. (remember to open notepade with administrator privilege.

 

and change following value.

Cấu hình MSSQL chạy port 1433 trong Windows 2008 R2

Sau khi cài đặt thành công ta tiến hành mở port 1433 bằng cách tạo một file .bal có nội dung như bên dưới và chạy nó 

@echo =========  SQL Server Ports  ===================
@echo Enabling SQLServer default instance port 1433
netsh firewall set portopening TCP 1433 "SQLServer" 
@echo Enabling Dedicated Admin Connection port 1434
netsh firewall set portopening TCP 1434 "SQL Admin Connection" 
@echo Enabling conventional SQL Server Service Broker port 4022  
netsh firewall set portopening TCP 4022 "SQL Service Broker" 
@echo Enabling Transact-SQL Debugger/RPC port 135 
netsh firewall set portopening TCP 135 "SQL Debugger/RPC" 
@echo =========  Analysis Services Ports  ==============
@echo Enabling SSAS Default Instance port 2383
netsh firewall set portopening TCP 2383 "Analysis Services" 
@echo Enabling SQL Server Browser Service port 2382
netsh firewall set portopening TCP 2382 "SQL Browser" 
@echo =========  Misc Applications  ==============
@echo Enabling HTTP port 80 
netsh firewall set portopening TCP 80 "HTTP" 
@echo Enabling SSL port 443
netsh firewall set portopening TCP 443 "SSL" 
@echo Enabling port for SQL Server Browser Service's 'Browse' Button
netsh firewall set portopening UDP 1434 "SQL Browser" 
@echo Allowing multicast broadcast response on UDP (Browser Service Enumerations OK)
netsh firewall set multicastbroadcastresponse ENABLE

Bước tiếp theo là add file sqlservr.exe vào tường lửa bằng cách vào Run gõ firewall.cpl 

Nhấn vào Allow programs to communicate through Windows Firewall

Nhấn Allow another program chọn đường dẫn đến thư mục vài Mssql chọn sqlservr.exe tui cài để mặc định nên như vầy 

SQL 2008 C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\sqlservr.exe

SQL 2005 C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe

Vậy là bạn đã có thể chạy sql trên port 1433 rồi đó

 

Cấu hình G6FTP Server trong Windows 2008 R2

Sau khi cài đặt thành công G6FTP Server ta tiến hành mở port 21 bằng cách vào Run CMD

Nhập lệnh sau 

netsh advfirewall firewall add rule name="FTP - In (no SSL)" action=allow protocol=TCP dir=in localport=21

 

Kích hoạt G6FTP Server cho phép chạy trên win 2008

Mở Control Panel -- System and Security -- System/

Nhấn /Advanced system settings/

Chọn /Advanced/ nhấn /Settings/ under /Performance/

Chọn /Data Execution Prevention/ 

Add /G6FTPServer.exe/ 

Bước tiếp theo là add file G6FTPServer.exe vào tường lửa bằng cách vào Run firewall.cpl 

Nhấn vào Allow programs to communicate through Windows Firewall

Nhấn Allow another program chọn đường dẫn đến thư mục vài G6FTP Server chọn G6FTPServer.exe tui cài để mặc định nên như vầy 

C:\Program Files (x86)\Gene6 FTP Server\G6FTPServer.exe

Vậy là đã cấu hình xong rồi đấy ta kiểm tra thành quả nhé