« Previous Next »

Thread: AspNet account not getting created automatically

Last post 04-08-2009 1:09 AM by lextm. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 04-03-2009, 10:01 PM

    • fayazabdu
    • Not Ranked
    • Joined on 11-10-2008, 10:04 AM
    • Posts 2

    AspNet account not getting created automatically

    Hi I downloaded Microsoft .Net Framework 2.0 (x64) and installed in my machine. But I found that after creation, aspnet account is not getting created automatically. 1. I went to C:/windows/Microsoft .Net/Framework/v2.0.50727 (Framework64/v2.0.50727 also) through cmd and tried executing "aspnet_regiis -i" command. But it displays as "Some error occurred" (not exact text message). 2. I also went to control panel user groups and found that aspnet account has not got created. Is there any way I can create aspnet account manually? But I can create and run aspnet applications my visual studio 2005 in my machine. My laptop OS is Windows Vista Home Premium (x64). I have got IIS 7.0 Please help me. Thanks in advance Fayaz
  • 04-04-2009, 5:16 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,373

    Re: AspNet account not getting created automatically

    ASPNET account is useless if you are using Windows Vista and IIS 7. Please ignore this missing account and focus on your development.

    ASPNET is an account for aspnet_wp.exe which hosts ASP.NET applications on IIS 5. Since IIS 6, w3wp.exe hosts ASP.NET applications and this worker process by default uses Network Service account instead.

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 04-08-2009, 12:32 AM In reply to

    • fayazabdu
    • Not Ranked
    • Joined on 11-10-2008, 10:04 AM
    • Posts 2

    Re: AspNet account not getting created automatically

    Hi Lex Thanks for your reply. Let me tell you my actual problem. I have an asp.net application developed in VS 2005. This application is accessing data from MS Access database. Currently this .mdb file is an added file within the project. Now I wanted to place this mdb file in a different directory and mention the path to that location in webconfig file. Now access the file by reading path from webconfig file. Now here is the problem. In parallel I tried to connect to file using two objects. When I tried to connect with the second object, it threw error telling, "It is already used by another user, or u dont have permission". I searched in net and concluded that, if i give aspnet account, persmission access to that file, this problem will get solved. Please help Thanks a lot Fayaz
  • 04-08-2009, 1:09 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,373

    Re: AspNet account not getting created automatically

    Then it turns to be an application specific questions, "how to use one access file in parallel", isn't it?

    I am not familiar with Access. Can you post this question to http://www.asp.net?

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (4 items)
Microsoft Communities