"Could not find this item"?

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
 
D

dotNetDave

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
 
S

Scrap Monkey

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top