8,680 questions
1
vote
0
answers
41
views
Could not load file or assembly 'System.Threading.Tasks.Extensions' even though binding in web.config appears correct?
I got the following error when attempting to load up an application:
Could not load file or assembly 'System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=...
0
votes
0
answers
63
views
Can't resolve 'child_process', 'dgram', 'tls' in vue-cli library
When i do npm run serve i get multiple resolve errors:
More than 10 messages about can't resolve something of this ('child_process', 'dgram', 'tls') in @vue/cli-shared-utils.
My settings:
package.json:...
0
votes
0
answers
40
views
How to provide custom headers in web.config but only for error pages
My application normally adds a Content-Security-Policy header to the response with nonces for script-src. The nonce is generated at runtime, so I can't define it statically in web.config.
Security ...
0
votes
0
answers
34
views
CustomError Mode off not showing detailed error message in ASP.NET MVC
On localhost I have set custom error mode off in web.config. There is no Application_Error method in global.asax. I have also commented HandleErrorAttribute in filter.config, but still I am not ...
0
votes
2
answers
101
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
1
answer
79
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-...
1
vote
2
answers
303
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 ...
0
votes
1
answer
77
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
1
answer
57
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
0
answers
32
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
274
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
103
views
How to use variable from <appSettings> in Web.config to configure sessionState?
I want to have a key in appSettings of web.config:
<add key="EnableCookieBasedSession" value="true" />
Based on this key I want my ASP.NET 4.8 web app to use cookie based ...
0
votes
2
answers
153
views
IIS: ERR_TOO_MANY_REDIRECTS with HTTPS Redirect Rule in Web.Config
I'm hosting a website (as a proxy with ARR) on an IIS server, and I want to redirect all HTTP traffic to HTTPS. However, when I enable the redirect rule in my web.config file, the browser returns ...
0
votes
1
answer
580
views
Suppress X-POWERED-BY header in .Net Core web site without using web.config
I look after a collection of a few dozen similar web sites, hosted on an Azure Web App service running under Windows and IIS. To keep things manageable and cut out duplication, their Startup and ...
0
votes
1
answer
122
views
HSTS and redirection IIS 10
I enabled HSTS in iis v 10.0.20348.1.
Enable HSTS
Enable IncludeSubDomains
Enable Preload
Enable Redirect Http to Https
I was testing my website here https://hstspreload.org and I got this error:
...
0
votes
1
answer
105
views
.Net Framework - Sustainsys not launching call to IDP
I have an old .Net Framework 4.7.2 application which is using Sustainsys and Sustainsys.Saml.Mvc (version 2.9.2) to perform authentication via SAML.
The configuration is set in the web.config, ...
-1
votes
1
answer
70
views
What to give path in firefox Driver config file in Jmeter as I am using Macos
Here is screen shot as I am using macos I am unable to find setup steps . I have already installed firefox in my system. So please help me .
Due to which when I run facing this error :
2024-10-06 ...
0
votes
1
answer
103
views
Redirect chain problem in web.config, Windows Server 2020 IIS
Lets say I have https://helloworld.com as my website. What is the best practice now to fill up the web.config file? My SEO analyzer complaining about redirect chain problem, that https is redirected ...
0
votes
2
answers
90
views
Insert an element in web.config based on key value in appsettings
We have a requirement to apply a transform based upon an app setting value in web.config for our ASP.NET MVC project.
<!--web.config-->
<?xml version="1.0" encoding="utf-8"...
0
votes
1
answer
47
views
Web.config transform on custom section with attributes
I would like to transform a part of my 'web.config' file using a transformation file, but the value I am trying to change is within sections with attributes and the transformation does not occur if I ...
0
votes
1
answer
136
views
maxQueryString restriction .net core deployed to Azure windows app service
I ran into an issue with signalR's js client in which when using the token factory, the token is sent in the query string. When our .net 8 application was deployed to azure, if the token exceeded ~...
-1
votes
1
answer
44
views
"How to Transition ASP.NET Application from Full Trust to High Trust in a Shared Hosting Environment?"
I am deploying an ASP.NET application that currently runs in a full trust environment. The hosting provider supports high trust, but not full trust. I need to adjust my application to comply with high ...
-3
votes
2
answers
54
views
What's the breakdown of the following regex? [duplicate]
^((?!ca-ct.mydomain)(?!ca.mydomain)(?!cats.mydomain).)*mydomain.com$
I got the above expression from a web.config file, it's supposed to filter out anything that contains ca-ct.mydomain or ca....
1
vote
1
answer
53
views
Domain without www returning 301 as expected but 404 with www
I need both versions of a URL to resolve properly, "www.example.com" and "example.com". Currently only the root domain actually gets redirected as it should (302). The www url ends ...
0
votes
1
answer
64
views
web.config rewrite emitted image file
I'm trying to use the web.config's <rewrite> section to override an emitted GIF file that is used for styling a menu toolbar. The GIF is emitted from a DLL that I don't have full access to (...