[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Microsoft IIS Web Server

35K

Solutions

29K

Contributors

IIS is Internet Information Services, the web server included with Windows Server operating systems. All current versions are built on a modular architecture; modules can be added or removed individually so that those required for specific functionality are installed. The full installation of IIS includes HTTP, security, content, compression, caching, logging and diagnostics.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello,

I am running IIS 10 on Windows Server 2016.  I created a custom 404 error page called 404.asp and placed it in the root folder of the website.  This is my web.config file:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <staticContent>
            <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="14.00:00:00" />
        </staticContent>
        <httpErrors>
            <remove statusCode="404" subStatusCode="-1" />
            <error statusCode="404" prefixLanguageFilePath="" path="/404.asp" responseMode="ExecuteURL" />
        </httpErrors>
    <rewrite>
      <rules>
        <rule name="HTTP to HTTPS redirect" stopProcessing="true">
          <match url="(.*)" />
          <conditions>
            <add input="{HTTPS}" pattern="off" ignoreCase="true" />
          </conditions>
          <action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}" />
        </rule>
      </rules>
    </rewrite>
    </system.webServer>
</configuration>


I thought that this was the correct way to implement the custom error page but the website just goes to the standard 404 error for IIS.  Any help diagnosing this would be greatly appreciated.  Thank you.
0
Protecting & Securing Your Critical Data
LVL 1
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

Hi,

What is the best practice to allow a User to  log into Sharepoint Sites only through a specific IP Address? For example, the office IP address is 999.999.1.0 . I want to allow users to only  be able to log into SharePoint sites  then there IP address is 999.999.1.0 and not from home.


Thank you.
0
Hi folks, how do I get IIS web server up & serving a page quickly. I just need it to serve up a 'restricted content' warning page for my domain users when they try to access YouTube which I have redirected to my internal IIS server using DNS. Unfortunately to do so seems to require a PhD in SSL certificates. Seems way too complicated for the benefits. Can I just disable HTTPS functionality on the IIS server or should I persevere to enable it - I'm guessing this requires the certificate from the IIS server to be installed on all domain machines via group policy?
Currently all machines are able to get through to the IIS server, but not without a 'your connection is not private' warning like the one here - https://goo.gl/images/7y8vB6
Thanks in advance.
0
I have a few websites running on IIS on a windows server and I want to monitor which websites are using the most RAM, processor and most importantly rendering the largest page sizes.

Does anyone use any good software they install on windows that will monitor IIS and give good figures on app performance and load
0
Hi,

I noticed in the event logs on one of our Exchange 2010 servers that that we were getting an error for Event ID: 17. I checked on google but I haven't really found a solution to the problem not sure if anybody has any ideas. This is a new Exchange 2010 server it's been running for about 2 weeks now. I've included a screenshot

Solution 1

Solution 2
Exchange1.jpg
0
Problem with FTP user isolation in IIS 8.  Users logging into server are going into the localuser folder instead of their own folder.
We are only using this IIS server for FTP. I have created local user accounts with passwords on the server and created folders under the Localuser directory with the same name as the local user account. I gave full control permissions to the user account on that folder.
However, when a user logged in, he went in at the localuser level and did not see any of the other directories, including the folder on his own name.  Any help is greatly appreciated.
Windows Server 2012 R2 Standard with IIS8.
0
I'm migrating 3 sites from Server 2003 iis6 to 2008 r2 iis7.5 using MS deploy 3.5 via the packaging method.

The sites on the source server are located on the E;: yet the destination server only has a C:

Will using the below command work? I have done a whatif and can see the following lines which to me indicates there maybe issues as E: is referenced or is that reference purely to the location of the site on the source?:

If my commands won't work, what do I need to do to make the sites go to C:\inetpub\wwwroot on the destination server?

Package creation: C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -verb:sync -source:metakey
=lm/w3svc/[SITEID] -dest:package=e:\temp\[SITEID].zip > e:\temp\WebDeplo
yPackage.log

