Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
VB.Net application query
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
-
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
binfolder,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.configfiles, including any inside subfolders, for authorization or role settings. - Check whether the app uses ASP.NET Membership/Roles tables, such as
aspnet_Rolesoraspnet_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
.vbfiles on the server, the main logic may already be compiled into DLLs in thebinfolder, so checking only.aspx/.masterfiles 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.
- Check all
-
Senthil kumar 960 Reputation points
2026-06-22T17:48:06.7866667+00:00 Ok, are you able to see web config file. if available share screenshot suppose any password is there just blur it and share .
-
Chacko, Santhosh 5 Reputation points
2026-06-22T13:49:54.1433333+00:00 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
-
Chacko, Santhosh 5 Reputation points
2026-06-22T13:36:57.2466667+00:00