Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
107 views

Inn the way the web.config file can be accessed through using System.Configuration.ConfigurationManager in asp.net, is there a way to access values in the appsettings.json file like so, without the ...
Yan Soo's user avatar
  • 17
0 votes
1 answer
86 views

I've been looking into this for a few hours already, and it seems like it can't be done, but I was thinking of trying here as well. For consistency purposes, I want to create a method that updates ...
Ileana Profeanu's user avatar
0 votes
0 answers
54 views

URL redirections are not happening. I have 2 different url(old/new) old: https://olddomain.com/oldarticlecategory/ new: https://newdomain.com/newurlcategory/ Note: I've already created a rule that ...
Anup Dhal's user avatar
  • 619
0 votes
1 answer
74 views

I have an old WCF project that receives xml type of post-call. Recently, the caller says they are facing 500 while calling our endpoint. But when we checked the log, there was no record related to the ...
Circle Hsiao's user avatar
  • 2,004
0 votes
1 answer
76 views

Is it possible to disable caching of aspx, ashx, and javascript files only on one particular app on the website, not for the website globally? Can it be done in the app's local web.config?
Tim's user avatar
  • 8,990
0 votes
1 answer
1k views

I have an application in my subfolder within wwwroot (Finance), which worked fine, but someone else installed another application not in a subfolder but in wwwrooot. So there is a web.config in the ...
Arael Huerta's user avatar
0 votes
0 answers
73 views

We are going to redirect a sites language to one information page during a transition period. This redirect rule have conditions in it that should be allowing some URLs to still be accessible. These ...
Adam7908's user avatar
0 votes
1 answer
75 views

My web app can no longer connect to my mail service because they have change the connecting setting from using the Username & Password Authentication to IP based authentication. Im fairly new to ...
nazran nazain's user avatar
0 votes
1 answer
126 views

I would like to set a new attribute for a node in a web.config file with installation package created with Inno Setup. To set this attribute I'm using procedure SaveAttributeValueToXML. My web.config -...
Markku Rintala's user avatar
0 votes
1 answer
369 views

We sometimes experience an exception while setting properties on an IIS Website. In this particular instance the line of code leading to the error was Set-WebConfigurationProperty -filter "/...
Chris's user avatar
  • 606
1 vote
0 answers
69 views

I was planning on adding another handler in my webconfig to make my reportviewer and updatepanel works this is my current web.config <system.webServer> <handlers> <!-- another ...
hey hej's user avatar
  • 13
0 votes
1 answer
66 views

I'm trying to add a iis url rewrite rule in web.config. The rule should be as follows. If the url does not contain www, then redirect to www However, if the Host contains, 'svha-prd-as-careservices-01'...
chamara's user avatar
  • 12.7k
0 votes
1 answer
539 views

I want to redirect my users from "https://mywebsite.azurewebsites.net/Spa/de/#/.." to "https://mywebsite.azurewebsites.net/Spa/en/#/.." using url rewrite in web.config but it is ...
therealwolf's user avatar
0 votes
0 answers
2k views

How to fix this error? System.TypeInitializationException: The type initializer for 'ServiceStack.Text.JsConfig' threw an exception. ---> System.IO.FileNotFoundException: Could ...
Rohan Khurana's user avatar
0 votes
1 answer
488 views

I am using Spring Boot and Redis to write a user login page. If I add @EnableWebMvc in my webConfig, I will get the following errors and the localhost is not able to find the static resources. If I ...
meimaymay's user avatar
0 votes
1 answer
713 views

Is there an easy way to protect a directory or an entire website without root rights (with only FTP access) on a Windows server such as Linux with htaccess files? Only one user needs to be able to log ...
Xeddon's user avatar
  • 449
0 votes
0 answers
44 views

It is possible to determine hacker whether a directory in the project exists or not. If I disabled directory browsing in IIS, this link throws a different error which is enough to discover whether the ...
Vikrant Shitole's user avatar
0 votes
1 answer
930 views

I use IIS 10. In web.config I have these settings for default errors: <system.web> <compilation debug="true" targetFramework="4.5.2" /> <httpRuntime ...
Mohadeseh's user avatar
  • 386
0 votes
1 answer
376 views

I have an application running on old-example-app.azurewebsites.net. I want to setup a redirect from that application to another one in Azure that is new-example-app.azurewebsites.net. I want to ...
mojojojo8's user avatar
0 votes
0 answers
351 views

I have deployed a ASP.NET core (.NET 7) web application (uses windows authentication) on my company's local intranet (IIS Server). When i launch the application using chrome browser, I get a pop that ...
Kyle Jamieson's user avatar
0 votes
0 answers
764 views

tell me please how to properly configure the web config to run asgi on the iis server? so, now i have next web.config <?xml version="1.0" encoding="utf-8"?> <configuration&...
Сергей Немец's user avatar
0 votes
0 answers
635 views

encrypt credentials in App.config in Visual Studio 2019 I need to Encrypt API credentials in my App.config in c# console application. I'm using .Net framework 4.7.2. I'm using aspnet_regiis.exe ...
SilverFish's user avatar
  • 1,108
0 votes
1 answer
45 views

I know it may be duplicate in some cases but I couldn't find an exact answer for this. I've changed my website url and I created all pages in new format, now I want to redirect old urls to new one, ...
farhad kazemipour's user avatar
0 votes
2 answers
1k views

I have tried to solve the issue of not getting css and images files loaded in browser after url rewriting in IIS for classic asp app. I have found the solution which shows in developer tool's network ...
M.Y.'s user avatar
  • 629
0 votes
1 answer
177 views

My websites html files does not open because of Web API web.config file. I am trying to host my website on Plesk. I put my frontend (HTML CSS JS) files in the httpdocs folder and there was no problem ...
Astro's user avatar
  • 1