Server Error in '/' Application.

Cannot open database "Oasis" requested by the login. The login failed.
Login failed for user 'wc_admin'.

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 "Oasis" requested by the login. The login failed.
Login failed for user 'wc_admin'.

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): Cannot open database "Oasis" requested by the login. The login failed.
Login failed for user 'wc_admin'.]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1341
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +159
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +382
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +307
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +198
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +422
   System.Data.SqlClient.SqlConnection.Open() +199
   PetaPoco.Database.OpenSharedConnection() in D:\a\1\s\JobBoard.Logic\Models\PetaPoco.cs:178
   PetaPoco.<Query>d__44`1.MoveNext() in D:\a\1\s\JobBoard.Logic\Models\PetaPoco.cs:857
   System.Linq.<OfTypeIterator>d__95`1.MoveNext() +141
   System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source) +246
   JobBoard.Web.Caching.CacheHelper.GetCachedValue(String propertyName, TimeSpan slidingExpiration, Func`1 getter) in D:\a\1\s\JobBoard.Web\Caching\CacheHelper.cs:63
   JobBoard.Web.Caching.CacheHelper.GetTheme() in D:\a\1\s\JobBoard.Web\Caching\CacheHelper.cs:26
   JobBoard.Web.Controllers.JobsController.Initialize(RequestContext requestContext) in D:\a\1\s\JobBoard.Web\Controllers\JobsController.cs:78
   System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) +282
   System.Web.Mvc.<>c.<BeginProcessRequest>b__20_0(AsyncCallback asyncCallback, Object asyncState, ProcessRequestState innerState) +99
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +73
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +163
   System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +544
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +1128
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4676.0