• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1240
  • 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

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