How to Freeze Header in ASP.NET Gridview using C#
I am developing ASP.NET application. I have been using gridview for adding/editing/deleting records for most of the forms. some of the gridview will have more than 1000 rows. for temporary, i have used CSS overflow to freeze the records. But, it will…
ASP.Net Web Forms: Error when javascript function executed, Bootstrap integrated.
Hello All, I have an issue with the ASP.Net Web Forms application that is returning an AJAX error when the javascript function is executed. Below is the explanation and code bits to reproduce the error. Created a Web Forms application with…
403 Forbidden Error while trying to access authorized routes in a .NetCore 8 WebAPI -
Hi All, Let me discuss my problem in clear detail. I am trying to build a backend webAPI for an app using .NetCore 8. I created the database for my webapi by using code-first migrations on AspNet Identity. The respective tables have been created. In…
Button not working asp.net core mvc net 8
Hello, I'm having a big problem in the admin product view, specifically my button doesn't work (details below the image) I can move to the <a> tag but it's not green (so when pressed it will go to another page) although in views/shared I've added…
Program Install and Uninstall troubeshooter not working
I cannot uninstall any of the .NET or Runtime programs listed below using this tool because I get this error
Is it possible to forcibly define the action for all forms in IIS 10?
When submitting a form defined within an ASP page on a site registered in IIS, it doesn't navigate to the action URL you specified. Instead, it redirects to a different page. The redirected URL matches your defined action location, but the content…
Excel not downloading from asp.net application
I am developing asp.net application and download excel file not working recently in Local and IIS Website. The same was working last week. Below is my code and tell me what is the problem and how to solve this.. This is very urgent using Excel =…
How to eliminate if end user open the same ASP.NET page in another tab
This is simple question. I am developing ASP.NET application and sharing the hosted URL to end user. some times end user opens the same page in multiple tab. i want to control, either should not allow the same page in another tab or redirect some…
Model Popup showing as blank when click view button in gridview C#
I am using ASP.NET application and i used Gridview to show the PDF file. when i click the view button in the gridview, the file will be opening is perfect. I am using some search button outside the gridview for filter records in gridview. Whenever i am…
could not load file or assembly'Microsoft.data.sqlclient'
how to solve this error
Why do we get this error "Reading the request body timed out due to data arriving too slowly. See MinRequestBodyDataRate." if we have not configured MinRequestBodyDataRate??
Our system utilizes ASP.NET Core 6.0.10 and HTTP/2. There is no specific configuration for the MinRequestBodyDataRate in our program, indicating that it likely uses the default value of 240 bytes per second. During our investigation, we have confirmed…
Unable to launch IIS Express Web server
I copied a Visual Studio 2022 ASP.NET MVC project that I was working on from my desktop machine to my laptop. When I attempted to test/run the app in debug mode from within Visual Studio 2022, I got an "Unable to launch the IIS Express Web…
How to troubleshot HttpWebRequest if X509Certificate is not added properly
Hello all, I am adding a X509Certificate to the HttpRequest like the following: HttpWebRequest request = (HttpWebRequest)WebRequest.Create("webserviceurl"); request.ClientCertificates.Clear(); X509Certificate certificate = new…
IIS Express is running, but I get "Connection Refused" Error
I'm developing an ASP.Net Web Form application and an ASP.Net Api. /Edit: They are two different projects, have nothing to do with each other, but both have problems with IIS Express. /Edit VS Studio 2022 is updated, no firewall or virus scanner is…
get month first date and last date using my data
Hello Example 1:- My asp.net label1 show example April-2024 In Label2 I want to show 01-APR-2024 In Label3 I Want To Show 30-APR-2024 Example 2:- My asp.net label1 show example September-2024 In Label2 I want to show 01-SEP-2024 In Label3 I Want To…
What could be the reason for the disappearance of the ApplicationHost.config file in IIS?
When I try to perform tasks like restarting or stopping sites in IIS Manager, or editing SSL bindings, or changing settings, a file write error occurs and the operation fails. The file is not visible in the system32/inetsrv/config/ directory. It's…
Cookie issues while opening any webpage from project
Hello, I'm currently having issues with the below two exceptions when refreshing any webpage in the project after a random number of times. My current theory is that after passing the context for APIHelper, it becomes null for whatever reason or at least…
Attempting to align contents of GridView cells on ASP.NET Web Forms
Hello, I am attempting to align the contents of GridView cells on ASP.NET Web Forms, but I am encountering an issue where the GridView header is not aligning as expected. Here is how it looks in the image below What steps can be taken to resolve this,…
Convert solution of class libraries in framework to .NET
Hi, I have solution with list of clsss libraries in framework 4.6.2. I would like to know full steps of converting this solution to .NET 8/9 using visual studio. Thanks in advance,
Two-factor authentication for Net Framework 2.0 (Visual Studio 2005)
Is Two-factor authentication using SMS and email with ASP.NET Identity support for .Net Framework 2.0 (Visual Studio 2005)?