Results 1 to 3 of 3

Thread: [2.0] Could not access file system or registry in vista through programmatically

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Location
    Chennai
    Posts
    15

    [2.0] Could not access file system or registry in vista through programmatically

    Hi,
    I am developing software product in c#.net 2.0. In Windows XP I can access file system to store product information regardless of the user logged in the system.
    Now I want to do it in Vista, But I could not access Registry or file system (E:\Windows\System32).
    It showing
    UnAuthorizedAccessException

    Any solution or any alternative ?
    Thanks in advance,
    R. Pandiarajan.

  2. #2
    Addicted Member Kal-El's Avatar
    Join Date
    Jun 2007
    Location
    Fortress of solitude
    Posts
    179

    Re: [2.0] Could not access file system or registry in vista through programmatically

    I think you need requestedExecutionLevel.
    See here.

    «Source Code»«plugins»«skin»«fav apps»«Winamp en español»«Nsis en español»
    So what if your signature move is driving a tractor? I think it's adorable. - Lois ("Crimson")
    Don't forget to when your question is resolved ...and the people who help

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Location
    Chennai
    Posts
    15

    Re: [2.0] Could not access file system or registry in vista through programmatically

    Hi thanks,
    I got the error because I try to write the file in .dll extension (to intentionally confuse the user) for example one.dll, but actually it is a text file. Before I find this, all I did that you have advised, but it throws same error. finally I changed the extension, now its working. And I think there is no need of changing or creating manifest file, because I can run application without that changing anything in manifest file, The only problem is extension(.dll). I think the problem may be still there in Vista X64 systems, because when I googled I got results of problems in Vista X64 systems. (I am running X86).
    But I could not share the data file among all users. Now each user will have seperate files, I want to share the data among all the users, How can I do?

    Please help me.
    Thanks & Regards,
    R. Pandiarajan.

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