ASP.NET - xmlformatter
I have software that was developed for me. It is ASP.NET which I have no experience with thus the development. This was delivered a long while ago. I need to make changes and am struggling. This is a webservice with an api that you can call externally…
Getting 500 internal server error in IIS published site. Though it was working fine previouly.
Getting 500 internal server error in IIS published site. Though it was working fine previouly. HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error has occurred. Most likely causes: •IIS…
show financial year from date and to date
Hello I have two requriements 1) Current financial year Is Apr-2023 TO Mar-2024 In asp.net dropdownlist it has to show previous 3 years financial format as below for example on pageload Apr-2023 TO Mar-2024 Apr-2022 TO Mar-2023 Apr-2021 TO Mar-2022 …
Simple Graph Chart Required For Asp.net c# MS SQL
Hello This is my table data /****** Object: Table [dbo].[Table_2] Script Date: 03/28/2024 11:06:28 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Table_2]( [ID] [int] IDENTITY(1,1) NOT NULL, [JAN] [float]…
Unclear exception captured
Hi, The exception captured is mentioning the error on 1st line of the event below. If I remark 1st line of the event, it will further mention the other parts that is after such "if part". I do not know why the exception is making the issue…
i get error Document was closed when try to display page number on pdf ?
I try to display page number at the the bottom of every page when export to pdf but i get error as below I get error iText.Kernel.Exceptions.PdfException: 'Document was closed. It is impossible to execute action.' on line int pageCount =…
How to implement SAML in asp.net , c#
Hello, I want SAML 2.0 implementation in asp.net application, Is there anyway I can do it natively in .net framework 4.5 without using any third party component. Any code snippets or link to any article ? Thank you maxmax
How to send all listview databound data to itemcommand event
I would like to retrieve all listview bound data in code behind when i click a button. I have tried itemcommand event while using select command although i only able to retrieve the control bound data for this event. whereas i could do with retrieving…
Gridview Column Total
Hello This Is My Aspx Page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %> <html> <head runat="server"> <title>Untitled…
How to implement reset password functionality in asp.net core for an user who didn't sign in using asp.net core identity
I am working on a legacy Asp.Net Web Forms application which is nearly 18 years old. It uses a simple form based authentication where the users enter their username/password and the user is authenticated by matching the username/password saved in the…
How do create a .NET 4.8 project when my only options are Core 6 and 7?
How do create a .NET 4.8 project when my only options are Core 6 and 7? Environment: Net Core 6 MVC, Visual Studio Community 2022 (64 bit), WIndows 11 If you want to improve, be content to be thought foolish and stupid... ― Epictetus Sometimes the…
How to remove html tags and line break plain text
I wish to re format the email html page text below to a plain text style in a legible presentation with line breaks where breaks are present. The regularExpression example i am following for simplification, does not seem to work? ```Note, i am…
Merge Gridview Row Based If Field2 Empty
Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %> <html> <head runat="server"> <title>Untitled…
How To Get Sub Total And Grand Total
This Is My Aspx Page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default3" %> <html> <head runat="server"> <script…
Can VB.NET / ASP.NET MVC call the charp enterpriceservice.component COM+ component of .NET 4.6.1 through progid?
Can VB.NET / ASP.NET MVC call the charp enterpriceservice.component COM+ component of .NET 4.6.1 through progid? Currently, when calling the enterpriceservice.component component, there are conflicts between System._comobject and…
Using C# Code Convert To Zero If DBNULL
Hello I get this error how to convert zero in c# code behind Thanks
Could not load file or assembly Microsoft.Owin, Version=3.0.1.0
I read similar posts at this forum but my situation is unique. The error suddenly appeared after a successful deployment to Azure web app. The .Net framework is 4.7.2. There was no code change. The local run has no issue. Previous deployments were…
.NET 6.0 framwork SSRS Report Viewer.
Hi Team, I am using .Net 6.0 farmwork with MVC. Not able to bind Report viewer in razor pages. .Net 6.0 not supporting old packages and web forms. How to bind SSRS rdl in .Net 6.0 MVC framework. Kindly provide a solution with an example source…
ajax post always sends null parameter to my controller
HTML: @{ ViewBag.Title = "exrcise3_usingJqueryPost"; } <h2>Personal Information</h2> Enter first name: <input type="text" id="fname" /> <br /> Enter last name: <input type="text"…
Merge Repeater Row If Field2 Is Empty
Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %> <html> <head runat="server"> <title>Untitled…