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. very strange Network path not found error

very strange Network path not found error

Scheduled Pinned Locked Moved Web Development
helpsysadminwindows-admintestingbeta-testing
1 Posts 1 Posters 0 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.
  • S Offline
    S Offline
    SomeGuyThatIsMe
    wrote on last edited by
    #1

    I'm not sure exactly where to put this, but i've tried just about everything i can think of and find on google over the past few days. I have a webapp that lets you play messages(audio files) that you have recorded or uploaded. i have a main message library and another part of the app that deals with a subset of messages(its been simplified to make it easier to explain). The messages are stored on a different server(50+ gigs of messages preclude storage on the webserver). in the main library you can upload, download, and otherwise create messages which converts them to our format and copies them to or from the storage server. it works perfectly. the other area that deals with a subset of messages can upload and download files(almost the same code as the library). all are stored on a share accessed via a path in the webconfig \\ip\messages for the library, and the subset is contained in a subdir of messages. when i use a dropdown to choose a message from the library to include in the subset, and attempt to copy \\ip\messages\file1 to \\ip\messages\subDir\file1 it get a network path not found on the source path. this is the same path that is used for the main library(works perfectly). i've gone to each path from the webserver, i've logged in as the limited account IIS is using and gone to each path with no problems, i've even run copy path1 path2 where i copied the exact path from the code which worked perfectly. however when the webapp tries to run the copy it throws the Network Path not found exception. i would normally assume this was a permission issue, but after the testing i've done i dotn think thats the issue, espically because it works for other parts of the app, just not the pages that deal with the subset of messages. i have checked the paths the code is generating, and have used them to access the files and run the copy from a dos window, under admin and the IUSR account. the code is simply doing a File.Copy(origMsg, outMsg); after it figures out what message should be moved. almost identical logic is used for uploading a message from the users computer. 3 people have gone through this code countless times and havnt found any errors that have fixed our problem... i was hoping some genius out there would be able to give us any insight into why this wont work on one page and not another in the same web app, and they are both part of the same project and compile to the same dll.

    Please remember to rate helpful or unhelpful answers, it lets us and people readi

    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