3,474 questions with ASP.NET tags

Sort by: Updated
1 answer

How to fix deployment error "Error occurred in deployment step 'Add Solution'" on Visual Studio

Hi, I'm working on SharePoint 2010 application code on Visual Studio 2010. When I Clean, build and deploy solution getting error since yesterday like: "Error occurred in deployment step 'Add Solution': Failed to call GetTypes on assembly…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,080 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,652 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
978 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,887 questions
asked 2024-09-27T13:40:29.97+00:00
VG 0 Reputation points
commented 2024-09-28T16:40:57.4066667+00:00
VG 0 Reputation points
0 answers

ASP.NET Session Timeout Issue with ReportViewer in an iframe

I'm using the following setup to load SSRS reports with the <rsweb:ReportViewer> control in an ASP.NET web application: <rsweb:ReportViewer id="RptViewer" runat="server" width="100%" …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,823 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
asked 2024-09-28T07:35:47.39+00:00
Shende1, Pankaj 0 Reputation points
edited a comment 2024-09-28T11:08:24.3933333+00:00
SurferOnWww 2,741 Reputation points
0 answers

Error message while generating a controller in Dotnet ASP.NET Core

I'm trying to generate a controller in Dotnet ASP.NET Core by following the tutorial on https://video2.skills-academy.com/en-us/aspnet/core/tutorials/first-mvc-app/adding-model?view=aspnetcore-8.0&tabs=visual-studio-code, but when I use the command dotnet…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,545 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
333 questions
asked 2024-09-28T08:56:58.08+00:00
PEERAWAT SINGKRAM 0 Reputation points
0 answers

Hi, I always facing DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'ProductColor'. this issue, I checked all my data binding, its correct, how to fix this?

Below is my code for cs using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; //Step 1: using System.Xml.Linq; using Razorpay.Api; using…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 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.
13,739 questions
asked 2024-09-27T11:24:22.7066667+00:00
jw 0 Reputation points
commented 2024-09-27T23:07:28.9066667+00:00
SurferOnWww 2,741 Reputation points
3 answers One of the answers was accepted by the question author.

Is there a way to have the Identity Library cookies be tied to the root domain?

Hi all; I have a Blazor Interactive Server app that uses the ASP.NET Identity Library for Authentication & Authorization. I have the app set up where you normally connect to it using connect.tradewindsstudios.us. However, it is an app showing events…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,545 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
asked 2024-09-25T22:28:38.4033333+00:00
David Thielen 3,096 Reputation points
accepted 2024-09-27T16:20:43.08+00:00
David Thielen 3,096 Reputation points
3 answers

How to fix this " Error There was an error running the selected code generator: 'startIndex cannot be larger than length of string. (Parameter 'startIndex')' "

Hello I got this error issue. When I tried to create New Scaffolded Item > Selected ' MVC Controller with views, using Entity Frame Work I use Microsoft Entity Frame work version 8.0.8 Version and the Frame Work Design I use 8.05 Window 11 Net 8.0…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,545 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,080 questions
asked 2024-09-25T06:18:44.01+00:00
NADA KETMEK 0 Reputation points
commented 2024-09-27T07:56:27.77+00:00
JasonPan - MSFT 5,466 Reputation points Microsoft Vendor
2 answers

Debugger is not hitting breakpoint set in SharePoint 2010 application code in Visual Studio

I have my SharePoint 2010 application code in Visual Studio. I did clean, rebuild and deploy solution. I have done "Attach to Process" w3wp.exe files in the debug, but debugger is not hitting breakpoint when trying to work on UI. IIS reset is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,080 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,958 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
996 questions
asked 2024-09-19T11:25:46.3666667+00:00
VG 0 Reputation points
edited the question 2024-09-27T07:26:34.6766667+00:00
RaytheonXie_MSFT 35,311 Reputation points Microsoft Vendor
0 answers

Autocomplete list Selection using Key Up/Down in Textbox and Scroll should move in asp.net c#

When pressing the up or down keys in an autocomplete textbox, if dropdown options are available, the selection should move through the values, and the scroll should adjust accordingly, moving from top to bottom or bottom to top based on key…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
asked 2024-09-21T13:44:47.67+00:00
Ashok Kumar 201 Reputation points
commented 2024-09-27T07:01:38.9866667+00:00
Lan Huang-MSFT 29,251 Reputation points Microsoft Vendor
0 answers

System.Runtime.CompilerServices.AsyncTaskMethodBuilder

Hi, I am getting the below mentioned error. Don't know why it was showing. I guess this comes due to I migrate the dotnet version from 6 to 8. can you resolve my issue? { "error": "Error getting value from 'Context' on…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,545 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
333 questions
asked 2024-09-25T13:47:25.9333333+00:00
Stivin 0 Reputation points
commented 2024-09-27T05:50:17.7+00:00
Stivin 0 Reputation points
1 answer

Converting ASP.NET MVC Framework csproj Question

Hello - I have a few different ASP.NET MVC projects that build on .NET Framework 4.8 I want to convert to the new SDK style csproj format. I was able to convert it over fine, but once I try and publish the project, all of the DLL files are not located…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
asked 2024-09-20T18:44:37.6566667+00:00
Palmer, Jared L 36 Reputation points
commented 2024-09-26T09:01:52.0466667+00:00
Lan Huang-MSFT 29,251 Reputation points Microsoft Vendor
3 answers

