SharePoint 2013 - Configuring Workflow Manager - sharepoint-workflow

I am attempting to configure the workflow manager. I have a SQL DB and SP server. In WF Manager Configuration Wizard, when I enter the name of my SQL DB into the SQL server instance field and test the connection, I receive a check mark. However, if I check the "Enable SSL connection with SQL Server instance", and test the connection message, I receive an error message "Failure in connecting to SQL Server".
What could cause the test connection to fail when I enable SSL connection? As long as I do not enable SSL, the test connection pass.
I have a very simple environment. Nothing complex. 1 - SQL Server and 1 SP server with SP Standard 2013 installed.
Please help.

Make sure that your SQL Server has the login for the account under which you are running Workflow Manager Configuration Wizard.
Step 1
Go into SQL Management Studio and add a new login for the account running Workflow Manager Configuration.
Step 2
Enter your connection string in the Workflow Manager Configuration and test it to see if it works.
This might look simple in retrospective, but took me a day to figure out. I wish the error message was more elaborate than a useless "Failure in connecting to SQL Server".

I got the same issue and it works when I put the full name of the SQL

Related

Visual Studio - Azure SQL Connection Error

I am able to add an ADO.NET connection to Azure SQL and test the connection successfully. However, when I try to execute a task (Execute SQL Task error in this example), I get the following error:
[Execute SQL Task] Error: Failed to acquire connection "". Connection may not be configured correctly or you may not have the right permissions on this connection.
My firewall settings are all good on the Azure portal so I don't think it's that.
Before we moved to MFA, I was using Integrated Authentication and had no issues. I am wondering how/why I can connect via connection managers but not via tasks? Are there other tasks I should be using instead? If so, why would the tasks work for Integrated Authentication and not MFA?
Any help would be greatly appreciated.

Local Db failure on initialization of template

I'm trying to setup a startup template to play around with boilerplate and see what it could potentially offer and I'm running into issues setting up my local database.
I've tried the core startup template download as well as MVC 5 and they've both given me the same issue so far. I'll open up the solution in VS 2017, clean the solution, rebuild, enter Package Manager Console and execute Update-Database on the EntityFramework project and I get this error on both projects,
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:2,State:0,Class:20
A network-related or instance-specific error occurred while establishing
a connection to SQL Server. The server was not found or was not accessible.
Verify that the instance name is correct and that SQL Server is configured
to allow remote connections. (provider: Named Pipes Provider, error: 40 -
Could not open a connection to SQL Server)
I'm having a hard time understanding what this might be indicating. I'm pretty sure I've been able to use my local db in other projects recently.
You need to set up an empty database and provide a valid connection string in appsettings.json.
You can use Microsoft's SQL Server.

Can't connect to TFS 2010 Analysis Services

I'm trying to setup reporting in TFS 2010.
I can't connect to the Analysis Services database and I also can't rebuild the Analysis services database.
I've tried to connect via TFS Admin console and SSMS and I'm getting this error in SSMS
Connect to Server
Cannot connect to xxx.com,1031.
ADDITIONAL INFORMATION:
A connection cannot be made. Ensure that the server is running. (Microsoft.AnalysisServices.AdomdClient)
The requested name is valid, but no data of the requested type was found (System)
and this error in TFS Admin
The SQL Server instance that you specified was not found or cannot be reached. Specify another server or instance.
The sql server analysis services service is running.
I used the following article to identify the correct port for SSAS service and I still cannot connect.
http://support.microsoft.com/kb/2466860
Any ideas would be appreciated.
It was the port number.
I fixed it by using the above link to identify the port number then connecting using TFS Admin tool.

SQL Server 2008 R2 Installation Error "Trust Relationship Failed"?

When I install SQL Server 2008 R2, the Database Engine Services feature don't install due to the error "The Trust Relationship between the primary domain and the trusted domain failed."
For context, I'm trying to get into ASP.NET MVC3 and when I try to add/browse a database in Visual Studio 2010, I get errors saying that it can't connect to the SQL Express database, Error 40. When I run the SQL Server Configuration Manager, and select the SQL Server Services, I get "The remote procedure call failed [0x800706be]"
I did some research, regarding this error 40; I've tried, to run Server Configuration Manager as a Administrator, change the TCP/IP settings in Client Protocols to Enabled, and it still didn't work. I uninstalled SQL Server 2008 R2 and reinstalled it and found that the Database Engine Services and SQL Server Replication failed to install, with the error message "The Trust Relationship between the primary domain and the trusted domain failed."
Any ideas?
Delete EVERYTHING.
This is dedicated to anyone who thought like me and thought you could get rid of one or two things, and reinstall. Anything with SQL Server, delete it. Make that Add/Remove Programs as clean as possible before reinstalling the server.
Also, be sure to have administrative rights/run as Admin turned on. Otherwise you may have a SQLEXPRESS server running, but you can't access it (or because of my work computer) delete it due to a user rights issue that goes beyond the scope of Stack Overflow. :)
In that case, you should be able to install a new instance (I.E. SQLEXPRESS1). Just be sure to check your data connection strings. :)

Unable to start SQL server Agents

been trying to configure an ADO.NET connection for my Visual Studio application but I am running into issues and having no luck at all troubleshooting them. The major error that I run into is:
A network-related or instance-specific error occurred while establishing a connection to SQL server. The server was not found or not accessible. Verify the instance name is correct and that SQL server is configured to allow remote connections (Error 40: Could not open connection to the SQL server)
The steps I undertook to troubleshoot this are:
1. Open up Sql server configuration manager and under the SQL Server Network Configuration, Protocols for MSSQLSERVER,SQLExpress, SQL server 2008 connection string data source I enable each of the protocol names (Shared memory, Named pipes,TCP/IP,VIA)
As instructed I stop the SQL server services first under the SQL server services nodes.
Now I click start, MSSQL server service starts but both SQL Server 2008 and SQLEXPRESS agents do not. Stating the following:
The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details
This might just be the problem as when I attempt to create the connection string , the server name specified is MYWORLD/SQL SERVER 2008. Since the SQL server 2008 agent service refuses to start, the connection fails, leading to the first error message.
Does anybody have any leads on this and can let me know the necessary steps to mitigate this.
The SQL Browser service must be running to connect to a named instance.
Use SQL Servr Configuration Manager under Configuration Tools under Microsot SQL Server 2008 to assign the logon accounts for each service you want to run. Do NOT use any other method to assign user accounts because the correct rights will not be enabled.

Resources