.NET Programming
--
Questions
--
Followers
Top Experts
Login Button Not Working
I have a simple login page that connects to a sql database to authenticate and allow users to login. I cannot get the login button to work for some reason. I have used this code many times now but all of a sudden it doesn't work. Can anyone assist? See files attached.
admin.aspx
admin.aspx.designer.vb
admin.aspx.vb
admin.aspx
admin.aspx.designer.vb
admin.aspx.vb
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
is the connection string defined in the system config? What error message do you get?
Yes, connection is in web config. I'm not getting any error. I place a break in the codebehind and debug is not even hitting the break when clicking the login button.
Did you tried "Clean Solution" and "Rebuild All"?
sometimes .dlls get cached which can cause this problem.
sometimes .dlls get cached which can cause this problem.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Hi,
this is one bad thing I generally keep facing, not for login page, but generally with submit button.
The page dll get cached and will not work when IIS detects this cache is invalid.
all you need to do are
a) Clean history. if not possible to clean history, please do launch the application in another browser and then come back to IE.
b) reset your IIS. this will help your cache to not be loaded next time you access
c) Clean your solution. Make minor changes to the Login.aspx.vb file and then recompile.
Hope this helps.
this is one bad thing I generally keep facing, not for login page, but generally with submit button.
The page dll get cached and will not work when IIS detects this cache is invalid.
all you need to do are
a) Clean history. if not possible to clean history, please do launch the application in another browser and then come back to IE.
b) reset your IIS. this will help your cache to not be loaded next time you access
c) Clean your solution. Make minor changes to the Login.aspx.vb file and then recompile.
Hope this helps.
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
No answer assisted in solving the issue.
.NET Programming
--
Questions
--
Followers
Top Experts
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.