NT Create AndX results in STATUS_SHARING_VIOLATION

  • Thread starter Thread starter Andy Brezinsky
  • Start date Start date
A

Andy Brezinsky

I've been working trying to solve this really strange issue one of my
clients is having. They currently have a pc running XP professional as
their main system in the front office. This machine runs a piece of
software called Allegro (DOS based but runs fine under XP). The machine
shares the datafiles over the network so that another machine in the
billing area can also access the files. When the two machines were running
Windows 98 they didn't have any issues with the networking, only stability.

After the two machines were upgraded they started having issues where the
software would freeze for 30 seconds and then crash. The developer of the
software was contacted and they were unable to track the issues back to the
software and insisted it was with the network. I hooked up hub between the
machines and ran Ethereal to see what may be happening.

What I found was that when the problems happened (really randomly, usually
only happened once, maybe twice a day) the network showed a strange
pattern.

Client -> Server : NT Create AndX on a file, happens on multiple files
Client -> Server : After about 2-3 seconds an echo request is sent to the
server
Server -> Client : Echo response happens right away
Server -> Client : After about another 20-30 seconds the server responds
with STATUS_SHARING_VIOLATION and then their software opens another AndX on
the error log file which is successfully written to.

I tried turning off opportunistic locking on the two systems to see if that
may have been causing it but the problems persisted. I also disabled the
WebClient service which has sped up network browsing in the past but that
didn't help at all. I'm really stumped and while I don't really want to
contact and pay for support I have a feeling it may come down to that. The
only information I could find on Microsoft's site has to deal with deleting
a file and not appending/opening (I'm not sure exactly what it's doing but
it's not deleting). Here's what I did find:
http://support.microsoft.com/?kbid=811492

Has anyone seen this issue before and if they have what did you do to fix
it? I've been working around computers and networks for a long time and I
have never seen anything like this before.

Thanks in advance,

~Andy Brezinsky
 
Back
Top