Questions tagged [iis]
Internet Information Services (IIS) is a web server created by Microsoft for use with Microsoft Windows. Please mention which version of IIS you're running either in your question or by adding a version specific tag.
            39,366
            questions
        
        
            2066
            votes
        
        
            35
            answers
        
        
            1.4m
            views
        
    Config Error: This configuration section cannot be used at this path
                I've encountered an error deploying a site to a server.  When trying to load the home page, or access authentication on the new site in IIS, I get the error:
  Config Error: This configuration ...
            
        
       
    
            1176
            votes
        
        
            16
            answers
        
        
            985k
            views
        
    Maximum request length exceeded.
                I am getting the error Maximum request length exceeded when I am trying to upload a video in my site.  
How do I fix this?
            
        
       
    
            867
            votes
        
        
            37
            answers
        
        
            377k
            views
        
    Error - Unable to access the IIS metabase
                After installing Visual Studio 2012 and opening my solution I get a series of errors in this form:
  The Web Application Project Foo is configured to use IIS.
  Unable to access the IIS Metabase. You ...
            
        
       
    
            615
            votes
        
        
            18
            answers
        
        
            1.6m
            views
        
    How to create .pfx file from certificate and private key?
                I need .pfx file to install https on website on IIS.
I have two separate files: certificate (.cer or pem) and private key (.crt) but IIS accepts only .pfx files.
I obviously installed certificate and ...
            
        
       
    
            525
            votes
        
        
            4
            answers
        
        
            321k
            views
        
    What is the difference between 'classic' and 'integrated' pipeline mode in IIS7?
                I was deploying an ASP.NET MVC application last night, and found out that it is less work to deploy with IIS7 set to integrated mode. My question is what is the difference? And what are the ...
            
        
       
    
            477
            votes
        
        
            39
            answers
        
        
            1.1m
            views
        
    HTTP Error 503, the service is unavailable
                I'm really new to setting up web servers in general. I've got IIS 8 on Windows 8, and I'm trying to set up a little site locally, while doing some development. In IIS I choose Add Site, give a name, ...
            
        
       
    
            443
            votes
        
        
            37
            answers
        
        
            672k
            views
        
    Port 80 is being used by SYSTEM (PID 4), what is that?
                I am trying to use port 80 for my application server, but when I perform netstat -aon I get:
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4
When I look up the process in task manager, it shows PID 4 is SYSTEM,...
            
        
       
    
            435
            votes
        
        
            14
            answers
        
        
            498k
            views
        
    An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode
                I installed DotNetOpenAuth SDK-3.4.5.10201.vsix, and I can't get it working. It works locally (when I run as localhost), but when I try to publish it doesn't work.
The IIS error message I get is:
...
            
        
       
    
            433
            votes
        
        
            11
            answers
        
        
            810k
            views
        
    IIS Manager in Windows 10
                How do you open IIS (Internet Information Services) Manager using Windows 10?
I have installed the developer preview of Windows 10 and can't seem to find IIS Manager?  It is not in Control Panel > ...
            
        
       
    
            391
            votes
        
        
            14
            answers
        
        
            353k
            views
        
    Where does Console.WriteLine go in ASP.NET?
                In a J2EE application (like one running in WebSphere), when I use System.out.println(), my text goes to standard out, which is mapped to a file by the WebSphere admin console.
In an ASP.NET ...
            
        
       
    
            389
            votes
        
        
            11
            answers
        
        
            720k
            views
        
    IIS: Where can I find the IIS logs?
                I'm trying to set up an application from a third party, which requires a supporting website hosted in my local IIS. I've created a website exactly as explained in their install guide, but am having ...
            
        
       
    
            357
            votes
        
        
            54
            answers
        
        
            594k
            views
        
    Unable to launch the IIS Express Web server
                I have an ASP.NET MVC 4 solution. When I try to open it using Visual Studio 2012, I get following error:
Microsoft Visual Studio
Configuring Web https://localhost: for ASP.NET 4.5 failed. You must
...
            
        
       
    
            353
            votes
        
        
            4
            answers
        
        
            72k
            views
        
    How to explain Katana and OWIN in simple words and uses?
                I have read many articles about the OWIN and Katana projects, but I could not get the whole picture of it. 