valdiate gridview data using asp.net c# code behind on button click

Hello This Is my MS sql data /****** Object: Table [dbo].[Table_11] Script Date: 09/22/2024 19:00:36 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[Table_11]( [ID] [int] IDENTITY(1,1) NOT…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
asked 2024-09-22T13:37:28.3666667+00:00
RAVI 1,056 Reputation points
commented 2024-09-26T02:24:28.0166667+00:00
Lan Huang-MSFT 29,251 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Migration from .NET 6.0 to .NET 8.0: Compatibility and Considerations

Hello everyone, We have a solution with a vast number of projects, and we are aiming to migrate some of the components to .NET 8.0. Before proceeding with the migration, we want to ensure that we will have full compatibility and support for it. Our App…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,823 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,545 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,721 questions
asked 2024-09-19T01:46:58.35+00:00
Juan-4116 20 Reputation points
commented 2024-09-25T09:35:07.6866667+00:00
ajkuma 26,036 Reputation points Microsoft Employee
1 answer

how to export into Microsoft excel from the coulmns of a table

WhatsApp Image 2024-09-24 at 3.34.05 PM.jpeg want to export data from the table as attached file into excel sheet in the attached format

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,823 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
asked 2024-09-25T07:54:59.5133333+00:00
Raj Kumar 0 Reputation points
answered 2024-09-25T08:31:49.83+00:00
Lan Huang-MSFT 29,251 Reputation points Microsoft Vendor
0 answers

Passing ViewModel with Dictionary properties to View throws NullReferenceException

I have a ViewModel that includes two Dictionary properties, Genres and Producers, which I want to send to the View. However, when I try to loop through the Dictionary properties in the View, I get a NullReferenceException error. The data appears to be…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
740 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
asked 2024-09-24T03:31:58.87+00:00
Emmanuel Campos 0 Reputation points
commented 2024-09-25T04:21:59.0933333+00:00
JasonPan - MSFT 5,466 Reputation points Microsoft Vendor
2 answers

i cannot edit the design and drag and drop controls from toolbox in webform

cannot drag and drop controls from toolbox in webforms

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
asked 2024-09-24T18:16:54.33+00:00
Omkar Jaiswal 0 Reputation points
answered 2024-09-25T02:34:14.0766667+00:00
Lan Huang-MSFT 29,251 Reputation points Microsoft Vendor
1 answer

Replicating ASP.NET Request Validation Behavior in .NET 8 for Automatic Input Validation ?

In our current ASP.NET Framework 4.7.2 application, we utilize request validation to automatically check for potentially malicious input by setting requestValidationMode to 4.0 in the web.config file. This ensures that requests are validated for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,545 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
asked 2024-09-17T11:42:05.3466667+00:00
Kirankumar Bharsadiya 40 Reputation points
edited the question 2024-09-24T07:27:16.2533333+00:00
Jack J Jun 24,491 Reputation points Microsoft Vendor
4 answers

How to invalidate .AspNet.ApplicationCookie Cookie in ASP.NET MVC 4.6.2

Hi Sir/Madam I have web application using ASP.NET MVC 4.6 version. In Startup, I am creating ApplicaitonCookie like below app.UseCookieAuthentication(new CookieAuthenticationOptions { AuthenticationType = "ApplicationCookie", ExpireTimeSpan =…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 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,887 questions
asked 2024-09-16T07:36:43.33+00:00
Srinivas Balanagu 0 Reputation points
commented 2024-09-24T01:36:16.4566667+00:00
XuDong Peng-MSFT 10,511 Reputation points Microsoft Vendor
4 answers

Windows service HttpClient with HTTPS support

Hi.I have a **Windows service** that makes calls to an http web page via an **HttpClient **object. Now the website is HTTPS but when I call the https page it gives an "Unauthorized" error. I am using Visual Studio 2013 with .NET Framework 4.5.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 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,887 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
333 questions
asked 2024-08-20T15:23:18.29+00:00
39662036 0 Reputation points
edited a comment 2024-09-23T23:37:07.56+00:00
39662036 0 Reputation points
2 answers

Compression and Encryption of files while sending over network

Is compression and encryption mandatory when sending files over the network using ASP.NET, or does the ASP.NET web service handle these tasks by default?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
asked 2024-09-20T10:40:19.3+00:00
winmantest 0 Reputation points
answered 2024-09-23T09:56:18.9033333+00:00
Lan Huang-MSFT 29,251 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Multiline asp:textbox (into a asp:gridview) auto adjust it's height according to the amount of text

Hi forums, I would like to consult about a issue I am facing. I have a gridview where there is a textbox that is filled from a SQL DB when such info is called from a click event, but I want to adjust the height according to the amount of text is pushing…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,823 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,474 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,720 questions
asked 2024-09-22T01:38:55.3866667+00:00
José Santos 20 Reputation points
edited the question 2024-09-23T07:10:08.8933333+00:00
Jiale Xue - MSFT 44,841 Reputation points Microsoft Vendor