Server Error in '/' Application.

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: TCP Provider, error: 0 - An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: 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: TCP Provider, error: 0 - An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.)

Source Error:


Line 78:     public void fillpackage()
Line 79:     {
Line 80:         TourDdlPackages.DataSource = objpackage.SelectPackage(9, 0,"");
Line 81:         TourDdlPackages.DataTextField = "PackageCategoryName";
Line 82:         TourDdlPackages.DataValueField = "PackageCategoryid";

Source File: d:\Websites\intersite\intersighttours.com\Controls\bookingform.ascx.cs    Line: 80

Stack Trace:


[SqlException (0x80131904): 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: TCP Provider, error: 0 - An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.)]
   ClassLibrary.BL.BL_Package.SelectPackage(Int32 flag, Int32 packageid, String key) +125
   Controls_bookingform.fillpackage() in d:\Websites\intersite\intersighttours.com\Controls\bookingform.ascx.cs:80
   Controls_bookingform.Page_Load(Object sender, EventArgs e) in d:\Websites\intersite\intersighttours.com\Controls\bookingform.ascx.cs:27
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210