373,511 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-3
votes
0
answers
69
views
This site can’t be reached — ERR_HTTP2_PROTOCOL_ERROR when running ASP.NET project [duplicate]
when I run my .net MVC project, the following error message show on the browser: "This site can’t be reached."
The webpage at https://localhost:44382/weatherforecast might be temporarily ...
2
votes
0
answers
63
views
Visual Studio project error after Windows update [duplicate]
After I updated my Windows 11 Pro installation, I got the following error when debugging or running my project within Visual Studio 2019 and Visual Studio 2022.
The project solution is a Webform ...
0
votes
0
answers
64
views
HTTP post request keeps returning Error 400
So long story short, in my ASP.NET application I am making a post call where I supply JSON content like this below.
using (HttpClient Client = new HttpClient())
{
var Request = new ...
0
votes
0
answers
50
views
Using [FromQuery] with a .NET controller for an optional boolean query string parameter where presence alone should set it
.NET has [FromQuery] to get query parameters on the path.
For instance my/foo?bar=1 maps to:
public class MyController : Controller
{
[HttpGet]
public async Task<Whatever> Foo([FromQuery]...
0
votes
0
answers
28
views
Error adding expense: ClientException: Failed to fetch, [closed]
I'm trying to build expense tracker in .net and web api i have hosted it successfully on render and my render endpoint is working successfully on postman i can able to do crud operations, but for UI i ...
0
votes
2
answers
48
views
.NET 4.6 to 4.8 update - package and updated file location under references
I am trying to update a legacy ASP.NET 4.6 app to .NET 4.8. The app contains 2 class library projects as well.
I'm now using VS2022 for the updating instead of VS2017/2019 that I was using before.
For ...
0
votes
0
answers
30
views
Problem with populating Fast Report via .NET code
I am trying to populate my fast report with dummy data using .NET code
DataTable dt = new DataTable();
dt.Columns.Add("name", typeof(string));
dt.Columns.Add("days", typeof(string))...
-1
votes
1
answer
47
views
Application fails on non-primary MongoDB cluster [closed]
Mission: I am attempting to add Mongo Cluster support to our ASP.NET application.
Environment/Setup: ASP.NET application running locally with a local Mongo 7.X database. Setup is replicated on two ...
0
votes
0
answers
52
views
How to return data annotations error message in one string?
I'm using data annotations from System.ComponentModel.DataAnnotations in my ASP.NET project. I get an error message where you can describe the requirements such as "Name is required" and etc....
1
vote
0
answers
47
views
WebDAV using SQL storage opens office document in read-only mode
I am building a proof-of-concept WebDAV server with SQL storage, not physical on disk storage in ASP.NET Framework. This server needs to integrate with an existing ASP.NET Framework application.
I’m ...
1
vote
0
answers
32
views
Generating End of Day Forms using the Amazon SP-API
We are trying to automate the generation of a USPS Scan Sheet which is found in the End of Day forms in Seller Central. Does anyone know if this is possible? I have not been successful in locating ...
-1
votes
0
answers
34
views
ASP.NET - Microsoft Word Interop COM Exception
I have an ASP.NET page that loads MS Word document via Interop, then populates some fields in the document and exports the final document as PDF.
There is a strange behaviour - sometimes it works and ...
0
votes
0
answers
28
views
MSBuild - Publishing a WebForms project with references to other WebForms project
I have an ASP.NET webforms project (A) which references two other webforms projects (B and C) that I'm trying to publish with precompilation enabled from the command line with MSBuild using a publish ...
0
votes
0
answers
28
views
Connect APM server to elasticsearch
I am trying to send telemetry data from ASP.NET app to elastic search. (logs, metrics, traces).
I tried to log data without APM. Logs are sent to elastic without APM, but trace does not work. To ...
1
vote
0
answers
44
views
Dockerizing ASP.NET MVC application on .NET 4.5.2 - 404 from ManagedPipelineHandler on hitting an action method
I am trying to dockerize an existing ASP.NET MVC application running on .NET 4.5.2. I am using mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019 as the base image (the base ...