1 Server Error in '/' Application.
2 --------------------------------------------------------------------------------
3
4 Login failed for user 'RocketStream'. The user is not associated with a trusted SQL Server connection.
5 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.
6
7 Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'RocketStream'. The user is not associated with a trusted SQL Server connection.
8
9 Source Error:
10
11
12 Line 5296: if (((command.Connection.State & System.Data.ConnectionState.Open)
13 Line 5297: != System.Data.ConnectionState.Open)) {
14 Line 5298: command.Connection.Open();
15 Line 5299: }
16 Line 5300: object returnValue;
17
18
19 Source File: c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\1da25280\65df3ee1\App_Code.-zg60z5h.0.cs Line: 5298
20
21 Stack Trace:
22
23
24 [SqlException (0x80131904): Login failed for user 'RocketStream'. The user is not associated with a trusted SQL Server connection.]
25 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +739123
26 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
27 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1956
28 System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +33
29 System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +170
30 System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +349
31 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +181
32 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +170
33 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +359
34 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28
35 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424
36 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
37 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +496
38 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
39 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
40 System.Data.SqlClient.SqlConnection.Open() +111
41 RocketstreamSupportTableAdapters.Customers.CheckUserName(String UserName) in c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\1da25280\65df3ee1\App_Code.-zg60z5h.0.cs:5298
42 _Default.CheckLogin() in C:\Inetpub\wwwroot\site\signup.aspx.vb:24
43 _Default.btnSubmitComp_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\site\signup.aspx.vb:130
44 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
45 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
46 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
47 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
48 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
49 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
50
51
52
53
54 --------------------------------------------------------------------------------
55 Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
That is just one of the areas I get diffrent ones on diffrent pages with diffrent statments. Here I have an SQL Data Source Selecting all items from a Table.
I usually don't get the errors on select statements but It looks like I am now.
If I go to a page where is does a select statment based on users input into a text box it works.
But none of my update statments work, nor insert statements.
I have been playing with some diffrent settings on the server that I am not quite sure what they all are.
I realize this particular error is Login Failed. I have played with some of those settings, what I don't understand is how can it sometimes login and sometimes not? I Originally had it setup as windows authentication, then I tryed the other type and now I am back to windows authentication. I am more used to mysql and php. That is were I got my start in development, and this is way diffrent.
I just need someone to point me on the basics of MSSQL user and database managment, because that is were I think I am mucking it up.