No duplicate items in a list
Good day everyone! Hoping to get some help on a problem. I have an application where users can enter events and then are assigned a random card, 1-14, but each user must have a card that isn't a duplicate of another user's card. So when Joe enters an…
How to catch the exception include exact line number and element where the error occurred in XML file C#
Anyone please help me out How to catch the exception include exact line number and element where the error occurred. I tried so many things but didn't worked. Please do the needful When deserialize I got the exception.. here is my code public static…
Asp.Net Machine Account
Hello everyone. ASP.NET Machine Account. take over my computer. Every time I open an application, it asks for a password and I don't know what the password is. I have only local account. I need help...
Database update/insert fails
I have the following Model class: public partial class EmployeeInfo { public int EmployeeInfoId { get; set; } public int PolicyYear { get; set; }= DateTime.Now.Year; public DateTime DateFormFilled { get; set; } = DateTime.Now; …
Is Webforms javascript scripts secure?
I did a security scan on an app that uses webforms. I found 10 security-related issues in several javascript files. I have not modified these scripts in any way. Can these issues be considered false positives? Most of the issues raised by the security…
How to test a subdomain / webpage in VS, with localhost
Hi, I'm building a ASP.NET MVC app, using VS2019. For this app, the url in Prod should be: www.myapp.com; and the functionality for this application requires a list of pages customied for each client, for example: For client 1, they should go to:…
How to get parameter value after submit the form in asp.net c# using jQuery
I have created two aspx pages{page1.aspx and page2.aspx} with master page {main.master} and I redirected to page2 from page1 with `<a>` tag button click (in page1) my logic is executing fine but while I'm calling that parameter in page2.aspx using…
Blazor WASM + MVC integration throws error
Hi there I am trying to implement the Blazor WASM+MVC integration mostly as described in here: [http://rtur.net/posts/adding-blazor-webassembly-to-existing-mvc-application] It is working Ok on my development environment but when deploy to Staging, it…
Foreach button click ajax help
Good day everyone! For some silly reason, I'm having a brain fart and can't remember how to add data to table when clicking on a button inside of a foreach loop. I have added some code below: I do get the id passing to item but I don't think it's being…
How to get the values into text boxes from asp:treeview link?
Hello, i am working on a web application where using ASP:treeview control to display files link so that user can click and get the values into respective textboxes. my link file name format is "001193 - La Cabana - Ins Boiler and Machinery -…
Using the SUMIF() of EPPLUS For Excluding Rows Programmatically in MVC C#
Please I have a report spool from an SQL Table and exported it to Microsoft Office Excel through EPPLUS. Category FIELD Contains the different types of Clients. When the client is a staff, the Commission is waived. Category='001' and '002', etc. were…
why WCF Hosting service in a mixed way like saas and laas
Hi, I right now have a WCF backend in a Windows administration uncovered through net.pipe for an ASP.NET web application, on premise. I might want to move to Sky blue in Full Face Snorkel Mask is it conceivable to introduce the WCF administration on at…
select table row value populate in form control(Dropdown,text field)
I am selecting or Clicking on row of table, then relevant data from get populate in downdown and text field, issue is that text field is getting populate ,but dropdown field is not getting populating ,i am sharing my whole code.. View @model…
Ocx which developed by FMC add to Asp.Net
I have developed an OCX by MFC AcxtiveX in Vs2019. This OCX can be added to Toolbox in Winform. But can be added to ASP.NET toolbox. When I tried to add it to toolbox. A Error massage occurs “The controls is successfully added to toolbox ,but it can be…
Medicine issue module website
In my Asp.net+VB+SQL database website. I have a table named Clinic_Medicine USE [FTH_BLR] GO /****** Object: Table [dbo].[Clinic_Medicine] Script Date: 3/2/2023 11:18:46 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING…
value is always null when using HttpContext.User.Identity.Name
Hello, I am trying to get the value in x and y variable from window.security and HTTPContext, but not sure what am I doing wrong that the value is always NULL. var x = System.Security.Principal.WindowsPrincipal.Current.Identity.Name; var y =…
Why does button inside update panel refuses to fire on click?
I have 2 buttons inside an update panel. There is also a gridview in the update panel. When I click on the button it does not execute the command which its supposed to. Here is my HTML and code <div style="margin: 0 auto; padding:…
Problemas al ejecutar los servcios de texto a voz de azure en un webform
Tengo un código hecho en asp.net que convierte texto a voz usando los servicios cognitivos de Azure. si pruebo el código en un winform me trabaja bien. pero si lo ejecuto en un webform me manda el siguente mensaje: System.DllNotFoundException: 'No se…
"Adding sign-in with Microsoft" example does not work on my working VDI
Good day everyone! Background: I have old legacy ASP.NET MVC on premise application running on local windows IIS. I'm investigating ways to integrate this application with Azure AD authentication. As far as I can understand (Windows IIS integration with…
This Infragistics control requires a ScriptManager object on the page in order to operate correctly.
Server Error in '/' Application. This Infragistics control requires a ScriptManager object on the page in order to operate correctly. **Description:**An unhandled exception occurred during the execution of the current web request. Please review the…