11. April 2007
.NET , c# , MSTDC , Windows 2003
I was developing a database layer using TransactionScope in .Net 2.0, and when opening the second connection I got the following error:
The partner transaction manager has disabled its support for remote/network transactions
This means that you need to enable network access on both the server/client that is running the application, but also on the database server(s) that you are connecting to. To do this you need to do:
First verify the "Distributed Transaction Coordinator" Service is
running on both database server computer and client computers
1. Go to "Administrative Tools > Services"
2. Turn on the "Distributed Transaction Coordinator" Service if it is not running
If it is running and client application is not on the same computer as
the database server, on the computer running database server
1. Go to "Administrative Tools > Component Services"
2. On the left navigation tree, go to "Component Services > Computers > My Computer"
3. Right click on "My Computer", select "Properties"
4. Select "MSDTC" tab
5. Click "Security Configuration"
6. Make sure you check "Network DTC Access", "Allow Remote Client", "Allow Inbound/Outbound", "Enable TIP"
7. The service will restart
8. You might have to restart the computer(s)
11. April 2007
Hack , Windows 2003
Some of use are using windows 2003 as a desktop OS because its more near to the real use when developing applications, websites etc.
So when faced with the inevitable box that asks for a reason as to how we want to shut down or restart our computer, a man just have to act.
Luckily there is help to be had. There is a Group policy that controls wether or not the pesky question should be asked or not.
Simply start the Group Policy editor, by Clicking on the Start button, selecting Run, entering gpedit.msc and press enter.
This will yield the UI for the Group poilicy editor.
Navigate to Computer Configuration > Administrative Templates >
System and in the right hand pane, select the “Display Shutdown Event
Right click on the setting and select properties, and set the radio button as shown below to Disabled.
When you have done this and waited a few moments, your Shut down windows dialog box should look much nicer :)