将 TFS2010 移至域
我试图将我的 TFS2010 服务器移至域,但不断收到 TF246017
数据库错误。我按照以下说明进行操作:http://msdn .microsoft.com/en-us/library/ms404883%28v=VS.100%29.aspx
我关闭了服务,我没有Sharepoint和下一点是移动用户和服务帐户。
我做了(使用管理员帐户):
cd "C:\Program Files\Microsoft Team Foundation Server 2010\Tools"
TFSConfig identities /change /fromdomain:OLS-APPServer /todomain:NewDomain / account:"NT Authority\Local Service" /toaccount:"NT Authority\Local Service"
这就是我得到的:
“TF246017:Team Foundation Server 无法连接到数据库。 验证托管数据库的服务器是否可以运行, 并且网络问题不会阻碍与 服务器。”
SQL 服务器是本地的,我可以通过 SSMS 连接到它。我错过了什么?
I am trying to move my TFS2010 server to a domain and keep getting TF246017
database error. I followed the instructions on:http://msdn.microsoft.com/en-us/library/ms404883%28v=VS.100%29.aspx
I shut down the service, I have no Sharepoint and the next point was to move user and service accounts.
I did(with an admin account):
cd "C:\Program Files\Microsoft Team Foundation Server 2010\Tools"
TFSConfig identities /change /fromdomain:OLS-APPServer /todomain:NewDomain /account:"NT Authority\Local Service" /toaccount:"NT Authority\Local Service"
and that is where I got a :
"TF246017: Team Foundation Server could not connect to the database.
Verify that the server that is hosting the database is operational,
and that network problems are not blocking communication with the
server."
The SQL server is local and I can connect to it via SSMS. What am I missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请注意,有一个 /sqlInstance & /数据库名称参数。这可能有助于命令找到您的数据库。将其指向 sql 实例(machineName、machineName\InstanceName 等...)和 db (Tfs_Configuration)
另外,本地服务不适合域 TFS。您是否尝试过将帐户更改为网络服务或域帐户?
尝试:
tfsconfig 帮助帐户
看看更改选项。您还可以在那里指定 sqlInstance 和 databaseName 选项。
Notice that there's a /sqlInstance & /databaseName parameter. That may help the command find your db. Point it to the sql instance (machineName, machineName\InstanceName etc...) and db (Tfs_Configuration)
Also, Local Service is not appropriate for a domain TFS. Have you tried to change the account to Network Service or a domain account?
Try:
tfsconfig help accounts
Look at the change option. You can also specify the sqlInstance and databaseName options there as well.