IIS Error 401.0 - Unauthorized after upgrade to Windows 11
Hello everyone. I have an old intranet website that is currently working on Windows Server 2019. The site is an ASP.Net Web App using .Net Framework 4.7.2. I need to make minor cosmetic changes to it. When I test the source code on VS2019 or VS2022 it…
add a block after 4 wrong password and/or login attempts and unblock the connection after a sometime
Hello, I work on web application asp.net mvc .net 4.8. In order to add a block after 4 wrong password and/or login attempts and unblock after some time. I wanted to modify Login Action. We don't want to use aspNet Identity because we didn't want to add…
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 set number in indian format currency
Hello This is my gridview data <asp:TemplateField HeaderText="APR"> <FooterTemplate> <asp:Label ID="FA1" runat="server" Font-Size="16px"…
Azure DevOps Build pipeline failing at Publish step after upgraded to dot net 8
Hi Team, I am trying to upgrade my ASP.Net Core 2.2 project to Dot Net 8. We have react as a front end and using Node 16.16 version which were working fine on dot net core 2.2 project. But once I upgraded the Project to DOT Net 8 the Azure Build pipeline…
The webpage at https://xxx/xxx/aspx might be temporarity down or it may have moved permanently to a new web address
Hello, who can give me the solutions Occur following problem after visiting the webpage at https://xxx/xxx.aspx: the website is normal without import data by xlsx, and wait several hours, the function of import data by xlsx is normal, The…
How do I retrieve a saved font family and use it on Label controls in a div?
Hi, I have a JavaScript code that changes the font of elements in a div. I save this selected font into a database, such that whenever I access this div next time, it is the saved font that will apply to the labels. For example, if a user tries to design…
Is it possible to prevent a Javascript function from executing in C# if record exista in DB?
Hello community, please I will like to ask if it possible that a Javascript function is prevented from executing from code behind (C#), if a record exists in a database? The reason why I haven't posted any code is that I want to first find out if it is…
.NET WebForms app - redirect
Hello, I have an old WebForms e-commerce app. We do not use the front-end part anymore, but in reality, the front-end part is available using the address office.company.com/.* We want to redirect this part to the new front-end URL [www.company.com]. …
Why am I now getting errors about not finding redirection.config?
I maintain an ASP.NET app written years ago by someone else who left before I came to work here. He wrote the app using .NET Framework 2.0. It has been on that version ever since. When I first started maintaining it, I used Visual Studio 2015. Then as…
handling Execution Timeout Expired errors
I have an ASP.Net MVC application that has some reports that can throw Execution Timeout Expired errors. I have already set a longer execution timeout in my controller and have also doubled the standard execution timeout in my connection string. …
Import of type 'Color' from assembly or module 'System.Drawing.Primitives.dll' failed
I created a project with ASP.NET Visual Studio 2022 .NET Framework Version 4.8.1 I imported all .dll files from Framework version 4.8.1. Anything that has code referring to 'Color' generates the following error message. Error BC31091 Import of type…
Saving multiple draggable divs in their new positions
I have been able to use that to create drag and drop for multiple divs. What I mean is, whatever position a user drags and drops any div tag, and user clicks the save button, everything on that page will be saved as seen. Then whenever the user returns,…
Active X Error
We have a Web application that can generate Excel file. We trigger creating the Excel in the front-end and the services will take care of the Excel creation in the background. Sometimes, we encountered error related to Active X. And sometimes, we…
How to add title for div class container instead of using h3 tag ?
I work on asp.net razor page i face issue i can't add title for div class container and title must be with top border exactly as field set and legend so how to apply title to be part from top border using html and css and jquery <table…
Darshan Hiranandani - How do I choose the right framework for my project?
Hey everyone, I'm Darshan Hiranandani One of the critical decisions we face as developers is selecting the right framework for our projects. How do you approach this decision-making process? What factors do you consider when choosing a framework? Share…
Mysterious Error log from IdentityClient when using DefaultAzureCredential
2024-02-27 23:08:54.995 ERROR 54214 --- [ main] c.a.i.implementation.IdentityClient : Could not invoke the MSAL Broker. Ensure that the azure-identity-broker library is on the classpath. java.lang.IllegalStateException: Could not invoke…
Web page problem
Hi, When I click one part (On web page) like it then shows the following to prompt the input. How to achieve this on ASP page?
Localization in Blazor using bootstrap dropdown menu
I've seen tons of tutorials and blog posts but they all suggest a select control for changing a language. None of them explains how to implement localization using HREF. Could you give me at least hint or link, that would help me figure out how to change…
FIX REPATER HEADER WHILE SCROLLING AND EXPORT TO EXCEL
Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default3" %> <html> <head runat="server"> <script…