Server Error in '/' Application.

Cannot open database "blogbokdb" requested by the login. The login failed.
Login failed for user 'blgbokdbuser'.

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

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 "blogbokdb" requested by the login. The login failed.
Login failed for user 'blgbokdbuser'.]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +578
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +88
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6343479
   System.Data.SqlClient.SqlConnection.Open() +258
   BlogEngine.Core.Providers.DbBlogProvider.LoadSettings() in F:\PBC\Code\blog\BlogEngine.NET 1.6 (source)\BlogEngine.Core\Providers\DbBlogProvider.cs:1514
   BlogEngine.Core.BlogSettings.Load() in F:\PBC\Code\blog\BlogEngine.NET 1.6 (source)\BlogEngine.Core\BlogSettings.cs:822
   BlogEngine.Core.BlogSettings.get_Instance() in F:\PBC\Code\blog\BlogEngine.NET 1.6 (source)\BlogEngine.Core\BlogSettings.cs:77
   BlogEngine.Core.Web.HttpModules.ReferrerModule..cctor() in F:\PBC\Code\blog\BlogEngine.NET 1.6 (source)\BlogEngine.Core\Web\HttpModules\ReferrerModule.cs:81

[TypeInitializationException: The type initializer for 'BlogEngine.Core.Web.HttpModules.ReferrerModule' threw an exception.]

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +146
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +298
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +79
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +10723723
   System.Web.Configuration.Common.ModulesEntry.Create() +80
   System.Web.Configuration.HttpModulesSection.CreateModules() +230
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1162
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +312
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +133
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +196


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