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
Allow only one call to web service method at a time
Hi all, I have an ASP.NET web service installed on IIS. I need to permit only one concurrent call to a specific web method? How can I achieve this? Can I use mutex? I don't have such in-depth knowledge of application pool, processes and threads... Thank…
how can i rerun the sql script using DbUp with new modifications?
Hello I am new to using DbUp and when I run a script it runs successfully but when I add some modifications I get this message Beginning database upgrade Checking whether journal table exists.. Fetching list of already executed scripts. No new…
System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET
Could not load file or assembly 'file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vs\6626fd2f\24c72bd9\App_global.asax.i5a4lpe2.dll' or one of its dependencies. The system cannot find the file specified. Visual Studio 2019…
LoginUser_Authenticate() method not being hit when app deployed to app service
Assistance Needed with ASP.NET Web Application on Azure App Service Good day guys, I recently deployed an ASP.NET web application, which I upgraded to .NET Framework 4.8, to Azure App Service. However, when I attempt to log in to the web app, the page…
Unknown .jsp file creation and deletion inside ApplicationInsights service of my .Net application
We have a very old .Net web application deployed in IIS. Its written in VB.Net and has Application Insights reference. We have notuced a strange file being created in one of the folders and the file being deleted on its own as well. The name of the file…
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%" …
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…
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…
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://learn.microsoft.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…
i cannot edit the design and drag and drop controls from toolbox in webform
cannot drag and drop controls from toolbox in webforms
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…
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?
Calling a Web Api from a WCF client
Yes , I know its kind of weird . I have a web app running with 4.5 Framework. It has some Wcf clients configured in web.config to access the usual soap services. Now I am in a situation where I need to call some Web Api ( whose implementation I don't…
There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key 'TenDonVi'.
At the first time, I used like this and it worked well, there is no error about this: (Controller) public ActionResult EditNV(int? id) { var nhanVien = db.NhanViens.Include(nv => nv.LichSus).FirstOrDefault(nv => nv.MSNV…
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…