KXRPC.EXE should not be in the NetLogon share and KIX95.DLL should only be there if the KXRPC service is installed and running. This, BTW, would have no bearing on your problem.

You should clean up your code and stop using vars in strings. I suspect you have a misplaced quote somewhere.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.