C
craigc
hi,
i have recently migrated an app from my local machine to our dev web
server and i'm trying to upload a document from my local hard drive via
the web server to a sharepoint installation.
i'm getting the following error :
System.IO.DirectoryNotFoundException: Could not find a part of the path
"C:\Documents and Settings\cumminc\Desktop\1.jpg". at
System.IO.__Error.WinIOError(Int32 errorCode, String str) at
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, Boolean useAsync, String
msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path,
FileMode mode) at timetable.document_upload.btn_upload_Click(Object
sender, EventArgs e) Please Select A File
from searching the web, i believe that this means that i don't have the
correct permissions for the directory.
both our dev web server and the dev sharepoint installation have given
"everybody" full access to the C: drive, so i'm not sure why i would be
getting this error.
does anyone have any ideas as to how i can fix this ? everything worked
just fine on my local machine so i'm assuming that permissions is
indeed the cause.
thanks in advance
c
i have recently migrated an app from my local machine to our dev web
server and i'm trying to upload a document from my local hard drive via
the web server to a sharepoint installation.
i'm getting the following error :
System.IO.DirectoryNotFoundException: Could not find a part of the path
"C:\Documents and Settings\cumminc\Desktop\1.jpg". at
System.IO.__Error.WinIOError(Int32 errorCode, String str) at
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, Boolean useAsync, String
msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path,
FileMode mode) at timetable.document_upload.btn_upload_Click(Object
sender, EventArgs e) Please Select A File
from searching the web, i believe that this means that i don't have the
correct permissions for the directory.
both our dev web server and the dev sharepoint installation have given
"everybody" full access to the C: drive, so i'm not sure why i would be
getting this error.
does anyone have any ideas as to how i can fix this ? everything worked
just fine on my local machine so i'm assuming that permissions is
indeed the cause.
thanks in advance
c