200,782 questions
0
votes
0
answers
17
views
MediatR Nuget package versions creating problems
I am getting a version mismatch error when using MediatR in my .NET project.
What happened:
Yesterday my project worked correctly with no errors.
Today I updated some NuGet packages by mistake.
After ...
0
votes
0
answers
30
views
Build on save no longer working in vs 2022 - 17.14.20
This only happened a few days ago and I usually keep on top of the updates in vs 2022. When making a change the the code behind for a razor partial view - hitting save would auto-build the changes and ...
0
votes
0
answers
37
views
Issue with Add Draw Ink And Re Open in PDF Viewer after Modifications in library Syncfusion , Js And Asp.net core mvc
I am experiencing an issue when using Syncfusion PDF Viewer with PDF files after making edits using the Draw Ink tool or any other tools :
I opened a PDF file using PDF Viewer.
I added text using ...
0
votes
0
answers
25
views
SustainSys ASP.NET MVC 4.* question - The signature verified correctly with the key contained in the signature, but that key is not trusted
SustainSys has been working for webforms, ASP.NET MVC on .NET 4.8, and ASP.NET Core on one server for a while.
I want to move the apps to some other servers using the same certificate. I was able to ...
2
votes
2
answers
199
views
How do you add a choicefield dropdown to the form builder connectors settings section in sitefinity using FormsConnectorDefinitionsExtender
I'm trying to add a dropdown to the connectorsSettings section in the form builder using FormsConnectorDefinitionsExtender.
My field gets added but only the first choice is rendered and is rendered as ...
0
votes
0
answers
40
views
Partial view with pagedlist inside a Tab control
After several days and multiple attempts using examples, I am still struggling to get a partial view to page inside a tab control. In the code below, when selecting the 'tab4' Tab 1st time, it ...
0
votes
0
answers
52
views
TLS issues with ActionMailer.Net [duplicate]
I have an ASP.NET MVC application, that uses the following package
ActionMailer.net
This has been going beautifully for many years, but lately we have been hitting issues with the mail servers we have ...
1
vote
1
answer
96
views
Keycloak supported ASP.net app loops following authentication
My program has recently began support of Keycloak and I have been doing my best to learn it while managing my other tasks. However, I recently came across an issue that I simply can not seem to solve.
...
0
votes
0
answers
69
views
.AspNet.Cookies not set in IIS virtual application when using OWIN cookie middleware with .NET Framework
I'm running a .NET framework 4.7.2 application using OWIN cookie authentication under IIS as a virtual application locally (e.g., https://example.test/cms/) but I end up in and endless redirect loop ...
1
vote
1
answer
43
views
CSP Violation when including iframe in web page
I have an iframe embedded in an ASP.NET web form. I have included what I thought was the correct Content-Security-Policy values in the web.config.
However, I still get a CSP violation in the web ...
0
votes
0
answers
36
views
How to configure ASP.NET MVC (.NET 4.8) app to work under /report location with Nginx?
I have an ASP.NET MVC application (on .NET 4.8). Currently, the DevOps team has set up Nginx to handle requests with: location: / and this works fine.
Now they want to change the setup so the ...
0
votes
0
answers
62
views
Debug SessionState using SQL Server connection error
I have an ASP.NET MVC application that is configured to use SQL Server to save the session state. If there is an issue with the session state connection string (invalid password, server, etc) my ...
2
votes
1
answer
101
views
Why doesn’t ActionResult<T> work in .NET Azure Functions isolated worker model?
I recently upgraded a .NET Function App from the in-process worker model to the isolated worker model.
After the upgrade, I noticed that none of the HTTP-triggered APIs were returning any data.
On ...
0
votes
1
answer
68
views
ASP.NET MVC Create View - Where to place ValidationMessage (Fluent Validation) for a variable
I have this validator class:
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using DocumentFormat.OpenXml.Linq;
using ...
0
votes
1
answer
49
views
Dropdown list choice not linking to underlying table in Details.cshtml when dropdown list is used for more than one field
I am using ASP.NET MVC with a SQL database backend. I have a table that lists individuals which I use for two fields in another table. One field is for the Chief Investigator (ChiefInvestigatorID), ...
0
votes
0
answers
75
views
ASP.NET MVC model binding FormData with arrays (with bracketed indexes)
Using model binding, ASP.NET MVC can take FormData from a form with repeating elements, signified by the use of indexes in square brackets, and populate a .NET object.
So this:
MyItem[0].MyId=1321&...
0
votes
1
answer
46
views
Kendo MVC Grid Row Filter without decimals
I have a kendo grid on an MVC site with several integer columns, and I am using a row filter. The problem is that when you enter a number in the filter, it shows up with commas and two decimal places.
...
0
votes
1
answer
122
views
Does the dynamic keyword box the value types? [closed]
This project is ASP.NET MVC Framework 4.8 with Entity Framework 6 and uses:
dynamic GetSystemSetting(string paramCode, string paramType)
It contains Int, Float, Bool, String, and Guid values. It is ...
0
votes
0
answers
42
views
How can I bind the results from a paginated ASP.NET Web API endpoint to a jQuery DataTables table in my ASP.NET MVC view?
I'm attempting to pass paginated results from a Web API to an MVC application and displaying in the View using DataTable. While I've successfully retrieved the data from the server and transmitted it ...
1
vote
0
answers
45
views
DevExpress MVC Grid Callbacks Not Reaching Controller After Migrating to Azure AD B2C (OWIN)
I have an ASP.NET MVC web application using DevExpress controls (specifically ASPxGridView and MVCxGridView) that was originally using Forms authentication.
As part of a security enhancement, I’ve ...
0
votes
1
answer
53
views
How to turn off JSON error responses in ASP.NET Framework 4.5
We have an old app and no matter what we do, we can't seem to get it to stop emitting JSON error responses. We want just a generic message that won't expose important security details.
We've compiled ...
0
votes
1
answer
73
views
Cannot pass validation because lists that populate dropdowns are invalid for some reason
ListingController.cs:
public IActionResult Create()
{
CreateListingViewModel model = new()
{
AllCities = new SelectList(_addressRepo.AllCities()),
AllItems = new SelectList(...
1
vote
0
answers
27
views
exe file not executing from deployed ASP.NET MVC app in TAS (Tanzu /PCF)
I am facing an issue for my ASP.NET MVC web application on .NET 4 being deployed to TAS.
I am trying to do image compression using ffmpeg.exe.
While it is working on my local machine, I get an "...
0
votes
1
answer
155
views
DevExtreme selectbox refresh (reload) datasource
I'm using a DevExtreme SelectBox in an ASP.NET MVC project. I want the data source to reload every time the dropdown is opened, so that dynamic LoadParams values (like EmployeeId and DocumentDate) are ...
0
votes
0
answers
47
views
Publish Error in ASP.NET MVC - Could not find file 'bin\*.xml' during deployment
Problem
While publishing my ASP.NET MVC project using Visual Studio 2022, I ran into errors.
Similar errors appeared for:
Newtonsoft.Json.xml
System.Web.Helpers.xml
System.Net.Http.Formatting.xml
...