tagged [iis]

Turn off Visual Studio Attach security warning when debugging IIS

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: [](https://i.stack.i...

Where is the IIS Express configuration / metabase file found?

Where is the IIS Express configuration / metabase file found? Where can the IIS Express configuration / metabase file be found?

8 Jul at 10:7

What is w3wp.exe?

What is w3wp.exe? I have a `WCF` service running under a service user on my local system. Every time I try to debug it is giving me a message `Attach Security warning`. In Visual Studio, by default (e...

14 Jul at 02:58

List all websites in IIS c#

List all websites in IIS c# Is there a way to list all active websites that exist within IIS using c#? Thanks Sp

4 Jan at 12:10

IIS 6 executing html as aspx

IIS 6 executing html as aspx Hi is there a way to configure IIS6 to execute .html extensions as if they were .aspx?

31 Jan at 21:32

ServiceStack Razor Engine not rendering Layout (_Layout.cshtml)

ServiceStack Razor Engine not rendering Layout (_Layout.cshtml) I've been trying to deploy a quite simple website based on ServiceStack with Razor view engine to a newly installed Windows Server 2012 ...

Getting IIS Application filesystem path

Getting IIS Application filesystem path I have IIS 7.0 installed on and there is a .net application with a .svc service there. I would like to point a file in the virtual directory pointed by the appl...

4 Jan at 15:5

Process.Start() under asp.net?

Process.Start() under asp.net? According to [msdn](http://msdn.microsoft.com/en-us/library/0w4h05yb.aspx) : > ASP.NET Web page and server control code executes in the context of the ASP.NET worker pr...

29 Dec at 08:58

How to implement "Access-Control-Allow-Origin" header in asp.net

How to implement "Access-Control-Allow-Origin" header in asp.net Is it possible to implement "Access-Control-Allow-Origin" header in asp.net

29 Jun at 06:33

Maximum request length exceeded.

Maximum request length exceeded. I am getting the error when I am trying to upload a video in my site. How do I fix this?

20 Nov at 17:29

Restarting (Recycling) an Application Pool

Restarting (Recycling) an Application Pool How can I restart(recycle) IIS Application Pool from C# (.net 2)? Appreciate if you post sample code?

How to programmatically get sites list and virtual dirs in IIS 7?

How to programmatically get sites list and virtual dirs in IIS 7? Does anybody know how to programmatically get the sites list and virtual dirs in IIS 7?

31 Mar at 19:18

Is there a way to ignore the maxRequestLength limit of 2GB file uploads?

Is there a way to ignore the maxRequestLength limit of 2GB file uploads? Here's where I'm setting `maxRequestLength` to 2GB (the max value), which indicates the maximum request size supported by ASP.N...

29 Oct at 21:10

Unable to launch the IIS Express Web server

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: > Configuring Web `https://localhost:` for ASP.NET ...

10 Oct at 17:38

Steps to host a WCF service in IIS5.1(XP)

Steps to host a WCF service in IIS5.1(XP) I have developed a sample WCF service. I would like to know the steps to host this in IIS 5.1(XP)

31 Oct at 04:12

Nested ServiceStack Sites & Routes

Nested ServiceStack Sites & Routes I have a large number of services that my team are building and the auto-generated metadata is getting a bit unmanageable. To combat this, I created a project as a n...

20 Aug at 11:7

Auth on servicestack works locally and on iis7 , but fails on iis6

Auth on servicestack works locally and on iis7 , but fails on iis6 I have 1. implemented a basic servicestack-service 2. decorated it with the [Authenticate(ApplyTo.All)] 3. setup the minimum configur...

Get name of virtual directory?

Get name of virtual directory? I'm using Request.ApplicationPath to learn the name of the Virtual Directory in which I'm running. Is there a more reliable way?

30 Jan at 18:43

"405 method not allowed" in IIS7.5 for "PUT" method

"405 method not allowed" in IIS7.5 for "PUT" method I use `WebClient` type to upload *.cab files to my server. On the server side, I registered a HTTP handler for *.cab file with the PUT method as bel...

4 Jun at 15:27

IIS 500.19 with 0x80070005 The requested page cannot be accessed because the related configuration data for the page is invalid error

IIS 500.19 with 0x80070005 The requested page cannot be accessed because the related configuration data for the page is invalid error I want to upload my own asp.net website on IIS with IIS Manager. B...

22 Jun at 12:29

How do I prevent IIS7 from dropping my cookies?

How do I prevent IIS7 from dropping my cookies? I'm using Windows Vista x64 with SP1, and I'm developing an ASP.NET app with IIS7 as the web server. I've got a problem where my cookies aren't "stickin...

6 Jan at 15:16

Get the Application Pool Identity programmatically

Get the Application Pool Identity programmatically How do I get the identity of an appPool programmatically in C#? I want the application pool user and NOT the user who is currently logged in.

Visual studio 2019 “Unable to connect to web server 'IIS Express'”

Visual studio 2019 “Unable to connect to web server 'IIS Express'” I attempt to lunch my ASP.NET Core project in Microsoft Visual Studio 2019 and got this error: "'" - -

Display custom error page when file upload exceeds allowed size in ASP.NET MVC

Display custom error page when file upload exceeds allowed size in ASP.NET MVC My main issue is that I want to display an custom error page when an uploaded file exceeds allowed size (maxRequestLength...

9 Jun at 13:41

Monitor ASP.NET Session State

Monitor ASP.NET Session State Is there any way to monitor asp.net session state in order to watch object size, or is there any other practice to find out a way to lighten asp.net session?

15 Jul at 10:19