Package Import: C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -verb:sync -source:package=c:\temp\[SITEID].zip -dest:metakey=lm/w3svc/[SITEID]  > c:\temp\WebDeploySync.log

Sample entries from log file:
Info: Adding MSDeploy.metaKey (MSDeploy.metaKey).
Info: Adding metaKey (/lm/w3svc/[SITEID]).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/ServerComment).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/ServerAutoStart).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/LogPluginClsid).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/ServerBindings).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/filters).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/root).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/root/Path).
Info: Adding …
0
Our third-party web developer just changed the website so it now redirects from www.domain.com to  https:\\domain.com without the www. After this change, no one on the LAN can access our website anymore, because “domain.com” points to an internal IP address. Previously everyone could get to the website because www points to the outside public IP address of our website. Now that the www is dropped that no longer works. We can change DNS to a public site (8.8.8.8) and can of course then get website access, but then Outlook disconnects from our on premise Exchange server. Please help. We have numerous portable laptops, so the solution needs to work both inside and outside LAN.
0
Need help with IIS coding.

Trying to use Mix of Forms Authentication & Windows Authentication  (Long Story Short... No Previous IIS experience since Dev Gone...)

Web.Config
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Note: As an alternative to hand editing this file you can use the
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in
    machine.config.comments usually located in
    \Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
  <!-- Admin Defined settings -->
  <appSettings>
    <!-- PasswordChangeEnabled: Provides password change page for users. Value must be "true" or "false" -->
    <add key="PasswordChangeEnabled" value="true" />
      
    <!-- LocalHelp: Displays local help for users, instead of the web-based help. Value must be "true" or "false" -->
    <add key="LocalHelp" value="false" />

    <!-- ShowDesktops: Displays or hides the Remote Desktops tab. Value must be "true" or "false" -->
    <add key="ShowDesktops" value="true" />

    <!-- DefaultTSGateway: Admin can preset this to a given Gateway name, or set to "" for no gateway. -->
    <add key="DefaultTSGateway" value="mycloud.bethanna.org" />

    <!-- GatewayCredentialsSource: TS Gateway Authentication Type.
         Admins can preset this.
         0 = User Password
         1 = Smartcard
         4 = "Ask me later"
    -->
    <add 

Open in new window

0
System Center 2016 giving error SyncInvoke--------- Failed with system.invalidoperationexception: TImeout expired. The timeout period elapsed prior to obtaining a connection from the pool. this may have occurred because all pooled connection were in use and max pool size was reached.

This error is happening in many of the method which we didnt make any changes. approx 20-25 of the, may be more.

Normally we can login without issue after app pool reset, however once it gives the above error in the system center even the default page of the webserver shows blank page, then after sometime when we just refresh the default page would be displayed.

This code has been running for more than 2 years and we didnt have any problem , recently we did the deployment and the problem started. The website works for sometime but after say 20 minutes, it starts giving the above timeout issue and sometime even the default page does not show up and then later when we just refresh the default page will display.

Number of users that can cause this is even 15 users , earliernormal traffic is about 300 users at a time, the issue can happen even when 5 users are present.

DB SQL Server : There are around 150-250 sleeping connection most  of the time with the text "Text" only,  it reduces automatically.

The layout is as follows:

Client are redirected through load balancer on any of the following, web server are connected to app directly and APP is connected to SQLDB

External …
0
C++ 11 Fundamentals
LVL 12
C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

I have a silverlight app hosted on windows 7 and IIS, it works fine

I'm trying to move to a different box (windows 10) and its not working
I've run fiddler tool and can see the SVC binary requests are not found (404)
As this is a direct copy of the published code, I assume its setup related
If i run the project through visual studio it works fine, but in IIS does not

