Solved

Failed to set data for ApplicationFolder

Posted on 2011-03-04
8
1,126 Views
Last Modified: 2012-05-11
Hi,

When my delphi application is started on a Windows XP machine one customer gets following errormessage:
Error: Failed to set data for ApplicationFolder

I check the registrysettings for AppData
HKEY_CURRENT_USER\software\Microsoft\windows\CurrentVersion\Explorer\User Shell Folder\AppData
and..
HKEY_CURRENT_USER\software\Microsoft\windows\CurrentVersion\Explorer\Shell Folder\AppData
Both values seem to point to the correct folder.

What could be a solution for this problem?
0
Comment
Question by:Delphiwizard
8 Comments
 
LVL 3

Expert Comment

by:pasolo
ID: 35035220
"Error: Failed to set data for ApplicationFolder"
The Application folder is the folder where the application is installed which is not the same as
AppData

The correct way to determine the Shell folders is not going through the Registry. Please clarify ?
0
 

Author Comment

by:Delphiwizard
ID: 35035247
I have not much more to go on.
I need to determine what the error is saying in order to correct it.
0
 
LVL 10

Accepted Solution

by:
Fayaz earned 250 total points
ID: 35035280
Un-install the application>>restart comupter>>Install the application
During the process if it prompts to select, slect for all users rather just one.
Make sure the user is having access to the folders where you install the application.
0
 
LVL 37

Assisted Solution

by:Neil Russell
Neil Russell earned 250 total points
ID: 35035545
It is almost certainly a permissions error on the folder that your app is installed into. What user installed the app? Is it the same user that is now trying to run it and get the error?
Can the user who is now getting the error install the software successfully under their own login?
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

Author Comment

by:Delphiwizard
ID: 35036392
Neilsr:
Yes, it is the same user who installed the application, I don't know if it is a administrator user.
0
 

Author Comment

by:Delphiwizard
ID: 35036465
The user is a administrator and installed the software on it's own useraccount
0
 

Author Comment

by:Delphiwizard
ID: 35126761
Any new suggestions?
0
 

Author Closing Comment

by:Delphiwizard
ID: 35238710
Thank you all.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now