Have you confirmed that the address of the SQL Server in your Connection
String is correct? If so, have you confirmed that the database that you are
connecting to exists? If so, have you confirmed that the user account your
Connection String uses to connect to the SQL Server has the correct
permissions to perform the operation(s) in your code?
Big things are made up of
lots of little things.
"Ethelyn Holmes" <eholmes2cox.net> wrote in message
> I just installed the .NET framework:1.1.4322.573; ASP.NET
> Version:1.1.4322.573 and SDK on Windows XP. I'm going
> through the tutorials and everything went okay until I
> tried to run the Sample Applications. "A Personalized
> Portal" and "An E-Commerce Storefront" results in the
> above error.
> Here's the stack trace from Storefront:
> [SqlException: SQL Server does not exist or access
> Market.InventoryDB.GetProducts(Int32 categoryID) in
> e:\DNA\samples\QuickStart\aspplus\samples\grocerto go\CS\Ma
> _ASP.GrocerToGo_aspx.UpdateProducts() +131
> _ASP.GrocerToGo_aspx.Page_Load(Object sender,
> EventArgs e) +40
> System.Web.UI.Control.OnLoad(EventArgs e) +67
> System.Web.UI.Control.LoadRecursive() +35
> System.Web.UI.Page.ProcessRequestMain() +731
> Thanks in advance for your help.