Sharepoint Foundation 2010开发环境安装问题

发布于 2024-09-01 13:57:25 字数 1445 浏览 2 评论 0原文

我在安装 Sharepoint (Foundation) 2010 的开发计算机时遇到问题。这是我迄今为止在同一台计算机上所做的操作:

  1. 安装了带有 4GB RAM 的干净 Windows 7 x64,但不属于任何域。只是一个简单的独立机器。
  2. 按照描述启用 IIS 相关功能 这里 除了 IIS6 相关的(其中两个)
  3. 安装了 SQL Server 2008 R2 开发版(启用了数据库引擎和编写器,但未启用 SQL 代理)
  4. 安装了 Visual Studio 2010 Premium
  5. 开始安装 Sharepoint Foundation 2010,首先提取文件,更改配置以启用 Windows 7 安装,然后将其安装为服务器场(然后完成)以避免安装 SQL Express。
  6. 创建了一个具有作为服务登录权限的单独 SPF_CONFIG 本地用户。
  7. 打开 SPF Management Shell 并运行 New-SPConfigurationDatabase,这样我就可以使用非域用户名(我在上一步中创建的 SPF_CONFIG),

但我得到的只是: 未知错误

此错误后的结果是:

  • 数据库 Sharepoint2010Config 已创建
  • 用户 SPF_CONFIG 已添加到 SQL Server 并作为 dbowner 附加到此新创建的数据库

替代文字

  • 检查 SQL Server 安全登录该用户具有以下权限:
    • dbcreator
    • 安全管理员
    • 公开

替代文字

I'm having problems installing development machine for Sharepoint (Foundation) 2010. This is what I did so far on the same machine:

  1. Installed a clean Windows 7 x64 with 4GB of RAM without being part of any domain. Just a simple standalone machine.
  2. Enabled IIS related features as described here except IIS6 related ones (two of them)
  3. Installed SQL Server 2008 R2 Development Edition (DB Engine and Writer being enabled but not SQL Agent)
  4. Installed Visual Studio 2010 Premium
  5. Started installing Sharepoint Foundation 2010 with first extracting files, changing config to enable Windows 7 installation and then installed it as Server Farm (then Complete) to avoid installing SQL Express.
  6. Created a separate SPF_CONFIG local user with Logon on as a service right.
  7. Opened SPF Management Shell and run New-SPConfigurationDatabase so I am able to use a non-domain username (SPF_CONFIG that I created in the previous step)

But all I get is this:
Unknown error

The outcome after this error is:

  • Database Sharepoint2010Config is created
  • User SPF_CONFIG is added to SQL Server and attached to this newly created database as dbowner

alt text

  • Checking SQL server security logins this user has following rights:
    • dbcreator
    • securityadmin
    • public

alt text

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夢归不見 2024-09-08 13:57:33

在尝试了各种方法后自己解决了这个问题

最主要的是我还没有放弃并安装了stadalone安装。
我遵循了两个指南:

分步说明 I接下来(可能对其他人也有帮助):

  1. 然后我已经卸载了 SPF2010
  2. 按照第一个文档中的描述设置所有帐户
  3. 重新安装了 MSDN 资源中描述的所有先决条件和知识库。
  4. 取消配置向导并运行 Sharpoint PowerShell
  5. 已执行
    New-SPConfigurationDatabase -AdministrationContentDatabaseName "SomeDBName"
  6. 命令询问我所有其他丢失的信息
  7. 等待命令完成(几分钟)
  8. 并且它
  9. 终于成功了!
  10. 重新运行 psconfigui 并完成配置
  11. 成功启动 SPF 管理 Web。

拍手拍手

Resolved it myself after trying all kinds of things

The main thing is I haven't given up and installed stadalone installation.
I've followed two guides:

Step by step instructions I followed (may be helpful to someone else as well):

  1. Then I've uninstalled SPF2010
  2. Setup all accounts as described in the first document
  3. Reinstalled all prerequisites and KBs described in MSDN resource.
  4. Cancelled configuration wizard and ran Sharpoint PowerShell
  5. Executed
    New-SPConfigurationDatabase -AdministrationContentDatabaseName "SomeDBName"
  6. Command than asked me about all other missing info
  7. Waited for the command to finish (few minutes)
  8. And it succeeded
  9. FINALLY!
  10. Rerun psconfigui and finished configuration
  11. Successfully launched SPF Admin Web.

clap clap clap

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文