Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > ASP E-commerce
|
ASP E-commerce As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP E-commerce section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 9th, 2003, 04:25 AM
Registered User
 
Join Date: Aug 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beggining ASP.NET e-commerce / ISBN NUMBER 6766230

I am having a problem in regrads to connecting to the sql server in page 91 step 15 after compiling I am getting the following error. I would be grateful if someone can tell me why I am having this problem. I have followed the book sentence by sentence.
The application builds perfctly but when execute ity gives the following error


Harry


Server Error in '/WroxJokeShop' Application.
--------------------------------------------------------------------------------

Login failed for user 'Fury7'. Reason: Not associated with a trusted SQL Server connection.
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: Login failed for user 'Fury7'. Reason: Not associated with a trusted SQL Server connection.

Source Error:


Line 14:
Line 15: ' Open the connection
Line 16: connection.Open()
Line 17:
Line 18: ' Return a SqlDataReader to the calling function


Source File: C:\BigECom\WroxJokeShop\BuisnessObjects\Catalog.vb Line: 16

Stack Trace:


[SqlException: Login failed for user 'Fury7'. Reason: Not associated with a trusted SQL Server connection.]
   System.Data.SqlClient.ConnectionPool.GetConnection (Boolean& isInTransaction)
   System.Data.SqlClient.SqlConnectionPoolManager.Get PooledConnection(SqlConnectionString options, Boolean& isInTransaction)
   System.Data.SqlClient.SqlConnection.Open()
   WroxJokeShop.Catalog.GetDepartments() in C:\BigECom\WroxJokeShop\BuisnessObjects\Catalog.vb :16
   WroxJokeShop.DepartmentsList.Page_Load(Object sender, EventArgs e) in C:\BigECom\WroxJokeShop\UserControls\DepartmentsLi st.ascx.vb:44
   System.Web.UI.Control.OnLoad(EventArgs e)
   System.Web.UI.Control.LoadRecursive()
   System.Web.UI.Control.LoadRecursive()
   System.Web.UI.Control.LoadRecursive()
   System.Web.UI.Page.ProcessRequestMain()




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

 
Old August 9th, 2003, 10:44 PM
Registered User
 
Join Date: Aug 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check out my reply to in this topic. It believe it may prove useful to you.

http://p2p.wrox.com/topic.asp?TOPIC_ID=1702





Similar Threads
Thread Thread Starter Forum Replies Last Post
I need a book ( ASP.Net E-Commerce with VB.Net ) duclelo ASP.NET 1.0 and 1.1 Basics 3 January 16th, 2004 12:12 AM
Beginning ASP.Net Databases Using VB.Net ISBN 6195 tlamazares SQL Server ASP 1 December 15th, 2003 01:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.