D
darrel
I've written a function that will upload a file. This sort of works. It
works sometimes, and then other times...namely when it tries to write to an
existing directory (but not always), I get this error:
Exception has been thrown by the target of an invocation.
Googling seems to indicate that that's a pretty generic error. Is there any
way to find out more specifics as to what is causing this?
The specific line it appears to choke on is this:
postedFile.SaveAs(savePath & strUploadFileName)
Again, it works sometimes, not others. Both times, it has the same string.
I'm stumped.
-Darrel
works sometimes, and then other times...namely when it tries to write to an
existing directory (but not always), I get this error:
Exception has been thrown by the target of an invocation.
Googling seems to indicate that that's a pretty generic error. Is there any
way to find out more specifics as to what is causing this?
The specific line it appears to choke on is this:
postedFile.SaveAs(savePath & strUploadFileName)
Again, it works sometimes, not others. Both times, it has the same string.
I'm stumped.
-Darrel