Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Unable to write a file from a SharePoint timer job on some servers [solved]

Unable to write a file from a SharePoint timer job on some servers [solved]

Scheduled Pinned Locked Moved SharePoint
comhelpcsharpsharepointdotnet
1 Posts 1 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JimmyRopes
    wrote on last edited by
    #1

    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. JimmyRopes

    modified on Thursday, September 3, 2009 8:55 PM

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups