Hi Im very new to setting up these type of applications, can anyone please kindly advise me what I did wrong or missing? i set a db in sql 2005 express, some how i just cannot connect to it. Any ideas what i did wrong?
Thanks.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 'BugNet'. The user is not associated with a trusted SQL Server connection.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[SqlException (0x80131904): Login failed for user 'BugNet'. The user is not associated with a trusted SQL Server connection.]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
BugNET.ApplicationBlocks.Data.DataHelper.PrepareCommand(IDbCommand command, IDbConnection connection, IDbTransaction transaction, CommandType commandType, String commandText, IDbDataParameter[] commandParameters) +29
BugNET.ApplicationBlocks.Data.DataHelper.ExecuteReader(IDbConnection connection, IDbTransaction transaction, CommandType commandType, String commandText, IDbDataParameter[] commandParameters, ConnectionOwnership connectionOwnership) +37
BugNET.DataAccessLayer.GenericDataAccessLayer.GetHostSettings() +76
[ApplicationException: An error has occured in accessing the database]
BugNET.DataAccessLayer.GenericDataAccessLayer.GetHostSettings() +329
BugNET.BusinessLogicLayer.HostSettings.GetHostSettings() +133
BugNET.BusinessLogicLayer.HostSettings.GetHostSetting(String key) +7
BugNET.UserInterfaceLayer.BasePage.OnInit(EventArgs e) +22
BugNET._Default.OnInit(EventArgs e) +61
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +692
|
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Server Error in '/' Application.
Login failed for user 'BugNet'. The user is not associated with a trusted SQL Server connection.