For a normal web developer who uses ASP.NET:
What exactly is OWIN and what problems does ...
            
        
       
    
            343
            votes
        
        
            50
            answers
        
        
            431k
            views
        
    The breakpoint will not currently be hit. No symbols have been loaded for this document in a Silverlight application [duplicate]
                Ok, what I have: 
Visual Studio 2010 RC, W7 x64, started a new project type of Silverlight application. Hosting the Silverlight application in a ASP.NET Web Application Project. Silverlight Version 3....
            
        
       
    
            342
            votes
        
        
            28
            answers
        
        
            311k
            views
        
    ASP.NET MVC on IIS 7.5 - Error 403.14 Forbidden
                I'm running Windows 7 Ultimate (64 bit) using Visual Studio 2010 RC. I recently decided to have VS run/debug my apps on IIS rather than the dev server that comes with it.
However, every time I try to ...
            
        
       
    
            340
            votes
        
        
            27
            answers
        
        
            388k
            views
        
    How can I get my webapp's base URL in ASP.NET MVC?
                How can I quickly determine what the root URL is for my ASP.NET MVC application?  I.e., if IIS is set to serve my application at http://example.com/foo/bar, then I'd like to be able to get that URL in ...
            
        
       
    
            329
            votes
        
        
            29
            answers
        
        
            259k
            views
        
    The Web Application Project [...] is configured to use IIS. The Web server [...] could not be found.
                I have a web project in my solution file that is "unavailable" when I open the solution. When I right-click on the web project and reload the project, I get the following error:
The Web Application ...
            
        
       
    
            326
            votes
        
        
            16
            answers
        
        
            191k
            views
        
    Using Custom Domains With IIS Express
                Traditionally I use custom domains with my localhost development server. Something along the lines of:
dev.example.com
dev.api.example.com
This has provided me a ton of flexibility when working with ...
            
        
       
    
            324
            votes
        
        
            1
            answer
        
        
            258k
            views
        
    What are all the user accounts for IIS/ASP.NET and how do they differ?
                Under Windows Server 2008 with ASP.NET 4.0 installed there is a whole slew of related user accounts, and I can't understand which one is which, how to they differ, and which one is REALLY the one that ...
            
        
       
    
            321
            votes
        
        
            18
            answers
        
        
            112k
            views
        
    Dots in URL causes 404 with ASP.NET mvc and IIS
                I have a project that requires my URLs have dots in the path. For example I may have a URL such as www.example.com/people/michael.phelps
URLs with the dot generate a 404. My routing is fine. If I ...
            
        
       
    
            314
            votes
        
        
            20
            answers
        
        
            549k
            views
        
    "The page you are requesting cannot be served because of the extension configuration." error message
                I'm getting this error message when trying to run my application. I don't know how to fix it:
  HTTP Error 404.3 - Not Found The page
  you are requesting cannot be served
  because of the extension
 ...
            
        
       
    
            301
            votes
        
        
            12
            answers
        
        
            140k
            views
        
    Session lock causes ASP.Net websites to be slow
                I just discovered that every request in an ASP.Net web application gets a Session lock at the beginning of a request, and then releases it at the end of the request!
In case the implications of this ...
            
        
       
    
            288
            votes
        
        
            15
            answers
        
        
            328k
            views
        
    What is an IIS application pool?
                What exactly is an application pool?  What is its purpose?
            
        
       
    
            284
            votes
        
        
            22
            answers
        
        
            316k
            views
        
    Handler "ExtensionlessUrlHandler-Integrated-4.0" has a bad module "ManagedPipelineHandler" in its module list
                To be honest, I've tried to turn a dirty trick on IIS and just when I thought that I was going to get away with it, I realized my workaround doesn't work. Here's what I've tried to do:
1) I have ASP....
            
        
       
    
            278
            votes
        
        
            21
            answers
        
        
            419k
            views
        
    How to get the current user in ASP.NET MVC
                In a forms model, I used to get the current logged-in user by:
