Results 1 to 2 of 2

Thread: Access to the registry key is denied.

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2011
    Posts
    1

    Access to the registry key is denied.

    Ok so here is my issue.

    In all the years that I've been coding I have never come accross this issue or error. For the past 3 months I have been working on two separate apps. Initialy I started out with Win Vista and things were going great except for how slow my comp was running. So I reinstalled the Vista OS. Everything was going great until Mar 7th when this error just started occuring within my code.

    "Access to the registry key 'HKEY_CURRENT_USER\Software\TornadoApps\Swift Budget\User' is denied"

    "TornadoApps/Swift" Budget are strings created upon App install or first run of App in VB 2008.

    The "Use"r value along with 9 other values were all working fine prior to Mar 7th.

    Now this line along with many others like it with defferent strings and values were working just fine till this week. So i figured that I'd just upgrade to Win7 hoping that would fix it. IT didn't. So I reformatted and installed fresh Win7 and still have the error. So I have figured out that it isn't my OS. Cuase it was working in Vista then just quit working.

    Can anyone help me.

  2. #2
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: Access to the registry key is denied.

    Well the error is pretty self explainatory, your security settings are not valid for that key. Why would you think that upgrading would "fix" your problem?

    More then likely you used to run the application in Administrator mode with UAC turned off in Vista. Try running it in admin mode and see if it works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width