How to fix Azure Data Studio session keeps disconnecting? - azure-synapse

In Azure Data Studio, I have a connection to Synapse Data Warehouse. Recently, I moved to a new Data Warehouse instance but while working in this new instance, I keep getting disconnected issue.
Everything is fine if I open Azure Data Studio and connect to the new database then I can query the Data Warehouse. After a few minutes, The disconnected issue occurs. Reconnect from the same session does not help. I have to close the application, reopen and query again.
Does anyone have the same issue ? How can I fix this ?
Kind regards,

This is a known old issue and unfortunately there is no fix available yet. Similar kind of request to have a default connection for files/folder has already been raised in GitHub here.
My suggestion is to keep using SSMS as it works perfectly fine until the fix is available.

Related

Facing issue with ODataSource Connection Manager in SSIS for pulling the data from Sharepoint site

We are trying to pull data from Sharepoint site using SSIS ODataSource Connection Manager. But, we are facing issue with the ODataSource which is failing when we are trying to test the connection. It is giving below error message, even though the password we are giving is correct. We are using Microsoft Online Services as Authentication Type.
TITLE: OData Connection Manager Editor
Test connection failed
The sign-in name or password does not match one in the Microsoft
account system.
(Microsoft.SqlServer.IntegrationServices.ODataConnectionManager)
We are using SSDT Version 2017. Here is the screenshot for your reference.
Can you please let us know, what would be the issue and how to fix this.
Thanks in Advance!!

Microsoft Azure EventServiceException

Image From Azure
While in the Microsoft Azure SQL Database Activity log page, I came upon this error / warning.
"{\"Code\":\"InternalServerError\",\"Message\":\"Exception of type 'Microsoft.Azure.Event.Common.EventServiceException' was thrown.\"}"
Any idea what this means?
I am getting it when upload a .pfx file in azure domain services
I am not sure what resolved the problem, but the error message simply disappeared after a few days. I am not really sure what happened, but I am assuming it is temporary.
Since it says "EventServiceException" I am assuming it could be some sort of maintenance on the server.

Problems deploying SSAS project to server

I'm using Visual Studios 2012 and SQL Server 2014. Here's my problem. If I deploy my SSAS solution to 'localhost' everything runs smoothly. When I try to deploy it one of our other servers I receive these errors. I’ve tried changing the accounts in ‘Impersonation Information’, but still get the same errors. I've also made sure I have all admin rights. It’s going on two days and I still cannot find the fix. Errors: enter image description here
"Class not registered" error indicates your data source (SQL) connection string is using a driver not installed. For example if your connection string uses a SQL2008 driver accidentally (with a Provider=SQLNCLI10.1 connection string) it will give this error when you try to process on the server.
Three options to fix it:
Fix the connection string in Visual Studio to use the version of driver that's on the server before you deploy.
Install the version of SQL Server Native Client you use on the server
Deploy without processing the cube, RDP to the server and open SSMS and connect to SSAS and fix the connection string then process.
Thank you for the help.
I had to create the SSAS project in BIDS 2008. Also, I had to delete the dimension created when the cube was created. I then created a new dimension using multiple columns as my unique key. Then, attached new dimension to the cube.

Connecting to azure through SQL crashes it

I've been attempting to migrate from my own MSSQL to Azure Database services.
I got all the firewall things working and the database running on the azure, but when I try to connect through the local pc it crashed with an unknown exception.
So does visual studio.
Any ideas what could cause this unknown error?
Heres a picture demonstrating the crash and its not a user/password error. Just not.
Maybe it's better if you try to provide the Exception/Error code. You can use:
http://msdn.microsoft.com/en-us/library/ff394106.aspx
I had similar problems and in the end it turns to be the connection I've used - so one option is to restart your LAN/Network.
Update: According to me is config related error, please see these solutions here:
http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/runtime-error-p6025-pure-virtual-function-call-on/89e10d2f-b949-e011-8dfc-68b599b31bf5
https://superuser.com/questions/628314/runtime-error-r6025-unable-to-see-location-of-program-causing-the-error
About SSL certificate and Browser you're using:
https://bugzilla.mozilla.org/show_bug.cgi?id=133476
http://www.symantec.com/connect/forums/r6025-pure-virtual-function-call-runtime-error
Maybe you've missed something, also what Win are you with?

Azure SQL database working when ran locally but not when published to Azure

This has been cracking me up for a few days now and I just can't solve it.
I followed an online tutorial showing you how to connect and use an Azure database using the model first approach within Entity Framework. With this you had to set up database migrations as to update the Azure database when publishing the website to Azure.
I had already created a database on Azure so I thought I would take the approach of using a database first model (also it didn't require migrations to be setup) and used the Entity Framework wizard to create my model. Everything worked perfectly and when I run my MVC website locally it connects to my Azure database and shows the data, etc. However, when I publish the website to the Azure website, for some reason, when I click on tab that uses the controller that gets data from the database, I get an error:
Sorry, an error occurred while processing your request.
I have checked my connection strings and they all seem OK and as I said, when I run it locally I can get the data from the Azure database. For some reason, though, I can't get the data once its published.
Any ideas?
Thankyou everyone for your help.
I didn't even think of turning on the copy local however when I checked it it was set to true. So no answer there :(
Next I added the customerrors mode to off to try and get a more detailed description. The error I got was huge and really didn't make much sense so i did the usual thing and googled the error and I found this
Can anyone spot why I keep getting this error testing the EF 5 beta
As soon as I read it i knew this would fix it. I originally setup the project as a .net 4.5 project until I realized that azure websites didn't work with 4.5 yet so I changed it to .net 4 once I uninstalled EF and reinstalled it everything work.
Thanks for all your help. This has been stopping me doing anything for a few days :P