• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1209
  • Last Modified:

Failed to set data for ApplicationFolder

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
Stef Merlijn
Asked:
Stef Merlijn
2 Solutions
 
pasoloCommented:
"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
 
Stef MerlijnDeveloperAuthor Commented:
I have not much more to go on.
I need to determine what the error is saying in order to correct it.
0
 
FayazCommented:
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
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
Neil RussellTechnical Development LeadCommented:
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
 
Stef MerlijnDeveloperAuthor Commented:
Neilsr:
Yes, it is the same user who installed the application, I don't know if it is a administrator user.
0
 
Stef MerlijnDeveloperAuthor Commented:
The user is a administrator and installed the software on it's own useraccount
0
 
Stef MerlijnDeveloperAuthor Commented:
Any new suggestions?
0
 
Stef MerlijnDeveloperAuthor Commented:
Thank you all.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now