"Could not find this item"?

  • Thread starter Thread starter Scrap Monkey
  • Start date Start date
S

Scrap Monkey

Hi,
I'm trying to copy photos from the public pictures folder to a memeory card.
I can view the photos and I can transfer them to other folders on the PC but
when I try to copy them across I get the following message: "Could not find
this item. This item is no longer located in C:\Users\Public\Public
Pictures\Photos. Verify the item's location and try again." When I check the
photos properties the location is confirmed as correct.

Any ideas?

Thanks

Peter
 
Sounds like a security issue since you are going to a network drive. Code
Access security might be getting in the way. If you call FileExists on the
file first what happens?

David

======================================
David McCarter [Microsoft MVP]
www.dotNetTips.com
David McCarter''''s .NET Coding Standards available at:
http://codingstandards.notlong.com
 
Hi David,

Thanks for the input but after further investigation it turned out that the
memory card was at fault. All a bit confusing when you bear in mind the error
message I was getting from Windows. I put the card, which was brand new, in
my camera and it immediately gave me a "Card error" message". I tried using
the original card from the camera in my PC's card reader and had no problem
transferring files to it. Problem solved!

Thanks

Peter

dotNetDave said:
Sounds like a security issue since you are going to a network drive. Code
Access security might be getting in the way. If you call FileExists on the
file first what happens?

David

======================================
David McCarter [Microsoft MVP]
www.dotNetTips.com
David McCarter''''s .NET Coding Standards available at:
http://codingstandards.notlong.com


Scrap Monkey said:
Hi,
I'm trying to copy photos from the public pictures folder to a memeory card.
I can view the photos and I can transfer them to other folders on the PC but
when I try to copy them across I get the following message: "Could not find
this item. This item is no longer located in C:\Users\Public\Public
Pictures\Photos. Verify the item's location and try again." When I check the
photos properties the location is confirmed as correct.

Any ideas?

Thanks

Peter
 
Back
Top