


Solution to solve the problem that OLEDB distributed transaction cannot be started in Windows 2003 Sql2000_PHP tutorial
When developing distributed database software, I often encounter the following error:
Server: Msg 7391, Level 16, State 1, Line 6
The operation could not be performed because the OLE DB provider 'SQLOLEDB' could not be started. Divide
distributed transactions.
[OLE/DB provider returned message: Unable to
obtain a new transaction in the specified transaction processor. ]
----------------------------------------
Server: Msg 8520, Level 20, State 1, Line 8
Commit of internal MSDTC transaction failed: Result Code = 0x8004d019.
Connection interrupted
----------------------------------------
After searching for solutions to similar problems on the Internet, the following method is recommended (Method 1):
1. Run regedt32 and browse to HKEY_LOCAL_MACHINE oftwareMicrosoftMSDTC.
Add a DWORD value TurnOffRpcSecurity with value data 1.
2. Restart the MS DTC service.
3. Open "Component Services" of "Management Tools".
a. Browse to "Startup Manager".
b. Select "Component Services".
c. Expand the "Component Services" tree, and then expand "My Computer".
d. Right-click "My Computer" and select "Properties".
In the MSDTC tab, make sure the following options are selected:
Network DTC Access Network Management Network Transaction XA Transaction
In addition, the "DTC Login Account" must be set to "NT Authority Network Service". 4. Restart the MS DTC service.
5. Run regedt32 again, browse to HKEY_LOCAL_MACHINE oftwareMicrosoftMSDTC, and then delete the TurnOffRpcSecurity item.
But in fact, this method basically cannot solve the problem. After a long period of repeated practice, I finally solved it according to the following method:
(Method 2)
1. Follow the method of Method 1. If it doesn’t work, continue with the following method
2. Install windows 2003 sp1. After installation, the setting dialog box in step 4 of method 1 is different from the original one. Select "Do not require authentication" in "Transaction Management Communication" ”
3. It is best to install MDAC2.8
3. Through search, find the file named “hosts” (without extension) in C:, usually the path is C:WINDOWSsystem32driversetc, and change the IP address of the other party’s server. Corresponding to the computer, the reference is as follows:
========================================== =
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# www.knowsky.com
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The problem of comparing and synchronizing BeyondCompare files: Case sensitivity failure when using Beyond...

Multithreading in the language can greatly improve program efficiency. There are four main ways to implement multithreading in C language: Create independent processes: Create multiple independently running processes, each process has its own memory space. Pseudo-multithreading: Create multiple execution streams in a process that share the same memory space and execute alternately. Multi-threaded library: Use multi-threaded libraries such as pthreads to create and manage threads, providing rich thread operation functions. Coroutine: A lightweight multi-threaded implementation that divides tasks into small subtasks and executes them in turn.

How to avoid the third-party interface returning 403 error in the Node environment. When calling the third-party website interface using Node.js, you sometimes encounter the problem of returning 403 error. �...

Python binary library (.whl) download method explores the difficulties many Python developers encounter when installing certain libraries on Windows systems. A common solution...

Why can't my code get the data returned by the API? In programming, we often encounter the problem of returning null values when API calls, which is not only confusing...

Efficient reading of Windows system logs: Reversely traverse Evtx files When using Python to process Windows system log files (.evtx), direct reading will be from the earliest...

Solving the problem of slow Photoshop startup requires a multi-pronged approach, including: upgrading hardware (memory, solid-state drive, CPU); uninstalling outdated or incompatible plug-ins; cleaning up system garbage and excessive background programs regularly; closing irrelevant programs with caution; avoiding opening a large number of files during startup.

How to implement Windows-like in front-end development...
