Share via

VB.Net application query

Chacko, Santhosh 5 Reputation points
2026-06-22T11:59:48.43+00:00

Hi,

One of the Application user lost his Admin access on one VB.Net application.

No admin settings defined in db tables. Nothing set up in web. config. Can't find the reason.

We have no Visual studio/Asp.net installed on the server. Can only open in aspx/master file in Notepad.

Any help appreciated

Thanks

Santhosh Chacko

Developer technologies | .NET | Other

6 answers

Sort by: Most helpful
  1. Chacko, Santhosh 5 Reputation points
    2026-06-24T08:20:10.8766667+00:00

    Was this answer helpful?


  2. Danny Nguyen (WICLOUD CORPORATION) 7,345 Reputation points Microsoft External Staff Moderator
    2026-06-23T04:21:29.6266667+00:00

    Hi @Chacko, Santhosh ,

    Visual Studio not being installed on the server is not likely the cause here.

    For a VB.NET / ASP.NET Web Forms app, admin access may be checked from the code, compiled DLLs in the bin folder, web.config, database tables, or Windows/AD groups.

    Since only one user lost admin access, I suggest comparing this user with another user who still has admin access:

    • Check all web.config files, including any inside subfolders, for authorization or role settings.
    • Check whether the app uses ASP.NET Membership/Roles tables, such as aspnet_Roles or aspnet_UsersInRoles.
    • Check whether the user was removed from any Windows/AD security group.
    • Check if there was any recent deployment, database restore, or user account change.

    If there are no .vb files on the server, the main logic may already be compiled into DLLs in the bin folder, so checking only .aspx / .master files may not show where the Admin role is decided.

    For reference, you can check these docs: Control authorization permissions in ASP.NET Membership in ASP.NET Web Forms

    In short, find where the app decides the user is an Admin, then compare the affected user with a working admin user.

    If you found my response helpful or informative, I would greatly appreciate it if you could follow this guidance or provide feedback.  

      

    Thank you.  

    Was this answer helpful?


  3. Senthil kumar 960 Reputation points
    2026-06-22T17:48:06.7866667+00:00

    Hi @Chacko, Santhosh

    Ok, are you able to see web config file. if available share screenshot suppose any password is there just blur it and share .

    Was this answer helpful?

    0 comments No comments

  4. Chacko, Santhosh 5 Reputation points
    2026-06-22T13:49:54.1433333+00:00

    @Senthil kumar

    The application user suddenly lost his admin access. No admin setup maintained in db or in config file. We have access to the aspx files, but can't troubleshoot the issue as no visual studio dotnet installed in the server.

    Thanks

    Santhosh

    Was this answer helpful?


  5. Chacko, Santhosh 5 Reputation points
    2026-06-22T13:36:57.2466667+00:00

    Hi @Senthil kumar

    Its vb.

    Also master pages created for this applicaiton

    Thanks

    Santhosh

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.