Link to home
Start Free TrialLog in
Avatar of gcook17
gcook17Flag for United States of America

asked on

Reading From ProgramData with Windows *

have a .NET 2005 Windows forms application that write a key value for licensing to the ProgramData folder. When program strts it reads this same data to check license and other settings. The problem is when application starts it cannot Read the data. This only occurs in Windows 8. Odd that it can write but not read. I would be very grateful for any ideas with this perplexing issue.
Avatar of sarabande
sarabande
Flag of Luxembourg image

how many programs are involved with the above issue? normally, you have a setup program which would write the configuration and license data. the application isnatlled only would read.

what is your approach?

Sara
Avatar of gcook17

ASKER

In this application the data is written once the program is installed and the user decides to license the application instead of simply using it in trial mode.
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gcook17

ASKER

The function that was causing this issue was an encryption function. For some reason the debugger would not break on this error and it was eventually found using log4net. Also permissions was an issue after adjustment of permissions and replacing the encryption method the problem was resolved. Oddly this encryption method worked fine in Win 7 and below but not in Win 8.