注册服务应用程序时数据库已经存在 [英] Database already exists when registering service application

查看:74
本文介绍了注册服务应用程序时数据库已经存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在按照本指南将SP 2010升级到2013,最终升级到2016.

I am following this guide to upgrade SP 2010 to 2013 and ultimately to 2016.

https://technet.microsoft.com/zh-CN/library/jj839719.aspx?f=255&MSPPError=-2147217396

https://technet.microsoft.com/en-us/library/jj839719.aspx?f=255&MSPPError=-2147217396

我将数据库副本从SP2010部署还原到SP2013 SQL Server,然后尝试使用以下命令向这些数据库注册服务应用程序:

I restored copies of the databases from my SP2010 deployment to the SP2013 SQL server and then tried to register service applications with those databases using commands like this:

New-SPBusinessDataCatalogServiceApplication-名称'BDC Service'-ApplicationPool $ applicationPool -DatabaseName'Bdc_Service_DB_8eff390c5b004aa5a7ec8bc74a063fbb'

New-SPBusinessDataCatalogServiceApplication -Name 'BDC Service' -ApplicationPool $applicationPool -DatabaseName 'Bdc_Service_DB_8eff390c5b004aa5a7ec8bc74a063fbb'

然后,Powershell返回错误,告诉我Bdc_Service_DB_8eff390c5b004aa5a7ec8bc74a063fbb已经存在,很显然数据库已经存在,因为说明告诉我要在SQL Server上还原它.

Powershell then returns the error telling me that Bdc_Service_DB_8eff390c5b004aa5a7ec8bc74a063fbb already exists, well obviously the database already exists, because the instructions told me to restore it on the SQL server.

我缺少什么?

推荐答案

在这里,本次讨论中的相同问题和解决方法:

Here you go, same kind of issue and the fix in this discussion:

https://social.technet.microsoft.com/Forums/zh-CN/bd53d058-3678-4d02-b902-c2fcd2e5dab7/sharepoint-在创建搜索服务应用程序过程中已存在数据库名称?forum = sharepointadmin


这篇关于注册服务应用程序时数据库已经存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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