带有ASP.NET MVC的Eloquera.错误 [英] Eloquera with ASP.NET MVC. Error

查看:85
本文介绍了带有ASP.NET MVC的Eloquera.错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对使用对象数据库感到好奇,因此以为我会给Eloquera一个机会.

I am curious about using an object db so thought i'd give Eloquera a go.

不幸的是,我无法运行它. (以桌面模式"运行)

I am having problems getting it running unfortunately. (running in "desktop mode")

我已按照指示完成了这些步骤:

I have done these steps as directed:

1)将以下程序集和配置文件从%ProgramFiles%\ Eloquera文件夹复制到项目文件夹中: Eloquera.config Eloquera.Client.dll Eloquera.Common.dll Eloquera.Server.exe

1) Copy the following assemblies and a configuration file from the %ProgramFiles%\Eloquera folder into a project folder: Eloquera.config Eloquera.Client.dll Eloquera.Common.dll Eloquera.Server.exe

为方便起见,您可以将参考文件复制到单独的文件夹中.

You can copy the reference files into a separate folder for your convenience.

2)卸载Eloquera数据库(听起来很糟糕,但是我们已经复制了我们需要的所有文件)-(我从未安装过)

2) Uninstall the Eloquera DB (sounds awful, but we have copies all files we will need) - (I never installed it)

3)通过添加现有项目…"将Eloquera.config添加到项目中,并将其复制到输出目录"属性设置为始终复制". 完成

3) Add Eloquera.config into your project via "Add an existing item…", and set its "Copy to Output Directory" property to "Copy Always". Done

4)将项目引用添加到以下文件: Eloquera.Client.dll
Eloquera.Server.exe

4) Add the project references to these files: Eloquera.Client.dll yep
Eloquera.Server.exe yep

5)重建项目,并检查Debug \和/或Release \文件夹是否包含以下文件以及您的应用程序: Eloquera.config Eloquera.Client.dll Eloquera.Common.dll Eloquera.Server.exe
可以

5) Rebuild your project and check that Debug\ and/or Release\ folders contain the following files along with your application: Eloquera.config Eloquera.Client.dll Eloquera.Common.dll Eloquera.Server.exe
It does

6)您可以通过设置DatabasePath值来更改Eloquera.config文件中数据库文件的物理路径:

6) You may change a physical path to the database files in the Eloquera.config file by setting DatabasePath value:

DatabasePath ="c:\ dev \ db" 我也这样做了

DatabasePath="c:\dev\db" I did this also

我得到的错误是:

The connection to the server (local) on the port 43962 cannot be established.

The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

很奇怪,将ServerPort更改为配置中的其他内容不会更改此错误.

Weirdly, changing ServerPort to something else in the config does not change this error.

有什么想法吗?

推荐答案

我认为不支持此模式.

您注定要使用客户端/服务器模式,这是一个可耻的原因,因为我希望可以使用此桌面方法将其部署到共享主机中.

You are meant to use Client / Server mode, which is a shame cause i was hoping i could use this desktop method to deploy into a shared host.

没有骰子.

这篇关于带有ASP.NET MVC的Eloquera.错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