Anytime I try and upload a photo when the code is uploaded to my server I get this message:
Could not find file 'c:\windows\system32\inetsrv\abstractArtBlueSparkles.jpg'.
Line 43: Dim photo As String = f.UploadPicture(file, title, description)
My full code is this:
Dim f As New FlickrNet.Flickr()
Dim file As String
If btnUpload.HasFile Then
file = btnUpload.FileName
Dim title As String = "Test"
Dim description As String = "Test Photo"
Dim photo As String = f.UploadPicture(file, title, description)
PhotoRepeater.DataSource = RecentPhotos()
I have no problems uploading the photo on my desktop but when I move the code to the server I get the above error message.