Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi there,
I have my application launching through System Tray.
But whenever I open Browse window in it it gives error that "C:\Windows\System32\config\systemprofile\Desktop refers to location that is unavailable"

what could be possible reason ? how to resolve?
Posted
Updated 3-Apr-15 20:19pm
v2
Comments
Richard MacCutchan 2-Apr-15 6:09am    
Most likely you do not have permission to access that location.
N3KK 2-Apr-15 6:14am    
I am running my application by admin rights
And it is giving this error when I browse to any location
Richard MacCutchan 2-Apr-15 6:23am    
If it happens on any location then you have a serious programming error somewhere.
N3KK 2-Apr-15 6:27am    
Ya I do think same... but when I launch the App normally (clicking by .lnk or from start menu then it doesnt happen)
Richard MacCutchan 2-Apr-15 6:49am    
It sounds like it is not getting admin privilege when launched from the task bar. Check the properties of the taskbar link.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900