This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.
Server Error in '/' Application. Configuration Error __Description:__An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file…
image not loading in modal popup imageurl in asp.net c#
i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…
web.config bindingRedirect not working
Hi, I have two projects. I have a MVC web application called MBSAnalysisMVCWebApp. I also have a .net framework MVC project called Mbsa. I found this link: …
How to send multipart/mime SOAP request from ASP.NET MVC controller
SOAP server requires multipart SOAP request with XML file like Content-type: multipart/related;boundary="MIME_boundary";type="text/xml"; start="<soapPart>" --MIME_boundary Content-Type:…
*.net referenced dll is not seen with a using statement
Hi, I have a project called MBSAnalysisMVCWebApp which is a web app. I reference MBSAnalysisMVCWebApp from my main MVC project called Mbsa. But when I try a using statement, It says MBSAnalysisMVCWebApp cannot be seen? The MBSAnalysisMVCWebApp.dll…
framework realated question
what is frame in framework for .net applicatons like .net framework 3.5 and what it indicates for frames
running asp.net intranet application on localhost asking for authentication
I have an intranet application written int ASP.net core, when I run this application on localhost, I get a pop window asking me to authenticate and once I enter my domain name\my username and password then it authenticates me and lets me run the…
User.identity.getuserid() returns null after signin.
I have a piece of code for login in asp.net C# webform. it uses inbuilt login function, and User.Identity.GetUserId() to catch the userId. But after login the User.Identity.GetUserId() returns null. Below is my login code // Validate the user password …
Show/hide the fields based on the condition in jQuery
how to show/hide the otp->textbox and update->button based the onblur SaveProfileName_Email values change. Initially, when the page is loaded the txtProfileEmail and txtProfileName should contains the default values ex:- txtProfileEmail :- a@b.com…
"owl carousel" not working when appending data dynamically using jquery
I'm appending the data dynamically to "owl carousel" and initially the data is showing correctly and next (when I click the button) I'm erasing and re-assigning the data to the "owl carousel" (because the data will keep change) at…
How to update/save a file in a database in web application
i have a code error and i wish i can get it fix by your noble helps or interventions here is a code block that updates a new product on a product page in a web application this is the code behing the productController.cs file for the cshtml file…
An old ASP.NET WebForms app won't build due to missing references and related
I maintain an old ASP.NET WebForms application, written using VB.NET so long ago that no one knows who started this application. The guy who maintained it, before I was given it, left before I joined. He didn't put anything in any source control, and he…
two decimal for label
Hello This is my sample code Label LRO = e.Item.FindControl("LRO") as Label; LRO.Text = roff; its should return value in something example two digit decimal 12.45 14.00 15.12 how to do so thanks
Upload de arquivos no ASP.NET 4.6.1
Good morning my friends! I'm having a lot of difficulty uploading a 1.5GB file to Asp.Net. I've tried different ways but all without success. I adjusted the web.config like this <httpRuntime targetFramework="4.6.1"…
我们用webform框架使用edge弹窗用什么方式兼容性最好?
使用webform框架RegisterStartupScript方法注入JS实现弹窗功能,在edge浏览会有卡死的情况。请问有什么好的方式来处理这种兼容性问题?
how to set ssl need basic idea and step by step implementation
hello I have hosted my site in IIS and that system has static ip from internet provider for example 55.XXX.XXX.XX anywhere around the world if i enter this ip its working fine now client requirment is he want as website so what i did is i purchase one…
What NuGet package to I use for Microsoft.Office.Interop.Excel?
I maintain an old ASP.NET WebForms application, which is at .NET Framework level 4.5.2. The original developers incorporated an Excel report in this application. I'm trying to get the app to build using a GitHub Self-Hosted Runner running on one of our…
How to enable CSP in asp:UpdatePanel without having to write 'unsafe-inline'
I have an asp:UpdatePanel and asp:ScriptManager in my web form. When I enable CSP in the web.config as below, the functionality of the pages are not working like 'OnSelectedIndexChanged' event of asp:DropDownList and many more. <add…
ASP.NET MVC area issue on IIS 10
I have an existing ASP.NET MVC application (on .NET 4.8), and I have recently added an area to the application (area is registered and the route is mapped). When I deployed the app to IIS, it works as expected on the local server (server-localhost:port),…
CultureNotFoundException Querying SQL database using EF
Hello, I have a Web App (ASP.NET MVC) with controllers making CRUD operations using EF 6. Any operation involving the EF context to read data generates the following exception The Web App is localized in it-IT, setting up ThreadCulture and…