locked
user account context RRS feed

  • Question

  • We have follwoing queries regarding "user Account Context"

    1) What is the meaning of "user account context"?

    2) What is the meaning of "the application runs under a user account context"?

    3) What is the meaning of "application that runs under a user account context and when no user profile is associated with the user account context"?

    4) We came across one Hotfix from Mocrosoft as "A .NET Framework 2.0 application that runs under a user account context when no user profile is associated with the user account context may crash, or you may receive an access violation error message" at "http://support.microsoft.com/kb/913384"

        We came across the mentioned Hotfix while searching the solution to our application which crash randomly. The Symptoms mentioned in the Hotfix are matching with Symptoms of our crashing application.

        We are testing our VS2005 VB.Net Application with SQL 2008 R2 as Database Application on Whindows 7 Machine. The Windows 7 has default Framework 2.0 - SP2 and 3.5 - SP1.

        i) The mentioned Hotfix applies to only Framework 2.0

       ii) The problem for which Hotfix released solved in Framework 2.0 - SP1 / SP2. 

       iii) The problem for which Hotfix released will not occured in Windows 7.

       iv ) The mentioned Hotfix is not appies to Windos 7

    Our above mentioned understandings are correct?

    5) we are STILL facing the crash problem mentioned in Symptoms of the Hotfix in Windows 7 machine. What are the probable root causes for same? We are trying to test application on newly installed Windows 7 machine. Is it correct step?

    6) Is there any way to run the application without user account context ?

    Thanks in advance...




    • Edited by Yog_M Tuesday, July 30, 2013 6:52 AM
    Tuesday, July 30, 2013 6:39 AM

Answers

  • What is the meaning of "user account context"?

    - I believe this means it's a user account rather than others, see later....

    What is the meaning of "the application runs under a user account context"?

    - As above, running with a user account.

     "application that runs under a user account context and when no user profile is associated with the user account context"?

    - if an administrator creates a user account, that just creates a user account. At some point in time a user profile will be created for the new user that says (for example) where that user's data folder is, program data etc. The implementation of this is mostly in the registry.

    Is there any way to run the application without user account context ?

    - Yes. Services often run with the system account or the network service account etc, just a minor example.

    If you've still got the issue the most simple explanation is that the fix isn't relevant to your issue. Access violation errors are common. They just mean the app tried to access something restricted, debugging should tell you exactly what it was doing and the access rights required.


    Phil Wilson

    Thursday, August 1, 2013 6:14 PM

All replies

  • Hello,

    Welcome to MSDN forum.

    From your description, I know that you have some issue about User Account Context.In fact ,when you logon a computer ,you should have your own account,any application run under  specific  accounts including logged-on account,local system account etc.

    For example, CreateProcessAsUser function and CreateProcessWithLogonW function function can be used to run specific application under specified account.

    Hope these help, have a nice day.

    Best Regards,


    Lilia Gong
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, July 31, 2013 8:36 AM
  • What is the meaning of "user account context"?

    - I believe this means it's a user account rather than others, see later....

    What is the meaning of "the application runs under a user account context"?

    - As above, running with a user account.

     "application that runs under a user account context and when no user profile is associated with the user account context"?

    - if an administrator creates a user account, that just creates a user account. At some point in time a user profile will be created for the new user that says (for example) where that user's data folder is, program data etc. The implementation of this is mostly in the registry.

    Is there any way to run the application without user account context ?

    - Yes. Services often run with the system account or the network service account etc, just a minor example.

    If you've still got the issue the most simple explanation is that the fix isn't relevant to your issue. Access violation errors are common. They just mean the app tried to access something restricted, debugging should tell you exactly what it was doing and the access rights required.


    Phil Wilson

    Thursday, August 1, 2013 6:14 PM