Page.CurrentUser
How do I get the current user inside a controller class in ASP.NET MVC?
            
        
       
    
            273
            votes
        
        
            20
            answers
        
        
            453k
            views
        
    HTTP Error 500.19 and error code : 0x80070021
                I have a simple webAPI build by Visual Studio 2013. It works well when I run it from VS13 but when I copy the project in local IIS it gives me the following error.
HTTP Error 500.19 - Internal Server ...
            
        
       
    
            272
            votes
        
        
            5
            answers
        
        
            72k
            views
        
    When should I use OWIN Katana?
                I am new to OWIN and Katana. I really don't get why I should use OWIN, while I can use IIS. To simplify, my question is: What do I lose if I skip learning OWIN and use IIS for my websites?
I googled ...
            
        
       
    
            260
            votes
        
        
            12
            answers
        
        
            203k
            views
        
    Specified argument was out of the range of valid values. Parameter name: site
                I am getting this Kind of Error like::
  Specified argument was out of the range of valid values.Parameter name: site
while Debugging any of my Project.
I have also tried after Reinstalling My ...
            
        
       
    
            254
            votes
        
        
            10
            answers
        
        
            319k
            views
        
    How to force HTTPS using a web.config file
                I have searched around Google and StackOverflow trying to find a solution to this, but they all seem to relate to ASP.NET etc.
I usually run Linux on my servers but for this one client I am using ...
            
        
       
    
            253
            votes
        
        
            4
            answers
        
        
            77k
            views
        
    What is Kestrel (vs IIS / Express)
                What is the kestrel web server and how does it relate to IIS / IIS Express?
I come from developing apps on IIS Express and hosting them on an IIS web server. With ASP.NET Core I have a dependency on ...
            
        
       
    
            245
            votes
        
        
            31
            answers
        
        
            1.0m
            views
        
    How do I resolve "HTTP Error 500.19 - Internal Server Error" on IIS7.0 [closed]
                What causes this error, how can I fix it?
  Detailed Error Information
  Module IIS Web Core
  Notification BeginRequest
  Handler Not yet determined
  Error Code 0x8007052e
  Config Error Can not ...
            
        
       
    
            239
            votes
        
        
            16
            answers
        
        
            216k
            views
        
    Best way to run scheduled tasks [closed]
                Today we have built a console application for running the scheduled tasks for our ASP.NET website. But I think this approach is a bit error prone and difficult to maintain. How do you execute your ...
            
        
       
    
            230
            votes
        
        
            22
            answers
        
        
            654k
            views
        
    Deploying website: 500 - Internal server error
                I am trying to deploy an ASP.NET application. I have deployed the site to IIS, but when visiting it with the browser, it shows me this:
Server Error
500 - Internal server error.
There is a problem ...
            
        
       
    
            230
            votes
        
        
            10
            answers
        
        
            164k
            views
        
    Enable IIS7 gzip
                How can I enable IIS7 to gzip static files like js and css and how can I test if IIS7 is really gziping them before sending to the client?
            
        
       
    
            220
            votes
        
        
            19
            answers
        
        
            111k
            views
        
    How do I improve ASP.NET MVC application performance?
                How do you improve your ASP.NET MVC application performance?
            
        
       
    
            218
            votes
        
        
            17
            answers
        
        
            212k
            views
        
    Publish to IIS, setting Environment Variable
                Reading these two questions/answers I was able to run an Asp.net 5 app on IIS 8.5 server.
Asp.net vNext early beta publish to IIS in windows server
How to configure an MVC6 app to work on IIS?
The ...
            
        
       
    
            218
            votes
        
        
            14
            answers
        
        
            391k
            views
        
    How can I create a self-signed cert for localhost?
                I've gone through the steps detailed in How do you use https / SSL on localhost? but this sets up a self-signed cert for my machine name, and when browsing it via https://localhost I receive the IE ...
            
        
       
    
            210
            votes
        
        
            30
            answers
        
        
            373k
            views
        
    HTTP Error 503. The service is unavailable. App pool stops on accessing website
                There are number of posts on this and I have tried many a things by now. But to no avail. Myself a Winforms Developer basically, started working on this Web stuff few days back as my company is taking ...
            
        
       
    
            210
            votes
        
        
            27
            answers
        
        
            691k
            views
        
    Access to the path is denied when saving image
                I'm trying to save an image to a folder in .NET C# but I get this exception:
