Link to home
Start Free TrialLog in
Avatar of sjacobi
sjacobi

asked on

Windows Server 2008 R2 locking files saved to it via UNC.

Server A is a Windows 2008 R2 machine and server B is Windows 2003 R2 with Crystal Enterprise.
I have setup a job in Crystal on server B to run every night and leave a report output file on a server A share. The next day when I look at the server A share I cannot access the file, when I try it crashes explorer. I cannot even look at the properties of the file.
If I open up my computer and UNC to the server A share and create a file, I can open it from the server with no problem.
OK, so I setup a batch file on server B to copy the file from a folder instead of directly out of Crystal, I still have the same issue. The file copies fine but I cannot access the file it crashes explorer. The file is a 600KB txt file nothing special.
 It seems like there is a file lock of some kind. If I restart the server I can access the file fine. If I change the setup to save to a Windows 2003 server everything works fine with an issue.

What my question is, what in Windows 2008 R2 could be locking this file?
ASKER CERTIFIED SOLUTION
Avatar of sivanov
sivanov
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sjacobi
sjacobi

ASKER

I was able to find what was locking the file, Thank you.