Here is an example of the url that isn't found on the new box:
http://localhost/MasterUI/ClientBin/MasterUI-Web-GuiViews.svc/binary/GetV_gui_TempAlarmGraph_by_Site?site=0001&ent=FFFFFFFF
The above gives a 404 in fiddler

The previous request to the XAP file works and does NOT 404
http://localhost/MasterUI/ClientBin/MasterUI.xap

I've tried to duplicate the IIS setup as much as possible, but for some reason it isn't working

My solution consists of 2 projects
MasterUI (silverlight stuff here)
MasterUI.Web (this is the non silverlight app - .aspx files)


The windows 10 box is a fresh install, so perhaps i'm missing some components, but as its working in visual studio on this windows 10 box, I assume it's IIS setup related?
0
Need to Migrate IIS7 (2008 R2) websites to IIS 10 (2016). Is there a free tool to do this?

Anyone tried this - https://www.assistanz.com/steps-to-migrate-the-websites-from-iis-7-5-to-iis-10/ 

Thanks
0
Dear Experts, I'm testing the Sharepoint 2016 on-premises, I tried to share the document like these screenshots but the user who was shared COULD NOT receive any notification email of this sharing. I was loggin as Sharepoint Admin and it has functional mailboxa account. How can  we fix it?

sp1.png
sp2.PNG
I also CANNOT share it with external user???

sp4.PNG
One more thing, I'd like to redirect the http: site to https: site in Sharepoint but I could not configure it. I tried 2 methods but they both did not work!

1. Add both http and https links in default zone of mapping site

2. Add redirect http in IIS management


 sp3.PNG
0
inetpub logfiles folder has a large folder in it - I am getting 233MB log files almost every day... seems to be mostly the same thing over and over.  I have no idea what this is.  Can someone point me in the right direction?

2018-08-04 00:00:00 fe80::567:2506:6691:f65d%17 POST /ApiRemoting30/WebService.asmx - 8530 oac\OAC2$ fe80::567:2506:6691:f65d%17 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8762) 200 0 0 0
2018-08-04 00:00:00 fe80::567:2506:6691:f65d%17 POST /ApiRemoting30/WebService.asmx - 8530 oac\OAC2$ fe80::567:2506:6691:f65d%17 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8762) 200 0 0 0
2018-08-04 00:00:00 fe80::567:2506:6691:f65d%17 POST /ApiRemoting30/WebService.asmx - 8530 oac\OAC2$ fe80::567:2506:6691:f65d%17 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8762) 200 0 0 15
2018-08-04 00:00:00 fe80::567:2506:6691:f65d%17 POST /ApiRemoting30/WebService.asmx - 8530 oac\OAC2$ fe80::567:2506:6691:f65d%17 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8762) 200 0 0 0
2018-08-04 00:00:00 fe80::567:2506:6691:f65d%17 POST /ApiRemoting30/WebService.asmx - 8530 oac\OAC2$ fe80::567:2506:6691:f65d%17 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8762) 200 0 0 0
2018-08-04 00:00:00 fe80::567:2506:6691:f65d%17 POST /ApiRemoting30/WebService.asmx - 8530 oac\OAC2$ fe80::567:2506:6691:f65d%17 

Open in new window

0
Hello,

I have been trying to upload an excel file to my IIS site but I had this problem first:

The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID 
{00024500-0000-0000-C000-000000000046}
 and APPID 
Unavailable
 to the user IIS APPPOOL\DefaultAppPool SID (S-1-5-82-3006700770-424185619-1745488364-794895919-4004696415) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

Open in new window


I could do a little research and execute the following command:
mmc comexp.msc /32

I was able to add the IIS APPPOOL\DefaultAppPool  user to the DCOM configuration  but now I have another error code:

Failed to connect to server. Error: 0x80070005
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="MsiInstaller" /> 
  <EventID Qualifiers="0">1015</EventID> 
  <Level>3</Level> 
  <Task>0</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2018-09-03T04:49:57.000000000Z" /> 
  <EventRecordID>319105</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>AU3.contoso.com</Computer> 
  <Security UserID="S-1-5-82-3006700770-424185619-1745488364-794895919-4004696415" /> 
  </System>
