Today received user feedback, application system anomalies, can not be used, so with profiler tracking a statement, found that the execution of the stored procedure called the linked server, do a number of cross-server operation data action, just this link server error, error is as follows:
The strange thing is that the linked server itself can be connected normally, as shown in:
The main checks are as follows:
1.RPC service is turned on.
Result: it is already open
2. Test whether the SQL statement can be executed individually.
Result: Individual SQL can execute and submit data across servers
3. Restart the SQL service
The result: Error still, failed to solve the problem.
4. Firewall blocking
Result: The firewall added the corresponding rules, the problem is still.
Finally, the component service is checked, and this is the configuration that caused the exception to open the Component Services--computer--My Computer--distributed Transaction coordinator--Local dtc--Right-click Properties--Security page
Check "Allow remote client", "Allow Remote Management", "Allow inbound", "Allow Outbound", "No Authentication required", Save!!!
SQL Troubleshooter "3" linked server Prompt "could not start distributed things"