Unable to write a file from a SharePoint timer job on some servers [solved]
-
I am trying to write a file from a SharePoint timer job. I can write it on one test machine (which I set up myself with Visual Studio installed) but not on another test machine or the production machine. Obviously it is a permissions issue, because the two machines I cannot write the file on are ones I sign in as a user in the Administrators Group. The machine where it is working only has a single user (Administrator) and no other [human] users. I can also write to the Application Log file, and view the messages in the Event Viewer on the one machine and not on the others. I have also had problems with Office InterOp services, but that is another issue. I tried to RunWithElevatedPrivileges but that didn't solve any of the problems. Does anyone know what may be the problem? <edit> Turns out I need to bounce the server to get the latest version of the program. IISRESET didn't do it! I need to find out how to clear the cache so I don't have to bring down the test server many times a day during development. Even having to re-boot the production server off hours is a problem. If anyone knows how I can clear the old version of the program out of cache please let me know. I have tried manually removing the feature from the GAC, and quite a few other things, but haven't found out what else I need to remove. </edit>
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopesmodified on Thursday, September 3, 2009 8:55 PM