如何解决有关Sitecore培训网站的登录名/数据库丢失错误? [英] How to solve a login/database missing error regarding Sitecore Training Website?

查看:107
本文介绍了如何解决有关Sitecore培训网站的登录名/数据库丢失错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

访问Sitecore培训网站时出现以下错误.

I get the following error while accessing the Sitecore Training Website.

"/"应用程序中的服务器错误.
无法打开登录请求的数据库"SiteCoreTrainingSitecore_Core".登录失败. 用户'sitecore'登录失败.
说明:在执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪,以获取有关错误及其在代码中起源的详细信息.
异常详细信息::System.Data.SqlClient.SqlException:无法打开登录请求的数据库"SiteCoreTrainingSitecore_Core".登录失败. 用户'sitecore'登录失败.

Server Error in '/' Application.
Cannot open database "SiteCoreTrainingSitecore_Core" requested by the login. The login failed. Login failed for user 'sitecore'.
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.SqlClient.SqlException: Cannot open database "SiteCoreTrainingSitecore_Core" requested by the login. The login failed. Login failed for user 'sitecore'.

我已经安装了Sitecore培训网站,但是在MS SQL Server Management Studio中找不到SiteCoreTrainingSitecore_Core数据库.我还检查了IIS设置和Windows文件夹中的hosts文件,一切看起来都很好.

I have installed the Sitecore Training Website but could not find the SiteCoreTrainingSitecore_Core database in MS SQL Server Management Studio. I have also checked the IIS settings and the hosts file in the Windows folder and everything looks to be fine.

据此了解的是,我的系统上没有SiteCoreTrainingSitecore_Core数据库(简单明了).但是,如果丢失了,如何(从何处)将其输入到SQL Server Management Studio中?

What I understand from this is that I do not have the SiteCoreTrainingSitecore_Core database on my system (simple and straightforward). But if that's missing, how (and from where) to enter it into the SQL Server Management Studio?

推荐答案

您是否已安装任何Sitecore数据库?

Do you have any Sitecore databases installed at all ?

当您运行Sitecore安装程序时,您可能选择了仅客户端"安装程序,该安装程序安装文件系统文件,但不安装数据库.

When you ran the Sitecore installer you may have selected a 'Client Only' install that installs the file-system files but not the databases.

这次您可能需要重新安装并选择完全安装".

You may want to re-install and select 'Full Install' this time.

或者,您可以使用Management Studio附加3个Sitecore数据库(CoreMasterWeb)中的每一个,并更新/App_config/ConnectionStrings.config文件以反映新的详细信息.

Alternatively, you can attach each of the 3 Sitecore databases (Core, Master and Web) using the Management Studio and update the /App_config/ConnectionStrings.config file to reflect the new details.

这篇关于如何解决有关Sitecore培训网站的登录名/数据库丢失错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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