azure-sql-database

Azure Error: A network-related or instance-specific error occurred while establishing a connection to SQL Server

落爺英雄遲暮 提交于 2019-12-20 01:47:11
问题 I have SQL server & web app hosted over Microsoft Azure platform. I am constantly getting above error when ever i run web application (and try to connect azure sql server) from my local network, however i never face issue on azure web app service (i.e. After hosting my web app on azure) I know that this error is very familiar. But in this case it seems weird. I have already checked below things, SQL connection is managed properly. (I am using ADO.Net) All gateway IPs are white listed against

Azure Error: A network-related or instance-specific error occurred while establishing a connection to SQL Server

此生再无相见时 提交于 2019-12-20 01:46:56
问题 I have SQL server & web app hosted over Microsoft Azure platform. I am constantly getting above error when ever i run web application (and try to connect azure sql server) from my local network, however i never face issue on azure web app service (i.e. After hosting my web app on azure) I know that this error is very familiar. But in this case it seems weird. I have already checked below things, SQL connection is managed properly. (I am using ADO.Net) All gateway IPs are white listed against

Fluent NHibernate: How to create a clustered index on a Many-to-Many Join Table?

余生颓废 提交于 2019-12-20 01:44:16
问题 In order to use my Fluent NHibernate mappings on SQL Azure, I need to have a clustered index on every table. The default heap tables that Fluent NHibernate creates for many-to-many joins obviously don't do this as they don't have primary keys. I want to be able to tell one side of the relationship to create a clustered index for its join table, but I'm not sure how. Here's what my mappings look like: public class UserMap : ClassMap<User>{ public UserMap() { Table("Users"); Id(x => x.UserId)

Azure changes pricing tiers for databases automatically?

我的未来我决定 提交于 2019-12-19 10:47:13
问题 I created a "Web App + DB" in Azure and deployed my ASP.NET API to it. For the SQL database I selected the "Free plan". Now, after some days of running the API (only a dozen datasets were written and ~30 API calls were made) Azure/Microsoft changed the pricing tier from "Free" to "S0" and for another API from "Free" to "Basic". And now the database produces costs for every day. Why is this happen? And how can I prevent Azure from doing this without asking me? UPDATE: Some screenshots to

Does Azure Analysis Services support service principal signon to SQL Azure

痞子三分冷 提交于 2019-12-19 09:37:45
问题 I have an Azure Analysis Services model reading data out of SQL Azure with this connection string: Data Source=MySQLAzureDB.database.windows.net; Initial Catalog=MyDB;Persist Security Info=true; User ID=MyUser;Password=MyPWD; Encrypt=True;Authentication=Sql Password This uses a SQL User to connect to SQL Azure. This means I need to define user/password in two seperate places: in SQL Azure as well as in this connection string. I would like to use a service principal instead rather than a SQL

How to publish a website with sql local db database to azure using visual studio 2013

流过昼夜 提交于 2019-12-19 09:23:26
问题 I have my website up and running on local server I want to published it to azure. I searched a lot but unable to do so however succeeded in publishing without database.Can any one provide a step by step guide how to published to azure and what tools to download from azure management portal. Thanks. 回答1: Try this http://www.asp.net/mvc/overview/getting-started/database-first-development/publish-to-azure and let us know if you need more help. You will just need Visual Studio 2013. 回答2: You can

Managing connection strings in source controlled application that is continuously deployed to Azure websites

淺唱寂寞╮ 提交于 2019-12-19 07:23:51
问题 Here's the scenario: I have multiple developers on an asp.net mvc 4 project. Each developer has a local database. The source control system is TFS at http://tfs.visualstudio.com. We're using Azure websites to host the site. We have also configured Azure websites for continuous deployment. The source control system could be git, mercurial, TFS, etc. Honestly, I don't think it matters. My question is how to accomplish these three things: Each developer has his/her own connection string(s)

Cannot Access Azure DB Server from Azure Website

北城余情 提交于 2019-12-19 06:45:00
问题 I created an MVC web application using Visual Studio 2013 Web Express. I have enabled firewall rules for my machine within Azure and I can connect and remote debug my website from my local machine. I have user SQL Server Object Explorer to confirm that I am connecting to my Azure DB and that the app is functioning correctly. However, when I deploy the application to Azure I get the following connection error. I have checked to be sure the website has a the Azure DB as a linked resource. I

Using Polybase to load data into an existing table in parallel

断了今生、忘了曾经 提交于 2019-12-19 04:39:40
问题 Using CTAS we can leverage the parallelism that Polybase provides to load data into a new table in a highly scalable and performant way. Is there a way to use a similar approach to load data into an existing table? The table might even be empty. Creating an external table and using INSERT INTO ... SELECT * FROM ... - I would assume that this goes through the head node and is therefore not in parallel? I know that I could also drop the table and use CTAS to recreate it but then I have to deal

Transactional Access of Azure Blob Storage

人盡茶涼 提交于 2019-12-18 20:49:32
问题 I would like to store files in Azure Blob Storage. So far so good. I also would like to store addtional meta-data about the file; for that I use a Azure SQL Database (so I can easily query for files on the blob storage). So when I add a new file to the store I would like to make sure, that the blob as well as the meta-data was successfully written. So using something like a transaction-context comes to my mind. Is there any way, to create such a transaction-context using blob storage as well