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 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%" …
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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
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…
i cannot edit the design and drag and drop controls from toolbox in webform
cannot drag and drop controls from toolbox in webforms
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…
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 =…
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.
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?
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…