Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Its vb.
Also master pages created for this applicaiton
Thanks
Santhosh
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
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
Ok, are you able to see web config file. if available share screenshot suppose any password is there just blur it and share .
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:
web.config files, including any inside subfolders, for authorization or role settings.aspnet_Roles or aspnet_UsersInRoles.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.