Questions tagged [iis-7]
IIS (Internet Information Services) Version 7 – is a web server application and a set of feature extension modules created by Microsoft for use with Microsoft Windows. Released with Window Server 2008 and Windows Vista.
9,498
questions
0
votes
0
answers
7
views
rewrite rule code is not working for deep pages
I write some rewrite rule to manipulate the first folder after domain address as a query string indicating the language.
<rule name="en">
<match url="^en/(.*?/)" />
<...
0
votes
0
answers
11
views
The key was not found in the key ring
I have a netcoreapp3.1 application deployed to on-prem IIS instances using the .NET Core Hosting Bundle. Because the app is deployed to 2 load balanced servers we are using Data Protection Key ...
0
votes
0
answers
16
views
AppCmd.exe: How to clear the Allowed sever allowedServerVariables
I am trying to delete/ clear the Allowed server variable of specific site using Appcmd.exe. I have already using App.exe set config comments for creating server variable for specific site, which works ...
0
votes
1
answer
54
views
Can I use AAD Managed Identities for IIS Application pool identities on Azure?
I am hosting IIS on Azure Windows VM and need to configure Service account for IIS Application pool identity. What approach can I use for this? Is it possible to use AAD Managed identity or service ...
0
votes
1
answer
46
views
How to create IIS site with URL rewrite in C++?
I am currently creating IIS site using c++, with below code. I would like to set the server variables and Rewrite URL for this site. Can anyone help me to do this? Thanks in advance.
// IADs and ...
0
votes
0
answers
47
views
Net 6 showing 500.19 error reading the wrong web.config
I deployed a brand new site on IIS. It is in .Net 6. I am getting a 500.19 error that it cannot read the configuration file due to insufficient permissions.
\\?\D\Sites\SiteDirectory\wwwroot\web....
0
votes
1
answer
133
views
ASP Net "The underlying connection was closed: An unexpected error occurred on a send."
Faced with a very strange problem.
The program on the production server sends a get request to googleapis.
I get the error "The underlying connection was closed: An unexpected error occurred on a ...
0
votes
0
answers
15
views
New IIS Server redirecting to old server
I have been tasked with re-homing sites off of our old Server 2008 host. I have sucessfully migrated all the sites but one.
we use a DNS Alias that points to the correct server so users are not ...
0
votes
0
answers
41
views
Internal server error 500 while using application
Please find below event viewer log,can anyone help me why am getting this error(sometimes)
Environment details:
Django framework
IIS application
Python 3/7
Faulting application name: python.exe, ...
0
votes
0
answers
21
views
Website Publishing problem through IIS Server, Shows Triangular bracket and percential sign
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DashBoard.aspx.cs" Inherits="RaptiWebAtlas.Dashboard" EnableEventValidation="false" ...
0
votes
0
answers
14
views
Adding Yoast SEO to ProjectNami
Has anyone attempted to install Yoast SEO on a Projectnami fork of WordPress? Did it succeed for you?
Our problem: it's creating a table but not creating all of the columns. When a SQL INSERT ...
0
votes
0
answers
77
views
IIS hosted page returns HTTP Error 404 when accessed
I have copied a running site to my local machine, and set it up with IIS.
For some reason when I try to access the site have setup in IIS I get an
Not Found
HTTP Error 404. The requested resource is ...
1
vote
1
answer
53
views
using the iis authentication element
I am trying out IIS authentication.
I stared by trying to deny access from all users to the Default Web Site.
appcmd set config "Default Web Site" /commit:apphost /section:system....
0
votes
0
answers
55
views
Sharepoint login via apppool user in .Net application
I am using .net for my web application, and by hardcode username password. Sharepoint site is easily accessible.
But now i want to make some changes in application so need to login into sharepoint ...
0
votes
1
answer
52
views
Load Runner => Action.c(1279): Error -26630: HTTP Status-Code=401 (Unauthorized) IIS
I'm recieving this error from load runner
Action.c(1279): Error -26630: HTTP Status-Code=401 (Unauthorized) for
xxxxxxxx
even i used browser in same time of using the tool i recieves 401 error code
...
0
votes
0
answers
31
views
Get IIS Sites data using loop
I have been trying to automate the process of migrating the IIS sites. But I am not able to loop through the sites using batch script.
I want to loop through the output of the list sites command and ...
0
votes
1
answer
50
views
Why IIS web site not working when adding Site name
I created an Asp.net website with the 4.5 framework, it works fine in Visual studio with sitename (http://localhost:8080/Mywebsite/Default.aspx) but it is not at the IIS level after deployment.
This ...
0
votes
0
answers
65
views
Enable HTTPS in IIS to access WEB API methods in Client Side
We have developed an WEB API application by enabling HTTPS requests and deployed the same in a different machine in IIS. But when we try to call the WEB API methods in our MVC application we're ...
0
votes
0
answers
54
views
enabling caching of js/css files with nodejs/iis7 reverse proxy
I have a nodejs backend, site served through iis7 via reverse proxy as per this website: https://alex.domenici.net/archive/deploying-a-node-js-application-on-windows-iis-using-a-reverse-proxy. In the ...
0
votes
0
answers
22
views
IIS rewrite doubling the domain
Can someone explain to me why this IIS redirect rule in the root directory of a IIS site for the following URL: http://my.domain.com/hello.aspx redirects to http://my.domain.com/my.domain.com/hello....
0
votes
0
answers
16
views
How to solve access restriction error in IIS
When I setup the website in IIS 7, iam not able to acces the website and I get access restriction which states that you are not authorised for access to the requested page.
I tried all possibilities ...
0
votes
0
answers
76
views
an unhandled exception occurred in w3wp.exe windwos server 2013 iis
This problem appears with me on the client's server when I run my site and it appears on a daily basis, but at different periods
I'm tired of searching for a solution and haven't found a solution yet
...
0
votes
0
answers
99
views
VBCSCompiler starts after each request for ASP.NET app
I have two identical asp.net webforms applications deployed on IIS. One is extremely slow and I found out that reason is, that vbcscompiler runs after each request.
Temporary solution was remove this ...
0
votes
1
answer
129
views
Exception thrown: 'System.IO.InvalidDataException' in System.Private.CoreLib.dll on large file upload ASP.Net core
I'm trying to upload a folder of size 543 MB using IIS express server and ASP.NET core backend. The upload is initiated by an ajax call. If I split the folder into 100 MB chunks and upload these 100 ...
0
votes
0
answers
61
views
IIS CGI Application fails with "Failed to load resource" error 405 on Windows Server 2019
I have a web application running on Windows Server 2012 and I'm trying to migrate to Windows Server 2019. The web application has a C++ MFC application backend yes, it is a legacy application :-( and ...
0
votes
1
answer
168
views
ASP.net MVC Application having Nonce Problem in Subdirectory hosting in IIS
ASP.net MVC Application having Nonce Problem in Subdirectory hosting in IIS. I have a project in asp.net MVC and I wanted to add Azure Active Directory Login in this.
This is working well in localhost ...
0
votes
0
answers
18
views
Deeper IIS performance investigation
We have an API management platform which directs requests to a Web API hosted under IIS. The management platform is timing requests out at 30 seconds. While the IIS logs are showing that some requests ...
0
votes
1
answer
60
views
Connecting an Access database to a SQL Server back end outside of an intranet
I have linked a MSAccess database to SQL Server via an Intranet on many occasions.
Is it possible to link a MSAccess database to a SQL Server outside of an Intranet? In other words, can I have a ...
1
vote
0
answers
24
views
asp.net page render trouble after upgrade iis from 7 to 10
I have a website at IIS 7 in windows server 2008. After upgrade OS to windows 2019, IIS auto upgrade to version 10. All pages function are fine, but only get a blank line after form element. Is there ...
0
votes
0
answers
93
views
Changed www to subdomain, CodeIgniter function is still sending to www, gets 302 moved error
We recently got new website, but we have to keep some functionality on the old site. One of the functions is still reverting back to the www.domain.com instead of portal.domain.com. Everything other ...
1
vote
1
answer
42
views
using anonymousAuthentication for Windows AD users
anonymousAuthenticaion has a username, which defaults to local user IUSR, and a password.
If I understand the docs correctly, the password can by arbitrary. To authenticate with the website, you ...
0
votes
1
answer
89
views
problems with node js https on windows server
I'm trying to set up a node js application on windows server 2019 with iss7.
Server setting
That's the HTTPS express server setting on node js. When I'm browsing my webpage, there is an error message ...
0
votes
1
answer
104
views
Default Document not appending query string properly
I want to be able to append query string on the default document and re-direct with the query string (append).
www.example.com/?test=1 [FAILS]
it takes me to a 404 page not found. Now the issue is ...
0
votes
1
answer
38
views
URL rewrite of an multitenant application using IIS
For a multitenant application, I want to redirect URL with www to non-www URL from the URL rewrite feature.
I added several rules to the web.config file as follows.
<rule name="Redirect to ...
0
votes
0
answers
21
views
Can I get access to raw SAML envelope if I'm using Shibboleth on IIS7?
I have IIS7 with Shibboleth installed to enable SSO. In my ASP.Net application I would like to validate that the SAML envelope contains exactly one Assertion element. Is there a way to access the ...
0
votes
1
answer
53
views
Unable to set Forms authentication to 'Enabled' for a web application under website in IIS through powershell
I am trying to enable the forms authentication for a web application under the website in IIS. Following is the code I used for the same.
Code:
Write-Host "Setting App Form AuthMode for $($IISApp)...
-1
votes
1
answer
392
views
Answer only on port 443 (HTTPS)
I have adjusted IIS to only bind to port 443. Yet when I go to HTTP (port 80) I get a 404 error which must be being returned by IIS. I expected "site cannot be reached". How do I ...
0
votes
1
answer
164
views
IIS 404 detailed error visible. Server files directory is exposed
I have an Angular application hosted on IIS. In my application there is a custom 404 error page for incorrect urls. However, whenever a js file is requested from the url https://mywebsite.com/assets/...
1
vote
2
answers
144
views
what are all the locations in which connectionStrings can be defined for an iis site?
I'm trying to find all the locations in which a connectionString can be defined for an iis site (to write a script to extract them all).
I know it can be part of a web.config. I would like to have a ...
0
votes
0
answers
109
views
RTCMulticonnection - OnStream method not called in Prod server
I have Reactjs application in which I have a video call concept. I have used RTCMultiConnection package to achieve video call.
Peer server is connected and the video call works well in localhost.
But ...
0
votes
2
answers
214
views
I can host .net core 5 web application on IIS but not web api
I get 404 error when I host .Net Core 5 Web API on IIS.
I can host Web Application with no issues, though.
Any idea why?
0
votes
0
answers
546
views
IIS: failed to resource: net:: err_http2_protocol_error when loading JS files
Some of the users on our website hosted on IIS7 intermittently encounter net::err_http2_protocol_error on some JS files on the initial loading of the website.
When they try to right-click the ...
0
votes
1
answer
237
views
Remove Ip From Ip and domain restriction through powershell on iis
How to remove ip and domain restrictions with powershell? I tried many references solution but i still cannot solve its. please help me,
References 1
Remove Ip From Ip and domain restriction through ...
0
votes
0
answers
122
views
Redirection to .aspx external link url with form POST, from Angular 8/10 not working in iPhone(Safari browsers)
Dears,
My problem statement is that-"
I'. trying to perform FORM SUBMIT from Angular 10 application, to an external ".aspx" endpoint.
Everything is working fine in all browsers ...
0
votes
0
answers
15
views
Ajax Load More on IIS7
Ajax Load More works just fine in my local development environment ... but as soon as I push it to the live server (which is running on top of IIS7) the posts wont load.
There aren't any errors in the ...
0
votes
2
answers
350
views
IIS ARR Multiple ports
I'm having a hard time configuring the balance in IIS via ARR with multiple ports.
The difficulty is in working with different doors than the 80 and 443.
On the same server I have applications on port ...
0
votes
0
answers
66
views
Block direct access of image folder from browser Microsoft IIS
I need to block direct access on the image director when the user tries to access the image. My URL: http://sub.domain.com/app/img/someimg.png. But need permission for my application to load this ...
1
vote
0
answers
72
views
How to prevent from 'is not a valid virtual path.' issue?
In the local project, we have coded like below which is working properly without any issue.
string sysAccFilePath = "/Images/SysAccs/" + objEquipRecord.EquipID + "/";
string ...
0
votes
1
answer
134
views
IIS URL Rewrite negation conditions set server variables
I'm trying to modify an long existing IIS Rewrite rule that adds a HTTPS Server Variable. It's causing me some problems when accessing an existing API from inside the load balancer on a virtual ...
0
votes
1
answer
28
views
Website is not loading styles and files because is loading a different path
I just published my web app which has the following structure:
Project Name
StylesFolder
filename.css
anotherfile.css
JavaScriptFolder
bootstrap.js
Index.html
What I did was:
Adding a new ...