Web App备份和默认数据库连接的问题 [英] Problems with Web App backup and default database connection

查看:86
本文介绍了Web App备份和默认数据库连接的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Azure中有一个带有SQL Server数据库的标准Web应用程序(Web设置中的默认连接指向同一Azure资源组中的标准SQL Server)。


<问题是,当我为这个Web应用程序配置备份时,一切正常,除了它不包括数据库作为备份的一部分!!!


在备份配置中它只是在数据库部分下面显示屏幕:


" 在应用程序中找不到支持的SQL数据库或MySQL类型的连接字符串。"


看起来它在应用程序设置中看不到默认连接字符串!


帮助!


解决方案

根据消息,您的应用中无法找到/找到连接字符串。


< p style ="margin:0px 0px 10.66px"> 要使数据库出现在列表中,其连接字符串必须存在于应用程序的"应用程序设置"
页面的"连接字符串"部分。我建议您仔细检查配置连接字符串值是否正确/可用。


您可以参考文档

连接字符串
,以获取更多详细信息以添加正确的连接字符串和

< span style ="color:#0563c1">应用程序字符串和连接字符串的工作方式
以获取更多详细信息。


------------------------------------------- -----------------------------------------------

如果此答案有用,请单击"标记为答案"或"向上投票"。要提供有关论坛体验的其他反馈,请单击
这里


I've got a standard web app in Azure with a SQL Server database (default connection in web settings pointing to a standard SQL Server within the same Azure resource group).

The issue is when I go to configure a backup for this Web App everything works fine EXCEPT it won't include the database as part of the backup!!!

In the backup configuration screen underneath the database section it just says:

"No supported connection strings of type SQL Database or MySQL found configured in app."

It looks like it can't see the default connection string in the app settings!

Help!

解决方案

As per the message, connection string is not available/found in your app.

For a database to appear in the list, its connection string must exist in the ‘Connection strings’ section of the ‘Application Settings’ page for your app. I suggest you double check the configuration whether connection string value is correct/available or not.

You may refer the documentation Connection strings for more details to add correct connection string and How Application Strings and Connection Strings Work for more details.

------------------------------------------------------------------------------------------
If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click
here.


这篇关于Web App备份和默认数据库连接的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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