3,246 questions with ASP.NET tags

Sort by: Updated
1 answer

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…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-03-07T21:53:24.8+00:00
Luis 126 Reputation points
commented 2024-03-08T23:10:04.0633333+00:00
Lex Li (Microsoft) 4,662 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,205 questions
asked 2024-03-05T16:09:24.75+00:00
wiss user 20 Reputation points
accepted 2024-03-08T11:05:00.72+00:00
wiss user 20 Reputation points
2 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2023-03-21T19:23:22.15+00:00
Richard Rosenheim 46 Reputation points
answered 2024-03-07T11:21:01.25+00:00
Georg Aubele Lehmbau 0 Reputation points
1 answer One of the answers was accepted by the question author.

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"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-03-06T17:34:14.9666667+00:00
RAVI 896 Reputation points
accepted 2024-03-07T10:11:31.03+00:00
RAVI 896 Reputation points
1 answer

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-03-06T16:42:24.2966667+00:00
Yatish Bhavsar 0 Reputation points
edited the question 2024-03-07T01:07:18.9933333+00:00
Tianyu Sun-MSFT 27,106 Reputation points Microsoft Vendor
1 answer

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2022-12-12T08:24:52.057+00:00
Shou, Sheng Xian 6 Reputation points
answered 2024-03-06T20:39:33.99+00:00
Shashi Chary 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-02-15T11:08:35.2033333+00:00
Donald Symmons 2,856 Reputation points
accepted 2024-03-06T11:58:59.5666667+00:00
Donald Symmons 2,856 Reputation points
3 answers One of the answers was accepted by the question author.

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
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,205 questions
asked 2024-02-27T05:26:56.4+00:00
Donald Symmons 2,856 Reputation points
commented 2024-03-06T07:35:44.2433333+00:00
Donald Symmons 2,856 Reputation points
2 answers

.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]. …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-02-29T11:37:05.44+00:00
Jaak Ivask 1 Reputation point
commented 2024-03-06T06:48:51.48+00:00
Lan Huang-MSFT 25,386 Reputation points Microsoft Vendor
0 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-01-31T22:12:58.4766667+00:00
Falanga, Rod, DOH 60 Reputation points
edited the question 2024-03-06T05:56:16.0866667+00:00
Tianyu Sun-MSFT 27,106 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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. …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-03-05T17:44:32.5933333+00:00
M J 661 Reputation points
commented 2024-03-05T22:20:47.4366667+00:00
SurferOnWww 1,906 Reputation points
1 answer One of the answers was accepted by the question author.

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-02-29T17:21:07.35+00:00
Simon 286 Reputation points
accepted 2024-03-04T21:28:47.7433333+00:00
Simon 286 Reputation points
1 answer One of the answers was accepted by the question author.

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,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-02-18T23:18:01.1766667+00:00
Donald Symmons 2,856 Reputation points
accepted 2024-03-04T13:48:19.0633333+00:00
Donald Symmons 2,856 Reputation points
1 answer

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,654 questions
asked 2024-02-26T01:40:02.1+00:00
Louie 21 Reputation points
edited the question 2024-03-04T01:36:05.1866667+00:00
Jack J Jun 24,281 Reputation points Microsoft Vendor
1 answer

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-02-27T22:34:15.96+00:00
ahmed salah 3,216 Reputation points
answered 2024-03-03T03:27:53.31+00:00
hossein jalilian 1,750 Reputation points
2 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-03-01T09:47:52.33+00:00
Darshan Hiranandani 0 Reputation points
answered 2024-03-02T17:54:22.5933333+00:00
Bruce (SqlWork.com) 55,041 Reputation points
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,389 questions
asked 2024-02-28T07:14:20.6233333+00:00
Ian Lee 5 Reputation points
commented 2024-03-02T03:10:46.4666667+00:00
Ian Lee 5 Reputation points
0 answers

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?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-02-15T10:10:14.0666667+00:00
Peter_1985 2,466 Reputation points
edited a comment 2024-03-01T04:08:30.7+00:00
Peter_1985 2,466 Reputation points
1 answer One of the answers was accepted by the question author.

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,378 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-02-28T16:24:01.7966667+00:00
Kuler Master 246 Reputation points
edited an answer 2024-03-01T01:28:03.4566667+00:00
Ruikai Feng - MSFT 2,526 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-02-26T11:09:28.23+00:00
RAVI 896 Reputation points
edited an answer 2024-02-29T16:46:54.02+00:00
laab 0 Reputation points