Server Error in '/' Application.

Cannot open database "USSPrivaat" requested by the login. The login failed.
Login failed for user 'USS'.

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: Cannot open database "USSPrivaat" requested by the login. The login failed.
Login failed for user 'USS'.

Source Error:


Line 19:   protected void Page_Load(object sender, EventArgs e) {
Line 20:     if (!this.IsPostBack) {
Line 21:       this.LedenRepeater.DataSource = OrganisationHelper.GetPublicList(this.Language.Id, this.SelectedRegionId, this.OrganisationCategoryId);
Line 22:       this.LedenRepeater.DataBind();
Line 23:     }

Source File: c:\Projects\Synergie4\VerzekeringsFonds\public_html\Members.aspx.cs    Line: 21

Stack Trace:


[SqlException (0x80131904): Cannot open database "USSPrivaat" requested by the login. The login failed.
Login failed for user 'USS'.]
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +258
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2850
   System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +53
   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject, Boolean withFailover) +357
   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +1604
   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +308
   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +354
   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +725
   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +54
   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +668
   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +92
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1725
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +83
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +257
   System.Data.SqlClient.SqlConnection.Open() +1792
   System.Data.Linq.SqlClient.SqlConnectionManager.UseConnection(IConnectionUser user) +65
   System.Data.Linq.SqlClient.SqlProvider.get_IsSqlCe() +33
   System.Data.Linq.SqlClient.SqlProvider.InitializeProviderMode() +32
   System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) +63
   System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() +48
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +475
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +74
   USS.DataLayer.Helpers.OrganisationHelper.GetPublicList(Int32 languageId, Int32 regionId, Int32 categoryId) in c:\PROJECTS\USS\Publieke sites\SocialeSecretariaten\DataLayer\Helpers\OrganisationHelper.cs:34
   Members.Page_Load(Object sender, EventArgs e) in c:\Projects\Synergie4\VerzekeringsFonds\public_html\Members.aspx.cs:21
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +137
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2524


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8974