8,680 questions
0
votes
1
answer
113
views
Why am I getting Compilation Error from web.config
We have a .NET 4.8 WCF project that was working just fine and compiles just fine but is now throwing up the following web.config compilation error when I try to access any end point:
Compilation ...
1
vote
0
answers
49
views
Difference between Compilation and Release/Debug in Visual Studio
In Visual Studio, you have at the top, a top down with Release/Debug options and also in the web.config a setting called Compilation where there is a setting called Debug where the values are true and ...
0
votes
1
answer
110
views
How does one control access to third party weak-security website from an asp.net.identity App?
How can I control access to a 2nd website from an ASP.net core website, both running on the same IIS 10 server?
My team is implementing a "gateway" or "wrapper" ASP.net core C# app ...
0
votes
0
answers
43
views
Unable to authenticate into a Web Form ASP.NET site after publishing/deployment on the Windows Server 2016 Datacenter
We have a strange and extreme problem when publishing our latest code from Test/UAT region to a production region.
After publishing to a production the authentication stops working, users cannot login ...
0
votes
1
answer
189
views
Visual Studio 2022 not hitting breakpoints in WCF service file (.svc) but breakpoints work in unit tests
I'm experiencing an issue where Visual Studio 2022 is not hitting breakpoints in a file (an .svc file) of my WCF project, even though the code changes are reflecting correctly and the breakpoints work ...
0
votes
2
answers
173
views
IIS Rewrite Rule to serve Index.html for React app
Here is my rule to set up rewrite rules to serve a React app's index.html file and it is not working for me, here is the url input http://mypage.com/Error/NotFound?aspxerrorpath=xxxxxxx, I am not sure ...
3
votes
1
answer
1k
views
pull value from Key Vault to use in local dev web.config
I want to store a secret in Azure Key vault, pull into the application settings in an app service (which is working) and when I run the app I can retrieve the data.
Now I want to obtain this value in ...
0
votes
0
answers
405
views
Invalid path to Web.config in IIS when accessing Application Settings
I have a website setup in IIS 7 and when I try to access the Application Settings I get the following error.
The path to the web.config is correct but it is adding \?\ to the beginning of the path. ...
0
votes
1
answer
28
views
Getting null for <system.web> when accessing via C# [duplicate]
I'm trying to get the timeout value in the following from web.config:
<!-- Majority of xml left out for brevity -->
<configuration>
<configSections>...</configSections>
...
0
votes
1
answer
317
views
trying to get value from secret file .NET 4.8 (VB)
I have a legacy web application in .NET 4.8 (VB). I need to add secret file and read value from it.
In web.config and I added the following:
<configuration>
<configSections>
<...
0
votes
1
answer
118
views
IIS URL Rewrite 2 different URLs in one Rule using Conditions, is it possible?
I have two different rewrite rules.
<rule name="Venue" stopProcessing="true">
<match url="Venue/([_0-9a-z-(-)-,-]+)/([_0-9a-z-(-)-,-]+)" />
<action ...
0
votes
1
answer
577
views
HTTP Error 413.1 - Request Entity Too Large issue
I've got an Angular application where I'm trying to use ng2-file-upload to upload files to my server and I keep getting a 413 error back when the file is large. I expect it's a server-side issue, but ...
0
votes
0
answers
273
views
Web.config transform not being performed in .NetCore 6 webapi service
My dotNetCore 6 webapi webservice is hosted on an internal IIS webserver. The web.config has two transforms web.Debug.config and web.Release.config. The web.config is:
<?xml version="1.0&...
0
votes
2
answers
43
views
web.config oldsite to newsite 301, domain/root to new page AND old pages to oldpages
In my web.config file I want to be able to accomplish both redirects below:
Redirect the root/domain:
oldsite.org to newsite.org/this-is-thenewsite
AND
page wildcard redirects:
oldsite.org/any-all-...
0
votes
1
answer
174
views
Getting violation of CSP ERROR on iframe loading
I have this in my CSP key in web.config, frame-src 'self' blob: *.xxx.com *.xxx.com; and other things too like default-src , img-src and all but still while retrieving the image or pdf, I am getting ...
0
votes
0
answers
32
views
Rewrite URL IIS Https rule breaks after adding new rule for JavaScript Versioning
I had a rule Http to Https redirect which was working fine.
But now I am adding new rule in the same tag for IIS rewrite rule to add query string to .js references in the entire MVC website pages.
...
-1
votes
1
answer
708
views
HTTP Error 500.0 - Internal Server Error Flask on iis Error Code 0x00000067
I'm trying to deploy a flask app on IIS using wfastcgi
the IIS is on my personal Windows 10 PC. I followed all the steps in this documentation
it showed me this Error with Code 0x00000067
here is my ...
0
votes
2
answers
822
views
Content Security Policy Error when rendering iframe from specified website
I am currently trying to allow specific websites to render an iframe of my website, but the following Content Security Policy added to my root web.config file doesn't seem to be doing the trick:
<...
0
votes
0
answers
158
views
How to host multiple different SPA's on a static web app with a web.config file?
I have a general static web app (SPA), and inside it, multiple folders representing more static web apps (SPA). The folder structure looks like this basically
index.html
main.js
main.css
App1/
...
0
votes
1
answer
83
views
Web.config Url Rewrite Username (Php)
How can I change the web rewrite url from (u/username) to (/username) like instagram.com/username
My web.config:
<rewrite>
<rules>
<rule name="Rule 1">
<match url=&...
0
votes
1
answer
419
views
ASP.NET Core rewrite rule for www https to https non-www using web.config
Say I want my website www.example.com redirected like this:
https://www.example.com -> https://example.com
How would one achieve this? Here is what I tried, but it does not work. I get an ...
1
vote
1
answer
2k
views
Running Golang server on Windows Server IIS with reverse proxy(configuring web.config)
I am new to Windows servers, however, I am a bit experienced on the linux side.
I am trying to run some golang servers on windows. They have been on linux for a while.
I am using the examples on the ...
1
vote
1
answer
325
views
SSL configuration for shiny server open source
I have a virtual server from our university for deploying my shiny apps. Before SSL certificate was installed on my server, I was running shiny apps on port 3838 correctly. Recently, I decided to use ...
0
votes
1
answer
42
views
C# asp web.config location autorization deny for whole folder
When i set this code in web.config
<location path="Pages">
<system.web>
<authorization>
<deny users="?" />
&...
0
votes
1
answer
36
views
keep forms auth session between sites iis web.config
I have several sites where I am now required to maintain the same session for everyone, without having to log in every time a site is opened.
I have the following configuration on my sites.
<...