- <EventData>
  <Data>0x80070005</Data> 
  <Data>(NULL)</Data> 
  <Data>(NULL)</Data> 
  <Data>(NULL)</Data> 
  <Data>(NULL)</Data> 
  <Data>(NULL)</Data> 
  <Data /> 
  </EventData>
  </Event>

Open in new window


Could you help me determine what other procedures I should do?

Thanks!
JN
0
Hello all

Hope everyone is well. I new to this and not a techie so sorry if I'm not putting my questions/problem across fluently.

I have a Azure Virtual Machine which is running two sites in development stages. My private and public IP addresses are static so I can deallocate the VM and keep my IP addresses. As the sites are in development I don't need the VM running all the time so I want it deallocated for most of the day to save on compute time and hence save money. The problem is I need third parties send feeds to an FTP account. So can I have a VM deallocated and still allow third parties to have access to an FTP and how would I have this setup and configured? When you deallocate a VM is the storage account in the same resource group usable? Can I have access to FTP on separate static IP address and store to the storage account?

Sorry if I'm not explaining anything here correctly, please ask me questions if you need.

Thanks
P
0
Hi

I have an IIS 7 server, however suddenly it's not automatically redirecting to the relevant /index.php file in sub directories.

For example, if it is www.example.com/ it should automatically go to www.example.com/index.php

I haven't changed anything and I'm struggling to figure out what the issue is!

Any ideas?
0
Hi,
How to resolve 500 error on web page? I did deploy the web project properly but why did the following error comes out?
30v.png
0
Error when accessing SharePoint externally via Internet Explorer with URL in Local Intranet Zone Internet Explorer

After a migration from SharePoint 2013 to SharePoint 2016, users accessing SharePoint externally using Internet Explorer receive the error;

The connection to the website was reset.
 
Error Code: INET_E_DOWNLOAD_FAILURE

I have isolated it to having the URL “sharepoint.domain.com” added to the “Local Intranet” Zone in Internet Explorer.

Users that are internal/VPN or that are using Chrome, are not impacted.

If I remove our SharePoint from the Local Intranet zone, we lose our Single Sign on and everybody in the agency has the enter their credentials every time to access SharePoint.


I confirmed that we are not having this issue in our 2013 environment.
0
Bootstrap 4: Exploring New Features
LVL 12
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

I have installed IIS 10 on Win 2016 and have done nothing except tried to access the 'Default Web Site'. So if the server is called 'myserver.doamain.org' in any browser I goto 'http://mysever.domain.org' and I would expect to see the IIS standard page. This does not happen.

What does happen is that the page comes up with:
HTTP Error 503. The service is unavailable.

When I look back at the IIS Manager in the 'Application Pools' section I can see that 'DefaultAppPool' has stopped. It seems as soon as I try to access the site the app pool crashes.

Additionally there are no logs produced and errors in the machine's event log. The errors are multiple copies of:
The worker process failed to initialize correctly and therefore could not be started.  The data is the error.
(Soruce: IIS-W3SVC-WP, EventID: 2276)

After some head-scratching and testing I found the problem but I am still unclear as to the cause.

