Hello! Please note that ASP.NET has its own forum here.
This forum you're looking at right now is for Classic ASP/VBScript questions.
If you're not sure what you're using, have a look at your project. If you see files with extensions such as .resx, .aspx or .config, then you're using ASP.NET. Please post in the correct forum.
Link to ASP.NET forum
Thank you kindly!