对象名称无效 dbo.Quizs
Invalid object name dbo.Quizs
一切正常,当我在 Azure 上发布我的 Visual studio 2013 项目时,它开始给我这个错误:Invalid object name dbo.Quizs
。 Link to published site. What i am missing here ? I am new at azure deployment that is why need well explained and easy solution. Read this LINK stack overflow post 但是不太明白怎么办?
问候。
请 post 您的连接字符串,您缺少数据库 = 或初始目录 = 。还要确保您已成功移动数据库及其对象。
我最近 运行 遇到了同样的问题。我的问题是我将我的 Azure 数据库与我的 Azure 网站分开设置(对于 Web API)。结果,虽然我的 web.config 中有正确的连接字符串,但当我转到该网站的 Azure 管理门户配置部分时,唯一存在的连接字符串是 "default connection"。我在管理门户中添加了更正连接字符串,并在管理门户中将正确的数据库添加为 "Linked Resource"。这可能会解决您的问题。
一切正常,当我在 Azure 上发布我的 Visual studio 2013 项目时,它开始给我这个错误:Invalid object name dbo.Quizs
。 Link to published site. What i am missing here ? I am new at azure deployment that is why need well explained and easy solution. Read this LINK stack overflow post 但是不太明白怎么办?
问候。
请 post 您的连接字符串,您缺少数据库 = 或初始目录 = 。还要确保您已成功移动数据库及其对象。
我最近 运行 遇到了同样的问题。我的问题是我将我的 Azure 数据库与我的 Azure 网站分开设置(对于 Web API)。结果,虽然我的 web.config 中有正确的连接字符串,但当我转到该网站的 Azure 管理门户配置部分时,唯一存在的连接字符串是 "default connection"。我在管理门户中添加了更正连接字符串,并在管理门户中将正确的数据库添加为 "Linked Resource"。这可能会解决您的问题。