倭黑猩猩无法打开数据库文件

时间:2014-12-29 16:51:17

标签: sqlite bonobo

我正在尝试在Windows 7 / IIS 7 / .Net 4.5上安装Bonobo,但我遇到了SQLite问题。当我在浏览器中加载页面时出现以下错误

 unable to open database file
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.SQLite.SQLiteException: unable to open database file

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:


[SQLiteException (0xe): unable to open database file]
   System.Data.SQLite.SQLite3.Open(String strFilename, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool) +731
   System.Data.SQLite.SQLiteConnection.Open() +445916
   System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +102

[EntityException: The underlying provider failed on Open.]
   System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +11430327
   System.Data.EntityClient.EntityConnection.Open() +142
   System.Data.Objects.ObjectContext.EnsureConnection() +97
   System.Data.Objects.ObjectContext.ExecuteStoreCommand(String commandText, Object[] parameters) +53
   Bonobo.Git.Server.Data.Update.AutomaticUpdater.UpdateDatabase() +444
   Bonobo.Git.Server.MvcApplication.Application_Start() +145

[HttpException (0x80004005): The underlying provider failed on Open.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12962661
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): The underlying provider failed on Open.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12979668
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12819261

我现在安装了SQLite(但是,我认为不重要...... Bonobo带有自己的SQLite dll。我在64位系统上运行。我不知道这是否与此有关兼容性。我已经按照Bonobo网站上的安装说明进入了发球台,但我仍然收到此错误,谷歌没有为我提供任何答案。有人能指出我正确的方向吗?

1 个答案:

答案 0 :(得分:3)

您应该尝试为IIS设置正确的安全选项。

来自http://bonobogitserver.com/install/

enter image description here