The problem was that in the 'Advanced settings' of the 'DefaultAppPool' the identity is set to 'ApplicationPoolIdentity' but when I change it to 'LocalSystem' and restart the 'DefaultAppPool' pool everything works as expected:
  • In the browser the IIS page show as expected
  • There are no errors in the machine's event log
  • The pool does not crash
  • The logs are being produced in [C:\inetpub\logs\LogFiles\W3SVC1] (and the 'LogFiles' folder was automatically created - which it wasn't before).

NOTE
0
Having a problem with IIS to redirect URL to specific site.

Setup in IIS 8 :
servername:  webserver1
Sites in webserver1:  
* Default Site   :https port 443
* site2  :https port 2222
* site3  :https port 3333

I created A host DNS record named:  site2  that poiting to  webserver1

Problem+want to achieve:

when I type in URL:  https://site2  I want to reach the site2 that on port 2222
The problem is when I type now site2  I reach to the default web site on port 443 ranther than site2.   Of course If I type:  https://site2:2222 everything works fine.

How can I redirect so I'll only have to type  site2  and it will start the site2 over port 2222 ?
Installed URL rewrite and tried multiple pattern but nothing works as it always looks after the '/' not the hostname. should be simple talks

Thanks in Advance.
pic1.jpg
pic2.jpg
0
When I upload an image to the Wordpress media section the permissions for the file uploaded are not propagating correctly.
I am using a temp folder in the website for the upload process and the IIS_Iusrs group is not getting read permission on the image.

the temp folder and the upload folder has the IIS_Iusrs group set to full control but the image uploaded they end with special permissions which indicate that the group can see the file but not read it.

any resized images of the original do get the correct permissions for all groups and users (full control).

I have replaced the permission (resetting inheritance several times) and created a new folder for the image to upload into.
Resetting the permission manually does hold and you can view the image via browser.



I am working on a Wordpress website running under IIS on a windows 2016 server.
0
Is it possible to apply a setting within the web.config which target only a single application with an IIS application? We have an IIS application with 3 websites. Only one website is willing to change their security to HTTPS. Now for adding some more security we want to add some sections to the web.config like:

"<httpCookies httpOnlyCookies="true" requireSSL="true"/>" 

Open in new window


This setting will break the application which do not use a SSL certificate. How can I accomplish that this setting only target a specific site (domain)?
0
Hello,

I have a website in IIS 8.5 and I have 2 domains pointed to the site domain.com and domain.net using the site bindings. Everything was working fine until 2 days ago when the domain.com started to give me Error:

404 - File or directory not found.

The domain.net works perfectly and it is weird because the error just happens on Chrome or Firefox on multiple machines. Edge works fine and also Android devices show the correct page.

I cleaned cookies and cache on both browsers, confirm that IIS has the correct Application pool for .net 2.0 classic mode, that the default document is listed in IIS and nothing works. If I add the default website to web.config the website doesn't load because it is inheriting the default website from parent. What could be the problem? Any help will be appreciate it.

Thanks
0
I've got a website on shared hosting platform that I think go messed up when they updated the .net framework on the server.  I have several sites that are currently not working correctly.  I don't have direct access to the server so that kind of makes it difficult to troubleshoot directly.  So I have to keep emailing their support.

The site I am currently having an issues with is http://www.formulaboatsmo.com, I use a framework from DMXzone.com for my database calls, it uses a combination of javascript and asp.net for the functions.  The site is written in classic asp.  So what started happening is my asp database driven sections aren't working.

I get this error: 006~ASP 0178~Server.CreateObject Access Error~The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

The developer(dmxzone) believes the issue is with the permissions on the System.security.dll should have read/read&execute.

I'm at a loss of what to do or direction to take.  If you load just this page: http://formulaboatsmo.com/dmxConnect/api/Boats/FrontSecondaryRandom.asp it will show you all the errors being kicked up.  Sites worked perfectly until the .net updates.

{"type":"Error","fileName":"lib/core/parser.asp","lineNumber":86,"message":"006~ASP 0178~Server.CreateObject Access Error~The call to Server.CreateObject failed while checking permissions. Access is denied to this 

Open in new window

0

Microsoft IIS Web Server

35K

Solutions

29K

Contributors

IIS is Internet Information Services, the web server included with Windows Server operating systems. All current versions are built on a modular architecture; modules can be added or removed individually so that those required for specific functionality are installed. The full installation of IIS includes HTTP, security, content, compression, caching, logging and diagnostics.