An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)select * from tbl_Ch2_SiteSections where Sec_id=@Sec_idAn error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)Select * from Tbl_Ch2_Banners where status=1 and B_Category=2 and F_D=2 order by b_Id descAn error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)Select Top 1 * from Tbl_Ch2_logo order by newid()An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)select * from Tbl_Ch2_News where status=1 and is_ticker=1 and DATEDIFF(dd,N_Date,getdate())=0 and N_ar_title <> '' order by N_date desc,N_id descAn error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)select Top 3 * from tbl_Ch2_UsefulLinks where status=@status and L_type=@L_type order by L_ar_nameAn error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)select Top 3 * from tbl_Ch2_UsefulLinks where status=@status and L_type=@L_type order by L_ar_nameAn error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)Select * from Tbl_Ch2_Banners where status=1 and B_Category=1 and F_D=2 order by b_Id desc