?
Solved

MSDTC on Workgroup computers unavailable

Posted on 2007-11-20
5
Medium Priority
?
1,526 Views
Last Modified: 2008-02-01
I have two computer, which when working with a server in the same domain work perfectly, however, these compuer are configured to use a Workgroup, not a domain. Both are running Windows XP SP2, both have XP firewall switched off, both installed with McAfee firewall, but have tested with this disabled, same results.

Both computer A and computer B have VS2005 and SQL 2005 Express installed, when computer B tries to access the database on computer A, everything works fine until MSDTC get involved, i.e. a Transactional update etc. Then the database access fails. In the Event Log it has several entries, all saying the same thing. MSDTC on server 'ComputerA' is unavailable, Error No 8501, Error Code 2. I have checked both computers and both have MSDTC running, and both configured to use the NT AUTHORITY\NETWORK SERVICE account. Both machine also work ok if accessing a database on an Windows Server 2003 computer with SQL 2005 Standard edition installed.

I can only assume it is somwthing to do with Workgroups, as when they both belonged to the same domain, computer B could work with computer A with no problem.

Thanks for any and all advice.
0
Comment
Question by:townsma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 6

Author Comment

by:townsma
ID: 20326122
Thanks for the prompt reply. I have looked at the sites you suggest, but I am pretty sure I have already visitied all of those, and certinly hve tried everything list in those, and many other websites.

This really is confusing, I have been working with MSDTC for about 7 years, in many versions of windows, and have always managed to find a way to make it work, but this one completely baffles me.

The MSDTC is running on both computers, using the NetworkService aacount, the firewall has the correct ports open, or has been disabled. Non transactional selects etc. work fine, it is only when MSDTC get involved. The correct settings are set in the MSDTC Security tab. As I said, if I try again an SQL Server on a Windows 2003 server, it works fine, if ai try against an SQL Server Express 2005 on Windows XP in a Workgroup, it does not work. Same computer just different results.

Thanks
0
 
LVL 6

Author Comment

by:townsma
ID: 20337541
I have now found the solution to this problem. Although in the MSDTC security page the reported username was NetworkService, apparently it was not the corret Network Service account. When I reselect the Network Service account from the search page. I discovered that the NetworkService account for the Domain that the computers used to be in, is spelt different to the Network Service account for the workgroup the computer is now in. One has a space , one doesn't. I guess this is why it worked against the server on a domain, but not against another workgroup connected computer.  

Very confusing I would have thought there would have been more consistency between the system generated account names.

Anyway fixed now.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 20521457
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question