Access to the path 'C:\inetpub\wwwroot\mysite\images\savehere' is denied.The error occured at mscorlib because    at System....
            
        
       
    
            206
            votes
        
        
            3
            answers
        
        
            359k
            views
        
    How to set .net Framework 4.5 version in IIS 7 application pool
                I installed the Visual Studio 11 Beta and suddenly all the async action methods I had created under the VS 11 Developer preview started hanging (apparently this issue: http://blogs.msdn.com/b/pfxteam/...
            
        
       
    
            205
            votes
        
        
            6
            answers
        
        
            150k
            views
        
    Cannot serve WCF services in IIS on Windows 8
                When I try to serve a WCF service on IIS in a Windows 8 machine, I get the well known error
  The page you are requesting cannot be served because of the extension configuration. If the page is a ...
            
        
       
    
            201
            votes
        
        
            25
            answers
        
        
            769k
            views
        
    HTTP Error 403.14 - Forbidden - The Web server is configured to not list the contents of this directory
                I just created a new empty website in Visual Studio 2012 and clicked on run (i.e view in browser) and I get this error:
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the ...
            
        
       
    
            199
            votes
        
        
            13
            answers
        
        
            218k
            views
        
    Asp.net 4.0 has not been registered
                When I try to open my Visual Studio project I get the following error:
  Asp.Net has not been registered on the webserver you need to manually configure your webserver for Asp.net 4.0.
Update:
...
            
        
       
    
            196
            votes
        
        
            5
            answers
        
        
            449k
            views
        
    How to add ASP.NET 4.0 as Application Pool on IIS 7, Windows 7
                Configuring servers is not my strong suit by any means.
I'm trying to move a development project to Windows 7.
One of the things that I need to run the application is to select ASP.NET v4.0 as the ...
            
        
       
    
            182
            votes
        
        
            8
            answers
        
        
            561k
            views
        
    How to increase request timeout in IIS?
                How to increase request timeout in IIS 7.0? The same is done under application tab in ASP configuration settngs in IIS 6.0. I am not able to find the asp.net configuration section in IIS 7.0
            
        
       
    
            180
            votes
        
        
            6
            answers
        
        
            540k
            views
        
    IIS_IUSRS and IUSR permissions in IIS8
                I've just moved away from IIS6 on Win2003 to IIS8 on Win2012 for hosting ASP.NET applications.
Within one particular folder in my application I need to Create & Delete files.  After copying the ...
            
        
       
    
            179
            votes
        
        
            21
            answers
        
        
            209k
            views
        
    How to solve error message: "Failed to map the path '/'."
                I've searched and searched on Google, and I can't find anything that even seems applicable to my situation, let alone solves the problem. It doesn't matter which address in my website I try to ...
            
        
       
    
            172
            votes
        
        
            23
            answers
        
        
            281k
            views
        
    ASP.NET: HTTP Error 500.19 – Internal Server Error 0x8007000d
                I am replicating web application deployment and found several issues related to HTTP Error 500.19. My machine is running Windows 7 while the working development is using Windows 8. We're developing ...
            
        
       
    
            166
            votes
        
        
            11
            answers
        
        
            39k
            views
        
    Turn off Visual Studio Attach security warning when debugging IIS
                When using Visual Studio 2008 or 2010, every time you attach to IIS w3wp.exe you get the Attach Security Warning:
How do you turn this of?
It would be cool to know also, how to keep it attached for ...
            
        
       
    
            165
            votes
        
        
            5
            answers
        
        
            74k
            views
        
    How to find corresponding log files folder for a web site?
                There are multiple web sites and multiple folders under inetpub\logs\LogFiles (W3SVC1, W3SVC2, etc). How can I find what folder is used by a given web site?