View Single Post
  #1 (permalink)  
Old February 26th, 2004, 01:57 PM
AcidHell2 AcidHell2 is offline
Authorized User
 
Join Date: Oct 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sql server connection failed

ok ive been having problems first it said it wasnt a trusted conection so looking through here i found u had 2 download enterprise manager and now i get this error

Login failed for user 'sa'.
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 'sa'.

Source Error:


Line 10:
Line 11: 'Opens conection
Line 12: connection.Open()
Line 13:
Line 14: 'returns sqldatareader to the calling function


Source File: c:\inetpub\wwwroot\SpeedyFreaks\BusinessObjects\Ca talog.vb Line: 12

Stack Trace:


[SqlException: Login failed for user 'sa'.]
   System.Data.SqlClient.ConnectionPool.GetConnection (Boolean& isInTransaction)
   System.Data.SqlClient.SqlConnectionPoolManager.Get PooledConnection(SqlConnectionString options, Boolean& isInTransaction)
   System.Data.SqlClient.SqlConnection.Open()
   SpeedyFreaks.Catalog.GetDepartments() in c:\inetpub\wwwroot\SpeedyFreaks\BusinessObjects\Ca talog.vb:12
   SpeedyFreaks.DepartmentList.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\SpeedyFreaks\UserControls\Depar tmentList.ascx.vb:45
   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()


any help would be much appreciated (its in vb)

thx very much
neil