Hi
I have some problem with my program
when running
http://localhost/gadgetswarehouse/default.aspx in my browser i'm getting :
Server Error in '/gadgetswarehouse' Application.
--------------------------------------------------------------------------------
SQL Server does not exist or access denied.
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: SQL Server does not exist or access denied.
Source Error:
Line 46: if (catTable == null )
Line 47: {
Line 48: catTable = ProductCatalog.ProductCatalog.GetCategories();
Line 49: Cache["Categories"] = catTable;
Line 50: }
Source File: C:\Inetpub\wwwroot\GWSetup\UserControls\TopCategor yDropDown.ascx.cs Line: 48
Stack Trace:
[SqlException: SQL Server does not exist or access denied.]
System.Data.SqlClient.ConnectionPool.GetConnection (Boolean& isInTransaction) +474
System.Data.SqlClient.SqlConnectionPoolManager.Get PooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
GW.CMPServices.SqlPersistenceContainer.Select(Pers istableObject selectObject) in C:\asp.net e-commerec\gadgetswarehouse\gadgetswarehouse\CMPServ ices\SqlPersistenceContainer.cs:45
[Exception: Persistance (Select) Failed for PersistableObject]
GW.CMPServices.SqlPersistenceContainer.Select(Pers istableObject selectObject) in C:\asp.net e-commerec\gadgetswarehouse\gadgetswarehouse\CMPServ ices\SqlPersistenceContainer.cs:66
GW.Web.ProductCatalog.ProductCatalog.GetChildCateg ories(Int32 categoryId) in C:\asp.net e-commerec\gadgetswarehouse\gadgetswarehouse\Product Catalog\ProductCatalog.cs:37
GW.Web.ProductCatalog.ProductCatalog.GetCategories () in C:\asp.net e-commerec\gadgetswarehouse\gadgetswarehouse\Product Catalog\ProductCatalog.cs:23
GW.Web.UserControls.TopCategoryDropDown.BindData() in C:\Inetpub\wwwroot\GWSetup\UserControls\TopCategor yDropDown.ascx.cs:48
GW.Web.UserControls.TopCategoryDropDown.Page_Load( Object sender, EventArgs e) in C:\Inetpub\wwwroot\GWSetup\UserControls\TopCategor yDropDown.ascx.cs:28
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +733
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
Can somebody help me with this problem
Thanks
Ryszardw