Hello,\n\nI am new to asp .net programming and have been using the book ASP.net\n3.5 for dummies.\n\nI had the shopping cart on chapter 18 working it seems to use a class\nto store cart items using a profile but now I am getting an error. I\nshow the error and the entry in web.config.\nAny ideas what has changed on my system to stop this working. I did\ninstall SQL Server 2008 on my PC but the website code is straight from\nthe book downloaded and not changed.\n\n\nA network-related or instance-specific error occurred while\nestablishing a connection to SQL Server. The server was not found or\nwas not accessible. Verify that the instance name is correct and that\nSQL Server is configured to allow remote connections. (provider: SQL\nNetwork Interfaces, error: 26 - Error Locating Server/Instance\nSpecified)\nDescription: An unhandled exception occurred during the execution of\nthe current web request. Please review the stack trace for more\ninformation about the error and where it originated in the code.\n\nException Details: System.Data.SqlClient.SqlException: A network-\nrelated or instance-specific error occurred while establishing a\nconnection to SQL Server. The server was not found or was not\naccessible. Verify that the instance name is correct and that SQL\nServer is configured to allow remote connections. (provider: SQL\nNetwork Interfaces, error: 26 - Error Locating Server/Instance\nSpecified)\n\nSource Error:\n\n\nLine 22: Public Overridable Property ShoppingCart() As\nShoppingCart\nLine 23: Get\nLine 24: Return\nCType(Me.GetPropertyValue("ShoppingCart"),ShoppingCart)\nLine 25: End Get\nLine 26: Set\n-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\nweb.config entry\n\n<profile enabled="true" defaultProvider="AspNetSqlProfileProvider">\n <properties>\n <add name="ShoppingCart" type="ShoppingCart"\n serializeAs="Xml" allowAnonymous="true"/>\n </properties>\n </profile>\n\n\n <anonymousIdentification enabled="true"\ncookieless="UseCookies"\n cookieName=".ASPXANONYMOUS" cookieTimeout="100000"\n cookiePath="/" cookieRequireSSL="false"\n cookieSlidingExpiration = "true" cookieProtection="None"