Link to home
Start Free TrialLog in
Avatar of nobus
nobusFlag for Belgium

asked on

windows 7 jpg files do not open

when i open a jpg picture in My documents folder with wpv, i get following error

"Windows Photo Viewer can't open this picture because either the picture is deleted, or it's in a location that isn't available"

in explorer previewbar (on the bottom) the picture shows ok
if i copy the jpg file to picture folder, it opens normally.

can you help?
Avatar of *** Hopeleonie ***
*** Hopeleonie ***
Flag of Switzerland image

Step 1

Can you run System File Checker (sfc /scannow)

How to:
http://support.microsoft.com/kb/929833/en-us

Step 2

If you still have problems start in clean boot and look if you can open from My documents folder.

How to:
http://support.microsoft.com/kb/929135/en-us
ASKER CERTIFIED SOLUTION
Avatar of jcimarron
jcimarron
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nobus

ASKER

can you explain hopelenie how that can help?
it is a fairly new system (in fact i have this happening on 2 PC's)
Avatar of nobus

ASKER

>>  Does the problem occur with all .jpg files?  <<  YES
nothing special, just photo's copied from camera directly to my documents>folder
system is rather new (not a month old)

strange thing is i got the same problem on a totally different PC (today)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
nobus--
Any particular reason to stick with wpv?
Try Irfanview or FastStone  to see if the same problem exists.
Avatar of nobus

ASKER

@hopelenie - i'm fine, and yes i'm the admin, and Panda cloud is installed
@jcimarron : paint opens normally the jpg's

i have installed from fresh W7 for 3-4 weeks on a P4 single core with 3 GHz -1 GB ram, and last week on an i-3 with P8B75-VM board, 8 GB ram.
i copied the data over by hooking a disk to the board (as i always do)

and now, i tested it on my 3rd system, it has the same problem, so i wonder if it has something to do with the fact i brought them in my network?
Reset permissions on items in picture folder (set FullAccess to your account; also check if "you" are realy you).
Next, do you have folder redirection?

If a copy of file opens, copy holds different permissions (inherited from parent folder). That's why you can open from different location. Can you create new item (folder, file) in picture folder?
Avatar of nobus

ASKER

malajo; please give a bit more detail what you want me to do
First, check folder & file location (check Address bar in explorer or drag one file to Run command to unreveal folder and file path) to determine if you have folder redirection (what I suspect if same problem occurs on 3 computers).

Whether you use local or network picture folder, try to create new file (right clik, New, New bitmap) and try to save it to pictures folder.
If it works, compare security permissions on newly created file and existing files.
If you can't create new file, than you don't have sufficient permissions on folder. Take ownership and set security (and replace on child objects).
(http://answers.microsoft.com/en-us/windows/forum/windows_vista-files/how-do-i-change-folder-and-file-permissions/465f2b42-63dd-4486-8dd1-c870290efeed)
Avatar of nobus

ASKER

malajlo -post a screenshot or something showing how to do that; i simply don't know what you mean with folder redirection.
also - is that normal on A freshly installed PC?
i use the jpg file right from my documents - no other drives attached, and as said, the picture shows in explorer  - in detail windows correct, and opens with Paint, and Office without any problem.
the problem ONLY happens with WPV
Hi Nobus you told Panda cloud is installed. But try other scans like:

http://www.eset.com/online-scanner-popup/
http://personalfirewall.comodo.com/scan/avscanner.html
http://www.kaspersky.com/security-scan

to confirm this is not Malware.
Avatar of nobus

ASKER

hopeleonie, that is what i'm doing right now : mbam and roguekiller
Avatar of nobus

ASKER

scanning did not help, dut i found this :
Take Ownership of a file or folder:
 
1.       Right-click the file or folder for which you want to set permissions, click Properties, and then click the Security tab.
2.       Click Advanced to open the Advanced Security Settings for <Object> dialog box.
3.       Click Owner tab, click Edit. If you are prompted for an administrator password or confirmation, type your password or click Continue.
4.       In the new Advanced Security Settings for <Object> box, in the Change owner to: field, select your User name, and Check the Replace owner on subcontainers and objects. Click OK, repeat for remaining boxes. (If your User name is not listed click the Other users or groups button to add your account).
5.       Open the file or folder you wish to access.

i found that the picture has as owner :  S-1-5-21-933177055-2050038484-3981830767-1001
when i try to change the owner - it says: cannot set new, or other owner
though when i look in the owner tab of the picture  properties, it displays the normal user and user name
First you have to take ownership, then you must change permissions.
But - if you can open same file with paint but not with WPV - that is weird :/

Can you open file with paint, save in same folder (under different name) and then open in WPV?
Avatar of nobus

ASKER

malajlo ownership WAS ok - the rest i posted already,as you can read in the previous posts

 S-1-5-21-933177055-2050038484-3981830767-1001
this points to a network setup, and i remember putting the pc's in my home network maybe 1-2 weeks ago. (you can select to share video, music, etc - (standard) but not documents, )and i remember i DID select my documents, so i presume it has something to do with the problem.

so i did a system restore to that date - and everything is ok.

but what i like to know is : can i turn the network setting back, other than with system restore?
for testing the problem
nobus--
"so i did a system restore to that date - and everything is ok."
Glad to hear the good news, but do not forget the suggestion to run a System Restore in http:#a39494298
Don't you think your last question is really a new question?
Avatar of nobus

ASKER

no, i'm still looking for the reason it happened, and the only way to be sure is apply it on my 2nd system - the system restore is a way to get around it, but is not decisive on the cause.

so - again : can i turn the network setting back, other than with system restore?
for testing the problem
Avatar of nobus

ASKER

or can anybody tell me  how to change this owner : :  S-1-5-21-933177055-2050038484-3981830767-1001  to the normal user??
Avatar of nobus

ASKER

Malajlo -please read what i posted :
when i try to change the owner - it says: cannot set new, or other owner
though when i look in the owner tab of the picture  properties, it displays the normal user and user name
You can't take ownership if you're not an admin. Check if account you're logged is a member of admin group (net localgroup administrators)

or

Log on as local admin and then try to reset owner and permissions.
Check this thread: http://www.vistaheads.com/forums/microsoft-public-windows-vista-file-management/99058-cant-delete-file-access-denied-administrator.html
Avatar of nobus

ASKER

i am admin on all systems - and it's not about taking ownership - it's about CHANGING the owner

i don't see any help in your link, sorry
Taking (changing) ownership means some other user becomes owner.
If administrator does not have access rights to that file (which can be set up), then he (admin) must take ownership on file (folder) and as an owner he can change permissions.

Make a copy of file to My Pic folder and then copy back to My Doc folder (I suggest to rename file first). Can you open that copy?
Avatar of nobus

ASKER

>>  Make a copy of file  <<  ???  what file?  please be clear
one of those you can't open with WPV from My Doc folder...
Avatar of nobus

ASKER

did you read my top question, Malajlo ??
Yes, I did and there (on the internets ;) is several similar problems regarding WPV and some of them refer to permissions, corrupted files etc.
If error occured after you connect to network and on three computers, it is more likely that problem is not WPV.

So, you did copy that file to My Doc folder, tried to open and then copied back to My Pic folder? You also did create a new file in MyPic folder and tried to open? You have changed permissions on file? What are results?
Avatar of nobus

ASKER

Malajlo - i posted in my original question "if i copy the jpg file to picture folder, it opens normally."
Permissions on files in My Doc folder can be different than in My Pics folder. That's why I suggested to copy/move/create files to pin-point problem.
Avatar of nobus

ASKER

i already posted in the original question i tried that
please read the posts - before answering with already things tried...
and if you have no more to offer, just say so - i won't be offended
"if i copy the jpg file to picture folder, it opens normally"
I don't know if newly created picture opens from My Doc folder... Neither don't know if you managed to change permissions and if you still get that "cannot set new, or other owner".
Avatar of nobus

ASKER

No it does not open even after copying it back and forth 20x
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nobus

ASKER

ok -  that sounds good, so i'll try that
Avatar of nobus

ASKER

jcimarron - now i'm "flabbergasted"...
i tried to turn the sytem restore back, and asked BEFORE turning it back to show what programs were affected - as you asked; it told me NONE (which is clearly not the case.
Anyhow, i did the system restore  (from the now working one - to the bad one (original) and guess what : it works now too.
i checked the owner of the picture, and guess what : it changed from the normal user to
S-1-5-21-933177055-2050038484-3981830767-1001

i have no more ideas now, and would be happy if someone could explain this...
nobus--
I am not sure I understand just what you did.  My thought that restoring the original System Restore might restore the problem and give you an opportunity to see what changes would be made if you then tried to run System Restore back again was only a hope .  I have never done that.  
However my statement
 If you had checked the box "Scan for affected programs" on the System Restore window (the one with the Restore Point dates), you could have seen what programs, settings, etc. were about to be changed when you ran System Restore."
is still correct, but it seems you have to do it when you know you have a problem and not after two or more System Restores.
You have asked another question in your last sentence.
I really think you should open another thread.  Few people are going to read this thread now (after 30 posts), and you have the solution to your original problem ( http:#a39494298 ).  Asking why the solution worked was not asked in your original post.  You only started asking that in http:#a39501694 .  And so many things have been tried it will be very difficult to pin down the one that fixed it.  It is a little like running a Clean Install and asking why that fixed a problem.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nobus

ASKER

not quite satisfied with the result