8,696 questions
0
votes
2
answers
54
views
There was an exception running the extensions specified in the config file. System.Web.HttpException: maximum request length exceeded
I get the following error when trying to make a HTTP call to an .asmx web service.
System.Web.Services.Protocols.SoapException: There was an exception running the extensions specified in the config ...
0
votes
2
answers
28
views
Nest js deploying on MonsterASP
I'm currently working on deploying a NestJS application on MonsterASP and would appreciate any guidance or shared experiences from those who have undertaken a similar task.
What I've Done So Far:
...
0
votes
1
answer
35
views
How to mitigate an HTTP Parameter Pollution vulnerability in the ASP.NET Web Forms application for the IA404error.aspx
We ran a security scan for our application which is ASP.NET Web Forms and received the following report
Proof The parameter 'aspxerrorpath' has been injected a second time and the value 'was-tnb-...
0
votes
2
answers
49
views
Migrating from .NET Framework to .NET 9.0, How to access ConnectionStrings from a static class? (web.config vs appsettings.json)
I am in the process of migrating a large solution from .NET Framework 4.8 to .NET 9.0. I used .NET Upgrade Assistant to get started. I have a long way to go.
All of the projects in the solution have ...
1
vote
2
answers
143
views
Visual Studio 2022: ASP.NET Core web application and web.config transformations
Platform
Windows
ASP.NET Core 8.0
IDE
Microsoft Visual Studio Community 2022
Version 17.13.2
VisualStudio.17.Release/17.13.2+35825.156
Windows 10
Problem
I have a simple ASP.NET Core 8.0 web ...
1
vote
1
answer
76
views
Visual Studio incorrectly modifying web.config on publish
I'm having an issue where Visual Studio is modifying my web.config for encoded values on publish, but not on build, which wouldn't be a major issue except it's incorrectly changing them.
Specifically, ...
0
votes
1
answer
41
views
XML Transforms Not Working in Devops Release Task
I am attempting to use XML transformations in the release task in my Devops config. It seems that only some of the xml settings are getting transformed, and not all of them. My main goal is to get ...
0
votes
0
answers
32
views
Proper web.config for removing .html in url on godaddy site
I am using a web.config file to remove the .html from the url on my godaddy site I set up for a non-profit org. I am rather new to this and was given this code from a friend to help and got nothing ...
0
votes
0
answers
28
views
How do I add a new Sitefinity settings element via web.config?
I'm trying to set up Azure Single Sign-On for my Sitefinity site. This requires changing/setting some settings, and also adding new elements. I can get it working manually, but because of the build ...
0
votes
1
answer
33
views
IIS shows error with generated web.config
publishing my web.app (build with dotnet core wasm standalone - SPA) generates a web.config, that looks good, but IIS cannot open it.
f.e. when i click on MIME it shows:
The same on other Settings. ...
0
votes
0
answers
14
views
ReportViewer control not displaying reports - when compilation debug="false"
I have a report that was not displaying, thanks to ASP.NET Report Viewer runs but doesn't show any data, I was able to get it to work (adding AsyncPostBackTimeout to the script manager tag), but ...
0
votes
0
answers
50
views
WCF async Calls Do Not Return Immediately
I'm using a loop to call WCF async functions.
for (int i = 0; i < listData.Count; i++)
{
// Some in-memory process here
Globals.CXClient.ComputePerformanceDimensionAsync(i);
// Some ...
0
votes
1
answer
32
views
Redirect in web.config from one domain to another including sub path
I need to 301 redirect from one domain to another and include the sub path E.g.:
https://old-domain.com/contact --> https://new-domain.com/contact
How is that possible.
For now I have the following ...
0
votes
0
answers
226
views
Laravel 11 Reverb config for production SSL Nginx
Problem with running Laravel 11 Reverb on a production nginx server on a domain with https. I'll tell you right away that everything works on local! I tried and found many options on the Internet, I ...
0
votes
1
answer
89
views
web.config - rewrite rule to change header value is not working
I want to change content-security-policy header by rewrite module in IIS.
Here is default CSP in customer header:
<httpProtocol>
<customHeaders>
<add name="Content-...