Solved

Failed to set data for ApplicationFolder

Posted on 2011-03-04
8
1,137 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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
 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Downloading email attachments 2 80
delphi parse string to params 3 137
How to build JSON File in Delphi 6 3 46
DBGrid or StringGrid ? 6 105
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

830 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