Deploying Database To SQL Azure Error - azure

I'm trying to publish a website to Azure, The publish settings were carefully reviewed, the files get published but the database is not, I'm getting this error.
Error 1 Web deployment task failed. (Could not complete an operation
with the specified provider ("dbFullSql") when connecting using the
Web Management Service. This can occur if the server administrator has
not authorized the user for this operation. dbFullSql
http://go.microsoft.com/fwlink/?LinkId=178034 Learn more at:
http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_NOT_AUTHORIZED_FOR_DBFULLSQL.)
Any help would be appreciated!

Related

Confluence Site search with Azure Bot

I am working on a requirement where I have a Bot deployed in Azure and I need to add a feature to perform a search in confluence site based on the word user types. I have written a search request using httpClient in .Net which calls Confluence search API (https://wiki.XXXXX/ctl=siteSearch~(myword)).
I have tested the application in my local and it is working totally fine and I am able to get search results. But I am getting the below exception when deployed to Azure.
The requested name is valid, but no data of the requested type was found
Could you please help me here on why and what might be the issue. Also is there anyway I can add confluence site in Azure portal.
Error message “The requested name is valid, but no data of the requested type was found”, seems to be associated with the Winsock “WSANO_DATA” error code. It means, there is some issue with the DNS record of the server which you are trying to connect.
Reference Thread: SocketException connecting to SFTP server: name is valid, but no data of the requested type was found
Deploying Confluence Data Center to Azure via Azure marketplace
This method uses the Azure Marketplace to deploy Confluence Data Center using our deployment templates as a reference.
To deploy Confluence Data Center to Azure using our Marketplace app:
Log in to Azure Portal.
Choose Create a resource to start a new deployment
Search for Atlassian then select Confluence Data Center from the list of Marketplace apps
Choose Create to start configuring the deployment
Follow the prompts in the wizard to configure your deployment. Refer to the parameters table below for more information.
Confirm all the details are correct then click Create to purchase the subscription.
Deployment will take about 30 minutes.
Once deployment is complete, go to the Confluence URL (APPENDPOINT) listed in the deployment outputs to complete onboarding and start using Confluence.
Reference Link:
https://confluence.atlassian.com/doc/getting-started-with-confluence-data-center-on-azure-937176452.html
https://confluence.atlassian.com/doc/installing-confluence-on-windows-255362047.html

Azure Devops release pipeline unauthorized for some projects

I am trying to release multiple projects in 1 solution using Azure Release pipeline
They are all connected to the same Azure Subscription, but some do deploy to the given app service while others give an unauthorized error.
Ive looked into it and i read that adding website_webdeploy_use_scm to the app service should help the Unauthorized error, but this didnt help for me.
What else could i look at? I connect through Azure Devops so i just selected the subscription from the list it automatically gathers from Azure because im logged in using the same logins as i use for Azure Portal
the full error is:
Connected to the remote computer ("xxxx.azurewebsites.windows.net") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists, and that the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.
Error: The remote server returned an error: (401) Unauthorized.
according to the error I'd suggest you check service principal permissions. it probably lacks the permissions required to manage those webapps.
So after refresh publishing profile in Azure Portal and trying it again it fixed itself so im not sure if that caused it or not but it worked!
another fix is to delete the slot and make it again

SQL Azure DB throws error 'login failed for user' during web app backup

I have a sql azure web app with a connected database. When I try to automate a daily backup of my web app including the database I get the following error:
'login failed for user ******'
The asp.net web app is connecting and getting data from the database without error. This error only happens during the web app backup process.
I have checked the connection string in both the web app PROPERTIES and the DATA CONNECTIONS blades.
The connection strings are the same in both blades and look like:
Server=tcp:****.database.windows.net,1433;Database=****;User ID=****;Password=****;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;
If I open SSMS and use the server, password, and user from my connection string I can connect without any issue.
Also, when I got to the Blade for the database in question and click on the activity log, I get no entries and don't see any connection errors
Can someone help me figure out why my azure web app cannot backup the database during its backup operation
EDIT 1:
The activity log linked to an error log file and this is what it contained
<Error>
<Code>AuthenticationFailed</Code>
<Message>
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:f85ceeef-0001-00de-1a27-6cbdab000000 Time:2017-01-11T16:26:09.4122657Z
</Message>
<AuthenticationErrorDetail>
Signature did not match. String to sign used was rwdl 2017-01-08T16:16:47Z 2290-10-23T15:16:47Z /blob/******/$root 2015-04-05
</AuthenticationErrorDetail>
</Error>
I hate these kind of answers,
but after getting no help from microsoft RANT BEGIN other than googling my question and returning stack exchange answers to me then suggesting I open a support ticket - which of course is a paid feature... RANT END
SOLUTION
My best guess is that there was an issue with the backup configuration because I deleted the existing backup configuration and recreated it with the same values and now it works. Maybe I should have created the Blob container before rather than during the backup setup. I don't know but it is working now.
Did you verify that Azure resources are whitelisted in your Azure SQL Server firewall settings?

Cannot connect to Azure from VS 2013

I am just getting started with Azure and one of the things I want to do is connect from VS 2013 to my Azure account in order to publish my web app. Unfortunately every time I try to connect I get back a long error message which is in HTML format but within a dialog box. The error starts with
An error occurred during the sign in process: The Service Management
operation could not be authenticated
I tried everything but so far there is no way I can connect to Azure. Any ideas of what is going wrong?

How to resolve error while trying to publish 2013 workflow via designer. Probably a workflow manager backend user account issue?

I am getting error while publishing the 2013 workflow via designer. Also, under sharepoint designer if I try to delete any workflow then the page just refreshes and the workflow does not get deleted.
I checked the services.msc and found that the workflow backend service was stopped. (this happened as the password of the user under which this serivce was running had changed).
So, the network admin changed the service user to LOCAL SYSTEM and started the service.
Now, the workflow backend service is started. We have also ran the iisreset.
However, I am still getting the same error:-
System.IO.InvalidDataException: A response was returned that did not come from the Workflow Manager. Status code = 503: Service Unavailable
Service Unavailable
HTTP Error 503. The service is unavailable.
Client ActivityId : ee94689c-4e08-b055-fe9c-268d7a94
Please find attached snapshot.
Is the error as a result of the change in service user? Can you tell me what priviledges should the account running the workflow backend service must have?
UPDATE 1
We have tried to set the account to farm admin and also tried to set it to site admin. Now, for a new web application, I can delete workflows. However, for existing site, I am not able to delete the existing workflows.. Also, I am not able to publish workflows (present under new and previous sites) and the error is same as described earlier.
Open IIS and make sure identify of the WorkflowMgmtPool is correct, you can re-type the identify. Then make this pool is started.
Check and reenter credentials for:-
Open Services.msc, find Service Bus Message Broker service and Windows Fabric Host Service. Make sure they are running. If not, firstly, start Windows Fabric Host Service, then start Service Bus Message Broker service. If Service Bus Message Broker service is started, stop and re-start it.
Reference- this forum link
This error occur because you have not registered the workflow correctly. Re-register the workflow and it will get solved. Also make sure you have activated the App management Service in your site features.
http://designerworkflow.blogspot.in/
Workflow Manager CU2 to get to 1.0 Refresh in Web Platform installer worked first time for me!
http://support.microsoft.com/kb/2902007/en-us
I had this same issue.
I was able to resolve it by going to IIS on my application server, editing the identity on the Workflow Management Application Pool, saving it and restarting it. I also restarted the server.

Resources