Tech Help
Last updated September 22, 2003
Network / file problems, such as those with symptoms like error 1477 and 2172, can take many forms.
They can be caused by one or more of the following:
- Kinked or damaged cable - just because it looks ok doesn't mean it is - test it or swap it out for another one you may have.
- Cable running close to a fluorescent light ballast (fixture)
- Loose connector/plug on cable
- Old "worn out" cables, particularly coax cables that have been around for years
- Out of date drivers
- Bad hub or a bad port on a hub
- Failed/failing network card
- Power problems (PLEASE protect your systems with a UPS, power problems are one of the biggest troublemakers we know of. Yes, a UPS might cost $79 to $450 depending on how big a unit you buy, but how much is your computer and a day's worth of business worth? Consider it much less than the time to fix a power-caused mess. Click here for more lectures about very important issues.
- Network setup and/or configuration problems.
- Inadvertent shutdowns
- Shutting down servers while workstations are still in the program
- Out of date network drivers (even those right out of the box are sometimes a problem)
- Improper or less than desirable network bindings/settings
NOTE: Remember that having backups is a saving grace in the face of file/network problems. Network problems can corrupt your files in a heartbeat. If you have no backups, you are in big trouble (future or present - trouble will occur). Having backups is a responsibility you must take VERY seriously.
Drivers up to date? Windows networking is subject to a number of problems, MANY of which can be solved simply by installing updated driver software from the manufacturer or (more often) Microsoft. The link below will go to a web page that describes just ONE of the problems in Windows peer-to-peer networking, yet there are several other problems referenced at the bottom of that page. In particular, anyone on Windows 95 needs to get their network drivers and "requestor" updated. http://support.microsoft.com/support/kb/articles/q174/3/71.asp and http://support.microsoft.com/support/kb/articles/q148/3/67.asp in particular note some problems that can burn you.
Novell Netware problems? The problem could be your Novell Opportunistic Locking setting. Contact your network person for further details. How to turn it off? Goto Control Panel -> Networks -> Novell Client Properties -> Advanced Settings Tab -> Opportunistic Locking and make sure this is switched off on all client Machines - ALSO Make sure True Commit is ON at each client PC (This should help stop data corruption)
Opportunistic locking (oplocks) and performance. This white paper discusses issues related to opportunistic locking - something that can seriously impact performance on ISAM databases (which ours are). This site is related to a product (DataFlex) that we do NOT use, but the same issues can impact your Photo One and Marble Master databases. http://www.dataaccess.com/whitepapers/opportunlockingreadcaching.html
More Microsoft articles related to opportunistic locking
(Now you see why we suggest keeping up to date on Microsoft fixes...)
- http://support.microsoft.com/default.aspx?scid=kb;en-us;q124916
Some Client Applications Fail when writing to Windows NT - http://support.microsoft.com/default.aspx?scid=kb;en-us;q129202
PC EXT: Explanation of Opportunistic locking in Windows NT - http://support.microsoft.com/default.aspx?scid=kb;en-us;q130922
Event error 2022: Server unable to find a free connection - http://support.microsoft.com/default.aspx?scid=kb;en-us;q138365
How the autodisconnect works in Windows NT - http://support.microsoft.com/default.aspx?scid=kb;en-us;q142803
Locking error or Computer hangs Accessing network database files - http://support.microsoft.com/default.aspx?scid=kb;en-us;q148367
Possible network file damage with redirector caching - http://support.microsoft.com/default.aspx?scid=kb;en-us;q152186
Possible network data corruption if locking not used - http://support.microsoft.com/default.aspx?scid=kb;en-us;q163401
How to disable network redirector file caching - http://support.microsoft.com/default.aspx?scid=kb;en-us;q174371
Possible database file damage when data is appended - http://support.microsoft.com/default.aspx?scid=kb;en-us;q219022
Improving performance of MS-DOS database applications (ours aren't DOS, but it's good reading anyhow) - http://support.microsoft.com/default.aspx?scid=kb;en-us;q296264
Configuring opportunistic locking in Windows 2000 - http://support.microsoft.com/default.aspx?scid=kb;en-us;q290757
Write caching settings for hard disk may not persist after you restart your computer
Is your network slow when using a mapped drive letter? Is the drive mapped to the main computer's drive or to a folder? If it is mapped to a folder, you will likely see a decrease in performance, often a quite noticeable decrease. We are not sure why this happens, but mapping directly to the drive has been proven time and time again to be faster. We have not discovered the reason for this, despite extended searches of Microsoft's tech database ( http://msdn.microsoft.com ).
Windows XP networking
Here is Microsoft's "best place to start" page for dealing with Windows XP issues, including networking issues.
http://support.microsoft.com/highlights/winxp.asp
Networking on Past Versions of Windows
For Windows 2000 networking, Here is Microsoft's "best place to start":
http://support.microsoft.com/highlights/Win2000.asp
For Windows ME (Millennium) networking, Here is Microsoft's "best place to start":
http://support.microsoft.com/highlights/winme.asp
For Windows 98 networking, Here is Microsoft's "best place to start":
http://support.microsoft.com/highlights/w98.asp
Workstation drive letters "getting the red X" (disconnecting from the main computer)
You can disable this by issuing this command from the DOS command line: net config server /autodisconnect:-1
Before using this command, we suggest you read the Microsoft article that discusses autodisconnect. You can find it here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;138365.
Windows 2000 or Windows XP mapped drives disconnecting for no apparent reason? (showing the red X over the drive in explorer)
http://support.microsoft.com/default.aspx?scid=kb;en-us;138365
Performance issues are often caused by network protocol "bindings"
Check the following Network protocols basics:
- Make sure that your default network protocol has no bindings to a virtual device (dialup.....).
- If you are using TCP/IP and you have dialup on this workstation, try NetBEUI.
- Try to avoid using IPX and NetBEUI together. IPX gets confused when you have a "chatty" NetBEUI. Removing IPX (if you can) is strongly advised.
- If you need to examine the network further, check out http://www.sysinternals.com/Utilities/TdiMon.html to get a bird's eye view of what's going on.
Does the system work on some machines but seems to "think about it" and then do nothing on others?
- Sometimes your network "times out" when loading Photo One across a network. It's a big program, with a memory "footprint" of about 20 meg. You could try making a c:\p6 folder on the workstation, then copy the .exe and .dll files from the server's \p6 folder to the workstation's \p6 folder. Next, change the shortcut so that the target points to c:\p6\p1w.exe instead of serverdriveletter\p6\p1w.exe - BUT leave the "Start in" alone.
- Sometimes your Windows doesn't have enough "files" set in your config.sys. Try 100 or 125. If this isn't descriptive enough, you need to have your consultant do this for you. Sometimes having full-time virus scanning turned on does this. Ask your virus software vendor how to work around this OR exclude our program from your scanner if you can.
Power management - Do you have Energy Star features on your computers? Probably so. Power management and networking DO NOT MIX. You can have your computers' power management features turn off and/or dim the monitor, but DO NOT have them turn off the hard drive, network cards etc. This will definitely cause you grief when computers are networked. Grief = lost data
Database corruptions, timeouts and other troubles
Another issue is the various ways that Windows try to improve performance, often at the price of stability. Sometimes these things work, other times they cause network timeouts because they force additional file operations behind the scenes and those file operations time out (fail). One way to turn one of these items off is to turn off "Synchronous buffer commits". To do this, click Control Panel, System, Performance, File System, Troubleshooting and check the "Disable synchronous buffer commits" checkbox.
Turn off write caching
You need to disable the "write-behind cache". When the program ask to save the data, the data is kept in cache on the local machine [until the cache is flushed] instead of being on the server.
In Windows XP/2000:
- Right Click MY Computer > Properties > Hardware > Device Manager
- Right Click Disk Drive > Properties
- Disable: Write Cache Enabled
- Restart the computer
In Windows 9x/ME:
- START > SETTINGS > CONTROL PANEL
- System
- Performance tab
- Troubleshooting
- Performance
- Disable the write-behind cache
- Restart the computer
Tune up your network
Many of the aforementioned settings are automatically checked/corrected via a utility program called "Network Tune Up". The program is free. Note that it does change internal network settings and requires a reboot afterwards. The settings changed include oplocks (on Windows NT and Windows 2000) and the Windows9x/WindowsMe buffering settings noted above. It also checks Windows9x/WindowsMe machines to be sure they dont have a buggy version of the Microsoft network driver installed. Click here to download Network Tune Up. We got it from Bytemasters (http://www.bytemasters.com).
Fix that leaky hose
While it is certainly possible, don't automatically assume network errors are a program problem. These products are being used in many, many networked systems and by as many as 130 people simultaneously on ONE network. Do other multi-user applications work ok? Can you save a text file into our application's directory using Windows Notepad? If not, the problem is more than likely with the network setup. Just one little thing related to sharing or "permissions" can mess things up. Keep in mind that our programs have many (as many as 80 or more) files open across your network at once, where Notepad only has one. Like a leaky hose where you don't see the leaks till lots of water is going through the hose under pressure, a network can exhibit similar behavior and not fail until it is under a heavy load.
Getting a TPSBT 1477 and/or 2172?
The 1477 and 2172 errors are caused by improperly "closed" files. Kind of like a file cabinet whose drawer or file wasnt closed. Improper closing can be caused by rebooting the server while the workstation is in the program, rebooting a workstation while it is in the program, logging out while you are in the program, having a power outage or even a "burp" in the power, and so on. The items noted above can help this situation as well. Our programs have anywhere from 30-80 files open at once. Most other programs that you use on the network dont "push" the network anywhere near this hard. Sometimes a network is like a bad garden hose. Turning the water on slow doesn't expose a leak. Turning it on full force and putting your thumb over the end does.
We have a program that will detect which version of the Windows network redirector (ie: what lets you 'talk' to the computers on the network), but it is not as smart as we'd like. Click here to download it (about 600k), then just run it (there is no install). It may or may not point out a problem and it is of no use if your server isnt Windows NT or Windows 2000. If you dont have the current network client/redirector (note the link to Microsoft above), you are asking for trouble. Have your hardware person check this information out for you. It's very important. If you are using Photo One, this information is already available via an option on the help menu.
Another nice network troubleshooting resource:
http://farreachtech.com/network_troubleshooting.htm
24-Hour LIVE answering service 7 days a week
TOLL FREE 1-800-494-6922
Email support also available
support@tradesmens.com
© 2008 Tradesmen's Software, Inc. Web design by Raven Computers, Inc., in Madison, WI

